[Mechanize-users] https with certificates

barsalou barjunk at attglobal.net
Wed Feb 14 17:06:47 EST 2007


Quoting Aaron Patterson <aaron_patterson at speakeasy.net>:

> On Wed, Feb 14, 2007 at 09:09:29AM -0900, barsalou wrote:
>>
>> Things are going smoother now and I notice that the first time I hit
>> the site, it always returns the 401.  This is similar in action to the
>> lynx example I talked about earlier.  I assume that all I need to do is
>> a retry for that connection and all should be well.
>
> Weird.  Are you setting the user and password before you make the
> request?

I'll double check this...

>
>> Would extending mechanize to do a single retry for a 401 be the best
>> option for me?
>
> The best option would be to figure out why you have to retry the
> request, and fix that.  Can you set a the logger on your mechanize
> object and send it in (making sure to censor sensitive info of course)?
>
>

Not sure how to 'set the logger' on my mechanize object...but would 
gladly do it, if I knew how. :)

Mike B.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the Mechanize-users mailing list