Side navigation
#4667 closed bug (duplicate)
Opened May 18, 2009 11:07AM UTC
Closed May 19, 2009 12:18AM UTC
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"
});
Attachments (0)
Change History (1)
Changed May 19, 2009 12:18AM UTC by comment:1
resolution: | → duplicate |
---|---|
status: | new → closed |
Dup of #4044.