Opened 14 years ago
Closed 14 years ago
#4667 closed bug (duplicate)
jQuery.ajax() forced to explicitly set empty string value to data property
Reported by: | Pavel-Mileshchenko | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | unfiled | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
correct example $J.ajax({
type: "POST", url : "challenge/delete.js", data: "", forced to explicitly set empty string value to prevent server side HTTPStatus::LengthRequired dataType: "script"
});
error example: lead to error HTTPStatus::LengthRequired in Webrick. Mongrel had exception. Not tested on Apache. $J.ajax({
type: "POST", url : "challenge/delete.js", dataType: "script"
});
Note: See
TracTickets for help on using
tickets.
Dup of #4044.