IIS6 ASP.NET - content-length header not set for EXE downloads -


when downloading file iis6-hosted asp.net mvc 3 application, content-length header not set .exe files.

mime-types appear correctly set. (.exe application/octet-stream). static content compression disabled.

as far can tell, problem specific .exe files. .zip works fine.

suggestions?

update

here headers are being sent:

accept-ranges:bytes cache-control:max-age=86400 compression-control:whitespace content-encoding:gzip content-location:http://...../somefile.exe content-type:application/octet-stream date:wed, 28 aug 2013 15:45:52 gmt etag:"5397aeeb6e4ace1:0" last-modified:mon, 06 may 2013 15:32:30 gmt transfer-encoding:chunked vary:accept-encoding 

turned out had isapi filter running stripping out headers, including one.

disabling filter fixed problem.


Comments

Popular posts from this blog

design - Custom Styling Qt Quick Controls -

Unable to remove the www from url on https using .htaccess -