You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[X] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior
When Content-type is manually set in a http.put, instead of completely overriding its content, it's just appending it and producing the following:
Content-Type:text/plain, application/json
Expected/desired behavior
When any value is provided, it shouldn't defined a default content-type. At least, this is what was happening in versions prior to rc.2.
I'm submitting a ... (check one with "x")
Current behavior
When Content-type is manually set in a http.put, instead of completely overriding its content, it's just appending it and producing the following:
Content-Type:text/plain, application/json
Expected/desired behavior
When any value is provided, it shouldn't defined a default content-type. At least, this is what was happening in versions prior to rc.2.
Reproduction of the problem
To see the problem, inspect network traffic in dev tools.
https://plnkr.co/edit/Qxw4pd2VnkkWg4iCXwUD?p=preview
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: