Side navigation
#4355 closed bug (worksforme)
Opened March 15, 2009 06:55PM UTC
Closed June 15, 2010 02:48AM UTC
Ajax.load ignores strings as data parameter for POST requests
Reported by: | the-architect | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | ajax | Version: | 1.3.2 |
Keywords: | ajax, load, get, post | Cc: | |
Blocked by: | Blocking: |
Description
Other than stated in the documentation load does not accept strings as data parameter and will perform a GET request.
Attachments (1)
Change History (2)
Changed March 15, 2009 06:58PM UTC by comment:1
Changed June 15, 2010 02:48AM UTC by comment:2
resolution: | → worksforme |
---|---|
status: | new → closed |
The docs for load say:
The POST method is used if data is provided as an object; otherwise, GET is assumed.
Since it's documented to work that way, at least since the new docs site went live in January, it should probably be left with the current behavior.
patch has been attached