diff options
author | Kali Kaneko <kali@leap.se> | 2017-02-14 23:40:29 +0100 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-02-15 01:20:57 +0100 |
commit | ccb280703ba851265702b8a92cdedb294cc93608 (patch) | |
tree | a2fc6844b3f10707a4c04f073b3711cc7c24fed0 /testing/setup.py | |
parent | ed85f545a9965eb637c1544b3973e3d68e5a602c (diff) |
[feature] authenticate as anonymous if no token in header
and serve / banner and robots to anon users.
instead of returning 401 for all cases, I treat the unauthenticated case
as a special case, and switch the service tree apart.
this allows to serve a different resource tree to unauthenticated users.
the new URLs are registered with the mapper.
I don't really like that dependency, could be handled by twisted alone, but meh.
- Resolves: #8764
Diffstat (limited to 'testing/setup.py')
0 files changed, 0 insertions, 0 deletions