cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: RE : curl link tester

From: Steve Miller <steve_at_dinnys.com>
Date: Wed, 21 Jan 2004 18:54:31 -0500

Thanks...I'll give it a try!
steve

> From: "" <vah330_at_excite.com>
> Reply-To: curl-and-php_at_lists.sourceforge.net
> Date: Wed, 21 Jan 2004 17:32:36 -0500 (EST)
> To: curl-and-php_at_lists.sourceforge.net
> Subject: Re: RE : curl link tester
>
>
>
>
> ** However, for jsp and pdf files (so far), $httpcode is coming back equal to
> zero. **
>
>
>
> It shouldn't. The server should respond with the same 200, 404, etc. response
> header as any other file type. The file type has nothing to do with it (except
> for the server additionally sending the appropriate MIME header for the
> particular file type being requested).
>
>
>
> You might need to set the CURLOPT_HEADER to 1 to have the headers included in
> cURL's output.
>
>
>
> Dan O.
>
>
>
>

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Received on 2004-01-22