Skip to main content

Bug Tracker

Side navigation

#5648 closed bug (worksforme)

Opened December 12, 2009 11:00AM UTC

Closed December 12, 2009 02:33PM UTC

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

Attachments (0)
Change History (1)

Changed December 12, 2009 02:33PM UTC by dmethvin comment:1

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.