Article ID: 251215 - Last Review: June 24, 2004 - Revision: 3.0 Error Message: Error 406, No Acceptable Objects Were FoundThis article was previously published under Q251215 On This PageSYMPTOMS
When you use the Accept-Language header and the file name specified does not include the file extension, the following error message occurs:
Error 406, No acceptable objects were found.
CAUSE
Because no other "Accept:" headers are specified, the Web server determines that the client can only handle text/plain and text/html content types. Because the document has no extension, the type is octet/stream, which causes the error message to be returned. This is by design.
RESOLUTION
Include the file extension in the request, so that the content type can be determined.
MORE INFORMATIONSteps to Reproduce BehaviorThe following portion of code causes the Error 406: | Article Translations
|

Back to the top
