Opened 12 years ago
Closed 12 years ago
#8113 closed bug (invalid)
jQuery.get/post calls jQuery.ajax with lowercase method name
Reported by: | john.firebaugh | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.5.1 |
Component: | ajax | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In previous versions, both used the uppercase method name. The change is breaking one of my application test cases and has the potential to break plugins that override/wrap $.ajax.
XMLHttpRequest.open is specified in such a way that lowercase "get" and "post" will work, but the standards suggest that "GET" and "POST" are preferred, and Postrel's law applies here.
http://www.w3.org/TR/XMLHttpRequest/#the-open-method http://tools.ietf.org/html/rfc2616#section-5.1.1
Change History (2)
comment:1 Changed 12 years ago by
Component: | unfiled → ajax |
---|---|
Milestone: | 1.next → 1.5.1 |
Priority: | undecided → low |
Status: | new → open |
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | open → closed |
Note: See
TracTickets for help on using
tickets.
Look what i found: https://github.com/jquery/jquery/blob/master/src/ajax.js#L577 - seems its already doing that :) The issue must be in your wrapper/override, ya?