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

Created Issue: Unit of Range header changes when sent to server [300]

$
0
0
If I create a request and use HttpClient to send to a server, value of the Unit changes to "bytes" regardless of the value set:

request = new HttpRequestMessage(HttpMethod.Get, "http://localhost:50714/api/Car");
request.Headers.Range = new RangeHeaderValue(1, 2) { Unit = "foo" };
httpResponseMessage = httpClient.SendAsync(request).Result;

Server always gets "bytes" as unit. On client, however, value showing as correct value.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



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