Side navigation
#7881 closed enhancement (fixed)
Opened December 31, 2010 08:57PM UTC
Closed January 09, 2011 05:24AM UTC
Last modified March 09, 2012 12:56PM UTC
Make compatible with XHR 2
Reported by: | codler | Owned by: | codler |
---|---|---|---|
Priority: | low | Milestone: | 1.6 |
Component: | ajax | Version: | git |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Don't force sending the header content-type when doing a ajax call. Sending content-type in header makes it not possible to upload files in XHR 2 because it overwrites this 'multipart/form-data; boundary=----XXX' what would have been automatically sent by the browser.
Attachments (0)
Change History (4)
Changed December 31, 2010 09:11PM UTC by comment:1
owner: | → codler |
---|---|
status: | new → pending |
Changed January 01, 2011 10:46AM UTC by comment:2
status: | pending → new |
---|
Changed January 08, 2011 09:44PM UTC by comment:3
_comment0: | Force false value in `contentType` to never set Content-Type header. → 1294523072557433 |
---|---|
component: | unfiled → ajax |
priority: | undecided → low |
status: | new → open |
Force strict false value in contentType
to never set Content-Type header.
Thanks for taking the time to contribute to the jQuery project! Please provide a reduced jsFiddle test case to help us assess your ticket!
Additionally, test against the latest jQuery release and the jQuery 0 GIT version to ensure the issue still exists. Be Excellent to eachother!
Keep in mind, the jQuery 0 Git version includes the latest Ajax re-write