http://bugs.winehq.org/show_bug.cgi?id=18384
Mike Kaplinskiy mike.kaplinskiy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mike.kaplinskiy@gmail.com
--- Comment #22 from Mike Kaplinskiy mike.kaplinskiy@gmail.com 2009-05-30 21:08:01 --- (In reply to comment #19)
I've written a dirty hack to wipe out the "\n\n", and it drops off the first Content-Length: header too, so that is cleared up. I still got the same error while trying to submit (500 from server). I noticed that the second "Content-Length:" however is (L"354\n") so I wiped out that \n as well. I still get 500s from the server. No idea what to check next.
Can you add a trace after TRACE("full request -> %s\n", debugstr_a(ascii_req) ); to just print out ascii_req and post a wininet log? It's nice to see what it's sending so we can test in telnet. The following doesn't give me a 500:
$ telnet us.battle.net 80 Trying 12.129.242.40... Connected to us.battle.net. Escape character is '^]'. POST /account/systemsurvey/submit.xml?purpose=sc2beta HTTP/1.1 Host: us.battle.net Content-Length: 72 User-Agent: Blizzard Web Client Cache-Control: no-cache Content-Type: application/x-www-form-urlencoded
&email=123456789012345678@gmail.com&key=c6b177128asdfasdfasdfasdfasdffff HTTP/1.1 302 Moved Temporarily Date: Sun, 31 May 2009 00:43:35 GMT Server: Apache Location: https://us.battle.net/account/systemsurvey/submit.xml?purpose=sc2beta Content-Length: 0 Content-Type: application/xml
Connection closed by foreign host.
so I'm curious to see if something its sending is horribly wrong.