[Catalyst] Authentication for web services (slightly off topic)

Christopher H. Laco claco at chrislaco.com
Wed Jan 23 17:17:02 GMT 2008


Andrew Payne wrote:
> On Jan 23, 2008 4:28 PM, Matt Lawrence <matt.lawrence at ymogen.net> wrote:
>> WWW::Mechanize isa LWP::UserAgent. Ditto T::W::M::C, AFAIK.
> =

> Yes, but how does that help when we're using get_ok(...) ?
> =

> I accidently chopped too many lines from the previous snippet.
> =

>   print $ua->request($req)->as_string;
> =

> Gives the LWP $ua the HTML::Request $req and executes it. I can't see
> a way to feed T::W::M such a request object.
> =

> Sorry, we're straying a bit here.
> =

> Andrew

     $m =3D Test::WWW::Mechanize::Catalyst->new;
     $m->credentials('admin', 'admin');

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080123/fc82=
4efb/signature.pgp


More information about the Catalyst mailing list