[twitter-dev] Re: Python 3 Basic Authentication

2009-05-31 Thread Jason Emerick
I would recommend just added the authorization header directly to the request versus using the basic auth handler. I have included some sample code below of how I have been doing it. username = 'twitter' password = 'twitter' basic = base64.encodestring('%s:%s' % (username, password))[:-1]

[twitter-dev] Re: Python 3 Basic Authentication

2009-05-31 Thread Paul Kinlan
I know it is not exactly the same service, but when I authenticate against the Twitter Stream API using basic auth and python I set the Realm = None when I call add_password on the basic auth handler. Paul 2009/5/31 Jason Emerick jemer...@gmail.com I would recommend just added the authorization