Bug Tracker

Opened 11 years ago

Closed 10 years ago

#4601 closed bug (fixed)

support *not* adding X-Requested-With

Reported by: jablko Owned by:
Priority: major Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:

Description

http://groups.google.com/group/jquery-dev/browse_thread/thread/2803240de4deb21f

I wish there were a way to make Ajax requests with jQuery and *not* add the X-Requested-With header.

I want to make a cross domain request with Firefox 3.5 and the X-Requested-With header means that the request is "preflighted", https://developer.mozilla.org/En/HTTP_access_control

The cross domain resource is not setup to support "preflighted" requests, only "simple" requests, so I wish there were a way to make Ajax requests with jQuery and *not* add the X-Requested-With header.

Change History (1)

comment:1 Changed 10 years ago by john

Resolution: fixed
Status: newclosed
Type: enhancementbug
Note: See TracTickets for help on using tickets.