Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#952 closed bug (fixed)

$.get() should explicitly use GET method

Reported by: [email protected] Owned by:
Priority: minor Milestone:
Component: ajax Version:
Keywords: Cc:
Blocked by: Blocking:

Description

The $.get() function relies on the default form submission method, which is usually GET. But if $.ajaxSetup() changes this default, $.get() could actually do a POST. This is presumably not what the user wants if they specify $.get() rather than a general $.ajax() call, so $.get() should be changed to always perform a GET request.

Change History (2)

comment:1 Changed 16 years ago by john

Priority: majorminor
Type: featurebug

comment:2 Changed 16 years ago by joern

Resolution: fixed
Status: newclosed

Fixed in revision [1540].

Note: See TracTickets for help on using tickets.