The problem is that the request uses CORS. Therefore, you need to explicitly allow access to your custom headers for the recipient. To do this, add a header Access-Control-Expose-Headersto the answer, for example:
Access-Control-Expose-Headers: x-dl-units-left, x-dl-units, [other headers as needed...]
, , . , . API.