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

Edited Issue: Batching: Filters can not access content [1194]

$
0
0
Hi,

It would appear that there is a bug in the way the WebApi batch handlers work. The content of any batched request is null/blank when attempting to access it from a filter.

This is problematic for us as we use filters to check the Content-MD5 header, and therefore require access to the content to perform the check.

Note: The content does become accessible to filters if it is read further upstream, e.g. in a message handler, or a custom batch handler.

I have attached a small project that demonstrates the fault.

Cheers
Ben


Viewing all articles
Browse latest Browse all 7925

Trending Articles



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