We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sorry if this has been answered but could not find by searching..
I need to access a custom response header (Date) in my ajax calls, how do I go about this?
The text was updated successfully, but these errors were encountered:
Figured it out: - use xhr.getResponseHeader('Date')
xhr.getResponseHeader('Date')
promise.get(this.path, params, {"Accept": "application/json"}) .then(function(error, response, xhr) { var date = xhr.getResponseHeader('Date'); });
Sorry, something went wrong.
Indeed!
No branches or pull requests
Sorry if this has been answered but could not find by searching..
I need to access a custom response header (Date) in my ajax calls, how do I go about this?
The text was updated successfully, but these errors were encountered: