http://bugs.winehq.org/show_bug.cgi?id=19351
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer
--- Comment #2 from Andrew Nguyen arethusa26@gmail.com 2009-07-17 04:33:08 --- While I don't know anything about HTTP, I'm not sure that trying to read a message body for a HEAD request is right. From RFC 2616:
"The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response. The metainformation contained in the HTTP headers in response to a HEAD request SHOULD be identical to the information sent in response to a GET request. This method can be used for obtaining metainformation about the entity implied by the request without transferring the entity-body itself. This method is often used for testing hypertext links for validity, accessibility, and recent modification."
It seems to me that if the installer was interested in the redirect message at that point, it would not have sent a GET request. A packet trace on Windows seems to show the installer doing a HEAD request on the original URL, then a HEAD request on the redirected URL. After that, the installer does a GET on the original URL, receiving the redirect message content, and then does a subsequent GET on the redirect URL for the actual content.