Re: [Tutor] password protection in httplib

2006-03-03 Thread Andre Engels
Thanks for your answers! It is working now! 2006/3/3, Kent Johnson <[EMAIL PROTECTED]>: > Andre Engels wrote: > > 2006/3/3, Kent Johnson <[EMAIL PROTECTED]>: > > > > > >>Have you tried using a CookieManager as shown in the first example here: > >>http://docs.python.org/lib/cookielib-examples.html

Re: [Tutor] password protection in httplib

2006-03-03 Thread Kent Johnson
Andre Engels wrote: > 2006/3/3, Kent Johnson <[EMAIL PROTECTED]>: > > >>Have you tried using a CookieManager as shown in the first example here: >>http://docs.python.org/lib/cookielib-examples.html >> >>Once you set up your opener with a CookieJar the cookies should be >>handled automatically - i

Re: [Tutor] password protection in httplib

2006-03-03 Thread Andre Engels
2006/3/3, Kent Johnson <[EMAIL PROTECTED]>: > Have you tried using a CookieManager as shown in the first example here: > http://docs.python.org/lib/cookielib-examples.html > > Once you set up your opener with a CookieJar the cookies should be > handled automatically - if a server sets a cookie it

Re: [Tutor] password protection in httplib

2006-03-03 Thread Kent Johnson
Andre Engels wrote: > 2006/3/2, Kent Johnson <[EMAIL PROTECTED]>: > >>Andre Engels wrote: >> >>>Thanks for your help; it brought me quite a bit farther, but not as >>>far as I wanted to come. The authentication is basic authentication, >>>and I have been able to adapt the programs so that I now ge

Re: [Tutor] password protection in httplib

2006-03-03 Thread Andre Engels
2006/3/2, Kent Johnson <[EMAIL PROTECTED]>: > Andre Engels wrote: > > Thanks for your help; it brought me quite a bit farther, but not as > > far as I wanted to come. The authentication is basic authentication, > > and I have been able to adapt the programs so that I now get my pages > > correctly.

Re: [Tutor] password protection in httplib

2006-03-02 Thread Kent Johnson
Andre Engels wrote: > Thanks for your help; it brought me quite a bit farther, but not as > far as I wanted to come. The authentication is basic authentication, > and I have been able to adapt the programs so that I now get my pages > correctly. > > However, the program uses not only 'GET' operati

Re: [Tutor] password protection in httplib

2006-03-02 Thread Andre Engels
Thanks for your help; it brought me quite a bit farther, but not as far as I wanted to come. The authentication is basic authentication, and I have been able to adapt the programs so that I now get my pages correctly. However, the program uses not only 'GET' operations, but also 'PUT' operations.

Re: [Tutor] password protection in httplib

2006-03-01 Thread Kent Johnson
Andre Engels wrote: > I am active in pywikipediabot, which is programmed in Python and is > used to edit wikis (based on MediaWiki, such as Wikpedia). It uses > httplib to connect to the site and get the HTML data. > > I now want to use it on another site, but this site is password > protected (we