Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Can't change Content-Type server header response


wildbest - 8:55 pm on Dec 10, 2010 (gmt 0)


Redirects don't use Content-Type headers, because a redirect response contains no response-body...

I'm sorry for confusion. To see response headers I use 'Live HTTP headers' add-on. This is what they show in response to 'GET /ExampleScript.axd?d=tyugyYhiiWsnObeDq3PMcVgoVc9' request:

HTTP/1.1 302 Found
Date: Fri, 10 Dec 2010 20:33:55 GMT
Server: Apache
Location: http://www.example.com/ExampleScript.axd?d=tyugyYhiiWsnObeDq3PMcVgoVc9
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

I can't find a way to either remove 'Content-Type' header or change it to 'application/x-javascript'.


Thread source:: http://www.webmasterworld.com/apache/4240152.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com