HTTP basic authentication with form-based authentication

Discussion in 'Python' started by Max, Aug 7, 2008.

  1. Max

    Max Guest

    Following the tutorial at http://personalpages.tds.net/~kent37/kk/00010.html,
    I understand how to access HTTP basic authenticated pages or form-
    based authenticated pages. How would I access a page protected by both
    form-based authentication (using cookies) *and* HTTP basic
    authentication?
     
    Max, Aug 7, 2008
    #1
    1. Advertising

  2. Max

    Max Guest

    On Aug 7, 3:54 pm, Wojtek Walczak
    <> wrote:
    > Dnia Thu, 7 Aug 2008 11:14:05 -0700 (PDT), Max napisa³(a):


    > Use ClientCookie or even better - mechanize:http://pypi.python.org/pypi/mechanize/
    > The docs aren't perfect, but you should easily
    > find what you are searching for.


    Thank you; mechanize is perfect. The example at http://wwwsearch.sourceforge.net/mechanize/
    provided enough information for my problem.
     
    Max, Aug 8, 2008
    #2
    1. Advertising

  3. Max

    Max Guest

    On Aug 7, 3:54 pm, Wojtek Walczak
    <> wrote:
    > Dnia Thu, 7 Aug 2008 11:14:05 -0700 (PDT), Max napisa³(a):


    > Use ClientCookie or even better - mechanize:http://pypi.python.org/pypi/mechanize/
    > The docs aren't perfect, but you should easily
    > find what you are searching for.


    Thank you; mechanize is perfect. The example at http://wwwsearch.sourceforge.net/mechanize/
    provided enough information for my problem.
     
    Max, Aug 8, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dom
    Replies:
    0
    Views:
    468
  2. Dom
    Replies:
    0
    Views:
    510
  3. Replies:
    0
    Views:
    395
  4. kitchai yong via .NET 247

    authenticate win32 form client with form based authentication web services

    kitchai yong via .NET 247, May 13, 2004, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    228
    Jan Tielens
    May 13, 2004
  5. Nacho Nachev
    Replies:
    2
    Views:
    906
Loading...

Share This Page