Protocols.HTTP sometimes lack Content-Length header
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=5936
Reported by Tobias Liin liin@roxen.com
--- Test case ---
[&var.status;]=> [411]
Running the server with HTTP_QUERY_DEBUG shows that there is no Content-Length header declared in the request.
--- Test case 2 ---
[&var.status;]=> [200]
With a message body the request now includes a Content-Length header.
Perhaps Protocols.HTTP should do Content-Length: 0 for empty http message bodies?
(by the way, insert#href does Query.async_request())