wininet: Always send a content length header, even if there is no content.

Hans Leidekker hans at it.vu.nl
Sun Oct 28 10:32:46 CDT 2007


Two different apps and the included test show that when the message
body of an http request is emtpy, Windows adds a zero value content
length header, whereas Wine omits the header.

Some webserver products (but not Apache) always require the header
and return a 411 status when they find it missing.

See bug http://bugs.winehq.org/show_bug.cgi?id=5444

 -Hans

Changelog
 Always send a content length header, even if there is no content.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wininet_content_length.diff
Type: text/x-diff
Size: 2652 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071028/20e2f7f3/attachment.diff 


More information about the wine-patches mailing list