Modify ↓
Ticket #952 (closed bug: fixed)
$.get() should explicitly use GET method
| Reported by: | jchaffer@… | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | ajax | Version: | |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
