Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

$http.post shouldn't set a content-type for requests without a body #749

Closed
ejain opened this issue Feb 17, 2012 · 0 comments
Closed

$http.post shouldn't set a content-type for requests without a body #749

ejain opened this issue Feb 17, 2012 · 0 comments
Assignees

Comments

@ejain
Copy link

ejain commented Feb 17, 2012

This causes trouble with certain frameworks (Play 2.0), and doesn't make much sense, anyway.

IgorMinar added a commit to IgorMinar/angular.js that referenced this issue Mar 20, 2012
When a http request has no data (body), we should not send the
Content-Type header as it causes problems for some server-side
frameworks.

Closes angular#749
@ghost ghost assigned IgorMinar Mar 20, 2012
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants