basic http authentication

2009-12-12 Thread Alessandro Ronchi
I need to make a view with a basic html authentication (because I need to use that url in a program that parse the result). I need to authenticate against the check of a permission. What's the best way to do that? -- Alessandro Ronchi http://www.soasi.com SOASI - Sviluppo Software e Sistemi Op

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 (

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 au

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 G