Re: Django HTTP Basic Auth

2012-10-18 Thread Matt Schinckel
You may want to look into requests, which wraps http request-response handling in a nicer wrapper. http://pypi.python.org/pypi/requests/ Matt. On Friday, October 19, 2012 1:15:06 PM UTC+10:30, Aaron C. de Bruyn wrote: > > On Thu, Oct 18, 2012 at 6:55 PM, django >wrote: >

Re: Django HTTP Basic Auth

2012-10-18 Thread Aaron C. de Bruyn
On Thu, Oct 18, 2012 at 6:55 PM, django wrote: > I am trying to create a Django app, one of the thing I do in that is write > a connection.py which connects to a remote server. In that connection > string I need to send one of the parameter as "http_auth = >

Django HTTP Basic Auth

2012-10-18 Thread django
I am trying to create a Django app, one of the thing I do in that is write a connection.py which connects to a remote server. In that connection string I need to send one of the parameter as "http_auth = http_auth.HTTPBasicAuth(user, password)". I am not sure how to do that in Django. I