Side navigation
#8113 closed bug (invalid)
Opened February 01, 2011 03:19AM UTC
Closed February 01, 2011 07:54AM UTC
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.
Attachments (0)
Change History (2)
Changed February 01, 2011 05:18AM UTC by comment:1
component: | unfiled → ajax |
---|---|
milestone: | 1.next → 1.5.1 |
priority: | undecided → low |
status: | new → open |
Changed February 01, 2011 07:54AM UTC by comment:2
resolution: | → invalid |
---|---|
status: | open → closed |
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?