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

Commented Issue: Web API Not fully handling Accept-Charset [415]

$
0
0
Currently the Web API does not understand Accept-Charset headers where a preference is stated. A value of:

Accept-Charset: utf-16

works, but a value of:

Accept-Charset: utf-8; q=0.2, utf-16;q=1.8

does not. Also, if an unsupported charset is requested, the server should respond with HTTP 406 Not Acceptable. Instead it returns UTF8.
Comments: You are right... I had been just looking at the Accept-Charset header spec that doesn't set an upper bound to q, but I guess it can be inferred from the Accept header spec which does set boundaries. It is good to know the other minor issue is being looked at.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>