cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: HTTP Error messages

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 29 Sep 2006 19:53:59 +0200 (CEST)

On Fri, 29 Sep 2006, Parvinder Singh Arora wrote:

> If i set the CURLOPT_FAILONERROR to true i get the http error codes. Can i
> get the HTTP error messages as well ? like HTTP Error 503 is "service
> unavailable"

You mean the actual text that follows the HTTP response code? You can only get
that by parsing the response headers yourself. Don't assume that text will
contain meaningful info at all times.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-09-29

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET