Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #72902 > unrolled thread

Re: http.server.BaseHTTPRequestHandler basic auth logout? Django authentication system for REST interface?

Started bydieter <dieter@handshake.de>
First post2014-06-07 08:23 +0200
Last post2014-06-07 08:23 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: http.server.BaseHTTPRequestHandler basic auth logout? Django authentication system for REST interface? dieter <dieter@handshake.de> - 2014-06-07 08:23 +0200

#72902 — Re: http.server.BaseHTTPRequestHandler basic auth logout? Django authentication system for REST interface?

Fromdieter <dieter@handshake.de>
Date2014-06-07 08:23 +0200
SubjectRe: http.server.BaseHTTPRequestHandler basic auth logout? Django authentication system for REST interface?
Message-ID<mailman.10845.1402122248.18130.python-list@python.org>
Dan Stromberg <drsalists@gmail.com> writes:

> I have some code for a web server.  Right now, it uses
> BaseHTTPRequestHandler with Basic Auth, but we want to be able to log
> out, and there doesn't appear to be a general way to log out of
> something using Basic Auth, short of turning to unportable JavaScript.

You can't: With "Basic Auth", the login is handled by the browser
(and not the server). This implies, that you must tell the browser
to logout (and not the server). There is no "standard way" to
tell the browser to logout.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web