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

curl-and-php

Curl and PHP - HTTP 503 (Service Unavailable)

From: D M <deep0mal_at_gmail.com>
Date: Mon, 27 Apr 2009 21:37:16 +0530

Hi Guys,
I am trying to handle the HTTP 503 error. I want to read the Retry-After
header which come along with the response headers of 503 Service
unavailable. I am using curl extension for PHP. The problem is even i am
setting CURLOPT_HEADER as true still i am not able to get the headers. Is
this the default behavior of curl extension in PHP? Is there a way to get
these headers somehow?

Any help would be appreciated.

Thanks n Regards,
Deeps

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2009-04-27