Bug Tracker

Opened 10 years ago

Closed 10 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 10 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.