Open jordyvandomselaar opened 7 years ago
I figured that part out, but this shouldn't be happening right? I mean tostring()
does that, I know, but shouldn't it be done differently then?
Update! The problem is here: https://github.com/PolymerElements/iron-ajax/blob/master/iron-request.html#L259
Good discussions https://github.com/whatwg/xhr/issues/34
Description
When I set a header like so:
this.$.authAjax.headers = {"Authorization" : "Bearer "+this.accessToken};
it doesn't send it correctlyExpected outcome
iron-ajax
adds a header calledAuthorization
Actual outcome
iron-ajax
adds a header calledauthorization
The problem is that my server is case-sensitive.
Steps to reproduce
iron-ajax
generateRequest()
Browsers Affected