Clarify this strange If-Modified-Since header passed by IE9
In my ASP.NET 4.0 web application, I have a generic handler (.ashx) that serves the images stored in the database. In the interest of efficiency, I process some of the caching related headers and pass cache information.
I get DateTime parsing errors moderately often, trying to parse the contents of the If-Modified-Since header, usually from IE9. Turns out he sends something like this:
Mon, Nov 28, 2011 4:34:52 PM GMT; length = 8799
I process this using a regex to cut out the last part. But I'm curious: what length does this refer to, and what is it? Is the size of the cached data for the requested URL?
source share