http://bugs.winehq.org/show_bug.cgi?id=11574
--- Comment #4 from Hans Leidekker hans@it.vu.nl 2008-02-16 07:58:07 --- Indeed, my patch merely exposes another bug in Wine. This is the response to a 1.0 request (notice the Content-Length header):
HTTP/1.0 200 OK Content-Type: text/html; charset=UTF-8 Content-Length: 77 Cache-control: private, must-revalidate, max-age=0 Date: Fri, 15 Feb 2008 21:04:46 GMT Server: GFE/1.3 Connection: Keep-Alive
And this is the response to a 1.1 request:
HTTP/1.1 200 OK Content-Type: application/rss+xml; charset=UTF-8 Cache-Control: max-age=0, must-revalidate Transfer-Encoding: chunked Date: Sat, 16 Feb 2008 08:59:01 GMT Server: GFE/1.3
Notice the Transfer-Encoding header and the absence of a Content-Length header. Picasa queries the message size right after receiving a 200 response, which fails for 1.1 requests because Wine is currently unable to receive and decode chunked messages.