Bug Tracker

Modify

Ticket #4971 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

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

comment:1 Changed 4 years ago by john

  • Status changed from new to closed
  • Version set to 1.3.2
  • Resolution set to fixed

Fixed in SVN rev [6512].

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.