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
> 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
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
3 matches
Mail list logo