Closed
Bug 499898
Opened 15 years ago
Closed 15 years ago
Bugzilla Webservice produces invalid content-length header
Categories
(Bugzilla :: WebService, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 486306
People
(Reporter: jochen.wiedmann, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4 Build Identifier: I am invoking the method Bug.search with no parameters. Bugzilla returns an invalid HTTP response. The response contains a header "Content-Length: 22226", but the response documents size is in fact 22235 bytes. This can be seen when using Wireshark to save the response. Reproducible: Always Expected Results: Either omit a content-length header (technically a violation of the XML-RPC specification, but should be okay for normal clients), or create a valid value. Note, that there is no reason to create a content-length header from the HTTP perspective, because my client presents itself as a HTTP/1.1 client, so using chunky mode should be fine. Complete response headers: Client request headers: POST /bugzilla-3.3.4/xmlrpc.cgi HTTP/1.1 TE: deflate,gzip;q=0.3 Connection: TE, close Host: 127.0.0.1 User-Agent: BZ::Client::XMLRPC 1 Content-Type: text/xml Cookie: Bugzilla_logincookie=BwwzfxwS9y; Bugzilla_login=1 Cookie2: $Version="1" Content-Length: 125 Server response headers: HTTP/1.1 200 OK Date: Tue, 23 Jun 2009 08:43:03 GMT Server: Apache/2.2.11 (Fedora) SOAPServer: SOAP::Lite/Perl/0.710.08 Content-Length: 22226 Connection: close Content-Type: text/xml
Reporter | ||
Comment 1•15 years ago
|
||
See also https://rt.cpan.org/Ticket/Display.html?id=47266
Comment 2•15 years ago
|
||
I was unable to reproduce this--feel free to add comments to the other bug giving some more steps to show that there is a bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•