Package repoze :: Package who :: Module classifiers
[hide private]

Module classifiers

source code

Functions [hide private]
 
default_request_classifier(environ)
Returns one of the classifiers 'dav', 'xmlpost', or 'browser', depending on the imperative logic below
source code
 
default_challenge_decider(environ, status, headers) source code
 
passthrough_challenge_decider(environ, status, headers)
Don't challenge for pre-challenged responses.
source code
Variables [hide private]
  _DAV_METHODS = ('OPTIONS', 'PROPFIND', 'PROPPATCH', 'MKCOL', '...
  _DAV_USERAGENTS = ('Microsoft Data Access Internet Publishing ...
  __package__ = 'repoze.who'
Function Details [hide private]

passthrough_challenge_decider(environ, status, headers)

source code 
Don't challenge for pre-challenged responses.

o Assume responsese with 'WWW-Authenticate' or an HTML content type
  are pre-challenged.


Variables Details [hide private]

_DAV_METHODS

Value:
('OPTIONS',
 'PROPFIND',
 'PROPPATCH',
 'MKCOL',
 'LOCK',
 'UNLOCK',
 'TRACE',
 'DELETE',
...

_DAV_USERAGENTS

Value:
('Microsoft Data Access Internet Publishing Provider',
 'WebDrive',
 'Zope External Editor',
 'WebDAVFS',
 'Goliath',
 'neon',
 'davlib',
 'wsAPI',
...