http://bugs.winehq.org/show_bug.cgi?id=18384
--- Comment #39 from Mike Kaplinskiy mike.kaplinskiy@gmail.com 2009-06-09 19:12:42 --- Created an attachment (id=21706) --> (http://bugs.winehq.org/attachment.cgi?id=21706) Horrible test program
This is a small horribly written test program that I used to check this bug. I first tried to mimic the behavior completely but then got lazy and just used the synchronous api. It compiles like a wine test case.
My findings - while the \n\n bug IS a wininet bug, the actual source of the 500 is not. It seems that the server is expecting something in particular from the request and the actual script bails (painfully) once it sees it doesn't get it.
Now we really need the wininet log from windows. Until then, I don't see how this bug can move forward.