Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Edited Issue: Content negotiation doesn't fallback correctly with old odata version [823]

$
0
0
In ODataServiceSample project in http://aspnet.codeplex.com

Send request:
GET /Products HTTP/1.1
Host: localhost:50231
Connection: keep-alive
Accept: application/atomsvc+xml;q=0.8, application/json;odata=fullmetadata;q=0.7, application/json;odata=verbose;q=0.5, */*;q=0.1
MaxDataServiceVersion: 2.0
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17
Referer: http://localhost:50231/odataservice/ODataTestClient.html?testNumber=9
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

It get 500 error without error details

The expected result should be payload with json verbose.

Viewing all articles
Browse latest Browse all 7215

Trending Articles