cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-3000056 ] curl doesn't ignore response body of certain 302 redirects

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 11 May 2010 16:19:27 +0000

Bugs item #3000056, was opened at 2010-05-11 18:19
Message generated for change (Tracker Item Submitted) made by seb101
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3000056&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: http
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Sebastian V. (seb101)
Assigned to: Daniel Stenberg (bagder)
Summary: curl doesn't ignore response body of certain 302 redirects

Initial Comment:
The server produces a perfectly valid gezipped and chunked 302-answer followed by a 200-answer. When fetching the resource with 'curl --location --compressed ...' I would expect to get the body of the 200 answer. But in the following case, curl also outputs the body of the 302 response.

Reproducible with the following line:

~/curl-7.20.2-20100511)> src/curl -v --location --compressed 'http://service.mediamarkt.nl/?a=ticket_faq&ticketcatid=2001'

The backend produces a gezipped and chunked 302-answer followed by a 200-answer. The output contains both response bodys.

Reproducible with snapshot curl-7.20.2-20100511 and latest 7.20.1.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3000056&group_id=976
Received on 2010-05-11

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET