Modify ↓
Ticket #4971 (closed bug: fixed)
ajax() with method "PUT" - missing payload
| Reported by: | alx | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | ajax | Version: | 1.3.2 |
| Keywords: | xhr, payload | Cc: | |
| Blocking: | Blocked by: |
Description
All ajax() calls with method "PUT" don't deliver payload.
Problem - ajax.js line 454:
| xhr.send( type === "POST" ? s.data : null ); |
Patch:
| xhr.send( (type === "POST" | type === "PUT") ? s.data : null ); |
Testcase can be delivere if needed.
with regards, alx
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Fixed in SVN rev [6512].