On Wed, Sep 09, 2009 at 01:18:19PM +0200, Andreas Altergott wrote:
> Hi,

Yo,

> 
> how can I use basic authentication with POE::Component::Client::HTTP?

As you are providing an HTTP::Request object to PoCo::Client::HTTP's
request mechanism, you can provide basic authentication through methods
on that object.

Those methods are documented in HTTP::Headers, as HTTP::Request objects
inherit from HTTP::Message, which in turn inherits from HTTP::Headers.

Have a look for the authorization_basic method in the documentation.

Cheers,

-- 
Chris Williams
aka BinGOs
PGP ID 0x4658671F
http://www.gumbynet.org.uk
==========================

Attachment: pgpahHzj8G8ng.pgp
Description: PGP signature

Reply via email to