Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing response headers in response.headers object #713

Closed
mattdell opened this issue Aug 3, 2015 · 1 comment
Closed

Missing response headers in response.headers object #713

mattdell opened this issue Aug 3, 2015 · 1 comment

Comments

@mattdell
Copy link
Contributor

mattdell commented Aug 3, 2015

Hello,

I have some custom response headers coming back from my request, but superagent seems to ignore them and only picks up "content-type".

Any ideas?

@mattdell mattdell changed the title Not all response headers in response.headers object Missing response headers in response.headers object Aug 3, 2015
@mattdell
Copy link
Contributor Author

mattdell commented Aug 3, 2015

It must be related to this: http://jaketrent.com/post/expose-http-headers-in-cors/

We are using CORS requests so this explains it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants