Re: HTTP_Request / No body?
| From: | Philippe Jausions | Date: | Sat, 01 Dec 2007 20:58:01 +0000 |
| Subject: | Re: HTTP_Request / No body? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-48629@lists.php.net to get a copy of this message | ||
Joe,
Just pass "saveBody" => false in the option and you may also have to set
up a listener to simply ignore the "gotBody" notification data passed by
the HTTP_Response.
-Philippe
Joe Stump wrote:
> Is there a way to *force* HTTP_Request to NOT download the body of a
> page even if the request type is GET? Curl allows this with the NOBODY
> option.
>
> --Joe