Opened 10 years ago
Closed 10 years ago
#13319 closed bug (duplicate)
Ajax request on resource that returns a 204 triggers a fail.
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Executing an Ajax request on a ressource that returns a "204 No Content" triggers the fail-handler. This happens because jQuery tries and fails to parse the empty body.
Example (with minimalistic Node.js server code): http://jsfiddle.net/BbEbJ/
Note: See
TracTickets for help on using
tickets.
Duplicate of #13261.