Bug Tracker

Opened 11 years ago

Closed 11 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"

});

Change History (1)

comment:1 Changed 11 years ago by dmethvin

Resolution: duplicate
Status: newclosed

Dup of #4044.

Note: See TracTickets for help on using tickets.