Bug Tracker

Opened 10 years ago

Closed 10 years ago

#5648 closed bug (worksforme)

Google Chrome Content-Type header is wrong for 1.3.2 & 1.4a1

Reported by: yltsrc Owned by:
Priority: critical Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: Chrome dataType Cc:
Blocked by: Blocking:

Description

$.ajax({

url: window.location.toString(), type: 'PUT', dataType: 'script'

})

Request Headers: Accept:*/*, text/javascript Content-Type:application/xml User-Agent:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.30 Safari/532.5 X-Requested-With:XMLHttpRequest

Change History (1)

comment:1 Changed 10 years ago by dmethvin

Resolution: worksforme
Status: newclosed

Can you be a bit more specific about what is wrong? The request specifies that it accepts a script. There's no data being sent in the request, which seems wrong for a PUT request. If you're explicit using data: {} or data: "" does it do what you expected? I'll close the ticket pending your clarification.

Note: See TracTickets for help on using tickets.