Closed
Description
RxJS version:
5.0.0-beta.8
Code to reproduce:
Observable.ajax({
url: ...,
body: formData,
})
Expected behavior:
browser should be responsible for appending Content-Type
of multipart/form-data; charset=utf-8; boundary=...
Actual behavior:
Content-Type
is explicitly set in AjaxObservable
if (!('Content-Type' in headers)) {
headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8';
}
Metadata
Metadata
Assignees
Labels
No labels