Bug Tracker

Modify

Ticket #5395 (closed enhancement: worksforme)

Opened 4 years ago

Last modified 3 years ago

jQuery.ajax should append 'data' as url-encoded query params when for requests of type 'delete'

Reported by: nathansobo Owned by:
Priority: minor Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: delete Cc:
Blocking: Blocked by:

Description

When making an ajax request of type 'delete', the data hash is not honored. For get requests, it is automatically url-encoded and this is very convenient. To follow the principle of least surprise, should this not also happen with delete requests?

Change History

comment:1 Changed 4 years ago by dmethvin

  • need changed from Review to Patch

comment:2 Changed 3 years ago by snover

  • Status changed from new to closed
  • Resolution set to worksforme

I believe this has been fixed as of 1.4.4. Please reopen, with testcase, if this is not the case.

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.