http://bugs.winehq.org/show_bug.cgi?id=18384
--- Comment #29 from Mike Kaplinskiy mike.kaplinskiy@gmail.com 2009-05-31 15:56:36 --- (In reply to comment #28)
Does it possibly not like the ipaddress field being null?
I'll try capturing the HTTP stream on an actual Windows box later today and see what I get from it.
Yep, seems like the server is expecting something rather specialized. It errors out on anything you try to send it that it doesn't like:
$ openssl s_client -connect us.battle.net:443 POST /account/systemsurvey/submit.xml?purpose=sc2beta HTTP/1.1 Host: us.battle.net User-Agent: Blizzard Web Client Accept: */* Content-Type: application/x-www-form-urlencoded Content-Length: 352
&email=Rincebrain@gmail.com&key=5082e7d9949464602603b46590339b09&os=Windows 2.5.0.2195 (Service Pack 4)&cpuinfo=Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz&cpu=2513780250&mem=4016492544&video=NVIDIA GeForce 7800 GT&videodriver=Display&resolution=1920x1200&hdd=152290582528&hddfree=340086784&macaddress=C9CBB5B3&ipaddress=10.0.0.1&time=1243748379263
gives a 500. Same using lwp-request: lwp-request -m POST -c 'application/x-www-form-urlencoded' -H 'Host: us.battle.net' -H 'User-Agent: Blizzard Web Client' https://us.battle.net/account/systemsurvey/submit.xml?purpose=sc2beta -U -e -S -d
We definitely need an http log from a windows machine.