cURL / Mailing Lists / curl-users / Single Mail


Re: resolver in curl

From: Troy Engel <>
Date: Sun, 04 Jun 2000 10:44:40 -0700

Emil Laurentiu wrote:
> 'curl' fails
> 'curl' works
> The reason is:

I'd say it was actually the method used by the webserver:

$ curl -I
HTTP/1.1 302 Found
Date: Sun, 04 Jun 2000 17:43:09 GMT
Server: Apache/1.3.12 (Unix) PHP/4.0.0
X-Powered-By: PHP/4.0.0
Connection: close
Content-Type: text/html

$ curl --fail
curl: (22) The requested file was not found

Looks like Freshmeat does some sort of redirection that's non-normal in
nature; I tested against other standard CNAME urls and it seemed to work


Troy Engel :: KeyID DF3D5207
Perl is just another tool in the Unix toolbox. Perl does one thing,
and it does it well: it gets out of your face. - Larry Wall
Received on 2000-06-04