curl-users
Problem with curl & ssl through proxy server
Date: Tue, 16 May 2000 13:03:09 +0000 (GMT)
Hi,
Firstly let me preface my comments by saying that I am a novice user (get those
excuses in early).
I have been attempting to use curl 6.0 built with ssl 0.9.4 (yes, I know these
are not the latest versions) to retrieve data from a site via a proxy server.
The command I have been using is in the following format :
'curl -u user:password -x myproxy:3128 -v
https://my.site.com:81/cgi-bin/GetId.cgi?cmd=get_id&uid=111111&uip=1. 1.1.1'
It connects via the proxy OK and retrieves the servers certificate, but then it
fails on the GET and appears to not recognise anything after 'cmd=get_id'. The
ouput produced is as follows :
* Connected to myproxy (196.1.26.56)
> GET /cgi-bin/GetId.cgi?cmd=get_id HTTP/1.0
Authorization: Basic aHNqdzE6Nzk4M3ducm0=
User-Agent: curl/6.0 (sparc-sun-solaris2.5.1) libcurl 6.0 (SSL version 0.9.4)
Host: my.site.com
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
>
HTTP/1.1 200 OK
Server: Netscape-Enterprise/3.6 SP2
Date: Mon, 15 May 2000 15:10:04 GMT
Content-type: text/plain
Connection: close
<error>
<error_text>Syntax error in request</error_text>
</error>
Can anyone enlighten me as to what I am doing wrong please ?
Cheers,
Chris
Received on 2000-05-16