Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Viewing all articles
Browse latest Browse all 7925

Edited Issue: Add Set* extension methods for all HttpRequestMessage properties [156]

$
0
0
For unit testing you often need to setup a full HttpRequestMessage so that conneg can be run in the API controller action. We have Get* extension methods for the properties hanging off of HttpRequestMessage.Properties but we don't hvae Set* methods. We should add the Set* methods.

Viewing all articles
Browse latest Browse all 7925

Trending Articles



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