HTTP basic authentication with form-based authentication

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Max

    HTTP basic authentication with form-based authentication

    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?
  • Wojtek Walczak

    #2
    Re: HTTP basic authentication with form-based authentication

    Dnia Thu, 7 Aug 2008 11:14:05 -0700 (PDT), Max napisa³(a):
    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?
    Use ClientCookie or even better - mechanize:

    The docs aren't perfect, but you should easily
    find what you are searching for.

    --
    Regards,
    Wojtek Walczak,

    Comment

    • Max

      #3
      Re: HTTP basic authentication with form-based authentication

      On Aug 7, 3:54 pm, Wojtek Walczak
      <gmin...@nie.ma .takiego.adresu .w.sieci.plwrot e:
      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.

      Comment

      • Max

        #4
        Re: HTTP basic authentication with form-based authentication

        On Aug 7, 3:54 pm, Wojtek Walczak
        <gmin...@nie.ma .takiego.adresu .w.sieci.plwrot e:
        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.

        Comment

        Working...