IIS Output Caching and Accept Header

After a bit of testing I found out today that IIS Output Caching will not work unless the Accept request header includes */*;  Most browsers include this by default but if you make HTTP calls yourself (for example, using CFNetwork from iOS), you’ll need to include it.  For example:

 Accept: application/json,*/*;

Add Comment Register



Leave a Reply

Your email address will not be published.


9 + three =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>