Writing a secure web client?
Ian Bicking
ianb at colorstudy.com
Tue Jul 16 17:53:50 EDT 2002
WebUnit <http://webunit.sourceforge.net/> contains HTTPSession, which
does just what you want.
On Tue, 2002-07-16 at 16:46, CA wrote:
> I am trying to write a web client in python that first authenticates to
> a secure url, then posts to a form using the secure session cookie. The
> problem that I am having is follows:
>
> I can post to the secure form and get the session cookie back into a
> Cookie.SmartCookie. How do I use this cookie to subsequently post to a
> form using that session id?
>
> For example:
>
> http://domain.com/restricted/login.cgi
>
> Post here, get cookie
>
> http://domain.com/restricted/stuff/dosomething.cgi
>
> Now post to this form, or others below /restricted
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> CA
>
>
>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list