cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-560729 ] wrong HTTP headers sent to -x proxy w/-L

From: <noreply_at_sourceforge.net>
Date: Sun, 26 May 2002 08:05:13 -0700

Bugs item #560729, was opened at 2002-05-26 08:05
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=560729&group_id=976

Category: client module
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: wrong HTTP headers sent to -x proxy w/-L

Initial Comment:
This:-

curl -m 15 -x 212.100.101.107:80 --header 'Accept:
image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-
excel, application/msword, */*' -A 'Mozilla/4.0
(compatible; MSIE 6.0; Windows 98)' --header 'Accept-
Language: en-us' -s -i -L -Z 3 -
d 'username=emailmobile&password=nicole&dest=http
%3A%2F%2Fsendtxt.genie.co.uk%2Fcgi-bin%2Fsms%
2Fsend_sms.cgi' 'http://www.genie.co.uk/O2/login/doLog
in'

Gave me back this a few times (not always):-

HTTP/1.0 500 Proxy Error^M
Date: Sun, 26 May 2002 14:29:00 GMT^M
Server: Apache/1.3.19 (Unix) (Red-Hat/Linux)^M
Connection: close^M
Content-Type: text/html; charset=iso-8859-1^M
^M
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
2.0//EN">
<HTML><HEAD>
<TITLE>500 Proxy Error</TITLE>
</HEAD><BODY>
<H1>Proxy Error</H1>
The proxy server could not handle the request <EM><A
HREF="http://www.genie.co.uk/O2/login/doLogin">POS
T&nbsp;http://www.genie.co.uk/O2/login/doLogin</A></
EM>.<P>
Reason: <STRONG>Host not found</STRONG><P>
<HR>
<ADDRESS>Apache/1.3.19 Server at
store.virginbiz.com Port 80</ADDRESS>
</BODY></HTML>

Doesn't seem to always do it. I'm too busy to
investigate fully.

This might be relevant:-

$ curl --version
curl 7.5.1 (i686-pc-linux-gnu) libcurl 7.5.1

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

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=560729&group_id=976

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Received on 2002-05-26