Bug Tracker

Opened 14 years ago

Closed 14 years ago

#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:
Blocked by: Blocking:

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 (1)

comment:1 Changed 14 years ago by john

Resolution: fixed
Status: newclosed
Version: 1.3.2

Fixed in SVN rev [6512].

Note: See TracTickets for help on using tickets.