#13261 closed bug (fixed)
Ajax response with status code 204 must not be parsed
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In case the response to an ajax call returns with an HTTP status 204/No Content, jQuery must not try to apply any converters on the response but simply pass it on.
See this example: http://jsfiddle.net/mbhp2/
Change History (5)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Don't try and convert data for 204 No Content responses. Fixes #13292. Fixes #13261.
Changeset: bfc61b879e9e94ef7c6b31919b7f287ffdf180a8
comment:2 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Don't try and convert data for 204 No Content responses. Fixes #13292. Fixes #13261.
Changeset: eb47553eeac58861bcefac063c0e03e161b4d52c
comment:4 Changed 9 years ago by
As of 1.9.1, Response 204 triggers the fail() block. This ticket should be reopened.
Version 0, edited 9 years ago
by
(next)
Note: See
TracTickets for help on using
tickets.
Duplicate of http://bugs.jquery.com/ticket/13292