I jumped into fiddler and traced the download of /post-name/via-feed vs
/views/shared/images/transparent.gif. The two downloads give different
results!
Here are the headers from the "via-feed" one:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: image/gif
Expires: Mon, 07 Feb 2011 05:33:59 GMT
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 2.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Tue, 09 Nov 2010 05:33:59 GMT
Content-Length: 52
... and from the direct-to-the-gif one:
HTTP/1.1 200 OK
Content-Type: image/gif
Last-Modified: Mon, 23 Aug 2010 03:54:59 GMT
Accept-Ranges: bytes
ETag: "7c2d21f57642cb1:0"
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Date: Tue, 09 Nov 2010 05:30:54 GMT
Content-Length: 42
As you can see, the gif returned by the /post-name/via-feed URL is 10 bytes
larger than the one returned by visiting the file directly! Something is
screwy with the routed version.
I will redeploy everything at some point and see if it fixes it. Very odd.
Matt