History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-497
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Arjohn Kampman
Reporter: Arjohn Kampman
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Sesame

Sesame server responds with 500 error code where it should be 406 NOT ACCEPTABLE

Created: 04/Dec/07 03:05 PM   Updated: 20/Mar/08 08:13 PM
Component/s: HTTP Server
Affects Version/s: 2.0-rc2
Fix Version/s: 2.0


 Description   
Requests such as with the following request result in a 500 error from the server, where the server should respond with a 406 NOT ACCEPTABLE:

http://localhost:8080/openrdf-sesame/repositories/?Accept=xyz

 All   Comments   Change History      Sort Order:
Comment by Arjohn Kampman [12/Dec/07 01:30 PM]
The server should actually responds with "400 BAD REQUEST" since the MIME type is specified in the query parameters. "406 NOT ACCEPTABLE" should be used when Accept *headers* are used.