Question:
How do I solve an http 406 error in mozilla when working with ajax?
Crick
2007-01-16 16:34:18 UTC
I keep getting a 406 error when i send XMLHttpRequest in mozilla. The requests work in Internet Explorer and even in mozilla when I run it on my computer's apache server. Any Ideas on how to fix this?
Three answers:
jake cigarâ„¢ is retired
2007-01-16 17:04:37 UTC
what you are asking for is not what you are getting! it's the headers you are sending. By tweaking the headers you can get the request!



I might be able to give you exact details if I had the url to test!



IE cheats and lies! firefox does things the standard way!



406 Not Acceptable



The resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request.



Unless it was a HEAD request, the response SHOULD include an entity containing a list of available entity characteristics and location(s) from which the user or user agent can choose the one most appropriate. The entity format is specified by the media type given in the Content-Type header field. Depending upon the format and the capabilities of the user agent, selection of the most appropriate choice MAY be performed automatically. However, this specification does not define any standard for such automatic selection.



Note: HTTP/1.1 servers are allowed to return responses which are

not acceptable according to the accept headers sent in the

request. In some cases, this may even be preferable to sending a

406 response. User agents are encouraged to inspect the headers of

an incoming response to determine if it is acceptable.
Caitlin
2016-05-24 02:21:20 UTC
If you are 100% sure you downloaded it from Mozilla, the problem i think is the registry. This is something you'll want someone with a lot of experience to pick through (not a program), and in the meantime, you could download Safari 3 For Windows, Opera 9, or (i think) Konqueror, all 3 are very good quality browswers, with Konqueror and Opera each being the best in certain aspects.
anonymous
2007-01-16 16:37:42 UTC
Take a look here:



http://www.checkupdown.com/status/E406.html


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...