Re: basic http authentication in API

2008-09-15 Thread Thomas Guettler
mark schrieb: > Hi All, > > i'am writing API for a service and i want to use basic http > authentication for my service users. > > I use this: http://code.djangoproject.com/ticket/689 HTH, Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de

Re: basic http authentication in API

2008-09-15 Thread Rajesh Dhawan
> i'am writing API for a service and i want to use basic http > authentication for my service users. > > is there is something built in django. Try something like this: auth_header = request.META['HTTP_AUTHORIZATION'] auth_type, auth_str = auth_header.split() if auth_type != 'Basic': # do so

basic http authentication in API

2008-09-15 Thread mark
Hi All, i'am writing API for a service and i want to use basic http authentication for my service users. is there is something built in django. Please advice --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djan