Jump to content

Archived

This topic is now archived and is closed to further replies.

michaellunsford

406 Not Acceptable errors on html and javascript forums

Recommended Posts

trying to post on HTML and javascript forums yields me the following:

[code]<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>406 Not Acceptable</title>
</head><body>
<h1>Not Acceptable</h1>
<p>An appropriate representation of the requested resource /forums/index.php could not be found on this server.</p>
</body></html>[/code]

Share this post


Link to post
Share on other sites
Are you trying to post code or just a text response?

There are some permissions errors that could result in that error that the admins are working on. In the meantime, may I suggest [a href=\"http://pastebin.com/\" target=\"_blank\"]http://pastebin.com/[/a] as an alternative for posting code?

Share this post


Link to post
Share on other sites
[!--quoteo(post=371217:date=May 4 2006, 07:13 AM:name=ober)--][div class=\'quotetop\']QUOTE(ober @ May 4 2006, 07:13 AM) [snapback]371217[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Are you trying to post code or just a text response?

There are some permissions errors that could result in that error that the admins are working on. In the meantime, may I suggest [a href=\"http://pastebin.com/\" target=\"_blank\"]http://pastebin.com/[/a] as an alternative for posting code?
[/quote]

went to the site in question, but I don't understand what the form does? (no I didn't submit anything).

Also, I just tried posting regular stuff (no code) to the javascript forum and got the same error.

Share this post


Link to post
Share on other sites
It allows you to post code and then you take the link that it provides and post that in any question you post about.

Interesting that you get that without posting code. Hopefully an admin will see this and respond.

Share this post


Link to post
Share on other sites
Guest footballkid4
[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]10.4.7 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.

If the response could be unacceptable, a user agent SHOULD temporarily stop receipt of more data and query the user for a decision on further actions. [/quote]

Taken from W3C. It could be a charset issue I guess, but I don't think that's the problem. Anyways I just thought I'd post what I know.

Share this post


Link to post
Share on other sites
I was eventually able to post the issue... I had a <a href="javascript thing in the message, and had to escape the quotes... after that, it worked fine.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.