curl-users
[ curl-Bugs-450961 ] multiple URLs mess up httpcodes
Date: Tue, 14 Aug 2001 14:22:26 -0700
Bugs item #450961, was opened at 2001-08-14 14:22
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=450961&group_id=976
Category: http
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Ramana Mokkapati (mvr707)
Assigned to: Daniel Stenberg (bagder)
Summary: multiple URLs mess up httpcodes
Initial Comment:
% curl localhost:8888 -o /dev/null -w '%{http_code}'
000 curl: (7) Connection timed out
Localhost:8888 is down and hence above result is fine
% curl www.perl.com -o /dev/null -w '%{http_code}'
200
perl is up and the above result is fine too!
Now let us combine the two URLs
% curl '{www.perl.com,localhost:88}' -w '%{http_code}'
200
200
Which is NOT right!!
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=450961&group_id=976
Received on 2001-08-14