1

I have a React JS application where I send a GET request with axios. In the browser, in the Response Headers section, when I send the request I get Content-Disposition: attachment;filename="image123.pdf", but when I try to get this in React, I don't get any field with this name. So when I try to access the response.headers['content-disposition'], I don't get anything.

Is it possible to read this header key using React JS using axios?

LW001
  • 2,217
  • 4
  • 27
  • 34
Asking
  • 1,877
  • 2
  • 13
  • 37
  • Does this answer your question? [Axios get access to response header fields](https://stackoverflow.com/questions/37897523/axios-get-access-to-response-header-fields) – LW001 Sep 13 '21 at 10:11

0 Answers0