Skip to main content

Bug Tracker

Side navigation

#13319 closed bug (duplicate)

Opened January 24, 2013 01:47PM UTC

Closed January 26, 2013 02:52PM UTC

Ajax request on resource that returns a 204 triggers a fail.

Reported by: hello@johanneszorn.com 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/

Attachments (0)
Change History (1)

Changed January 26, 2013 02:52PM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

Duplicate of #13261.