Re: HTTP_Client and Basic Authentication
| From: | Justin Patrin | Date: | Fri, 19 Nov 2004 21:25:45 +0000 |
| Subject: | Re: HTTP_Client and Basic Authentication | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15706@lists.php.net to get a copy of this message | ||
On Fri, 19 Nov 2004 16:21:46 -0500, Andrew Nagy <asnagy@webitecture.org> wrote:
> Can basic authentication be done with HTTP_Client? There is a method in
> HTTP_Request for it, but I see no method to handle it in HTTP_Client.
>
> Any suggestions?
>
Use the first parameter to the HTTP_Client constructor. It sets the
default HTTP_Request params.
--
Justin Patrin