I am trying to publish a page served by IIS6 and add the following header:
Transfer-Encoding: chunked
When I do this, I get 404
error: The system cannot find the file specified.
. If I make the same request on a page without this header, it definitely exists.
Here are the headers - the only difference between the two requests is the snippet ...
POST http://hostname/appname/index.html HTTP/1.1 Host: hostname Connection: keep-alive Transfer-Encoding: chunked Cache-Control: max-age=0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31 Content-Type: application/x-www-form-urlencoded Referer: http://referrer/
And the body:
4 xxxx 0
The IIS metabase has AspEnableChunkedEncoding set to true at the W3SVC level, and it is not redefined at the site level.
Why am I getting 404 error?
Update: I noticed in response to a failed request that:
x-powered-by: asp.net
... no title. I do not know if this helps - it is, if I do not set a title in the request.
source share