mirror of https://github.com/zulip/zulip.git
0846ebd4b5
For beanstalk we need to provide a decorator that converts %40 to @ in the http basic auth part of the URL. However, if we put our own wrapper around rest_dispatch, the Django CSRF protection jumps in. This requires us to put @csrf_exempt on our extra dispatch function, at which point we might as well have avoided rest_dispatch in the first place and put a @csrf_exempt decorator on our api_beanstalk_webhook. (imported from commit b1f459aad26a5b80cce93f6c859240a53c11cc22) |
||
---|---|---|
.. | ||
__init__.py | ||
authhack.py | ||
backends.py | ||
ratelimit.py | ||
settings.py | ||
test_settings.py | ||
urls.py | ||
wsgi.py |