zeus icon indicating copy to clipboard operation
zeus copied to clipboard

HEAD requests not supported

Open sentry[bot] opened this issue 6 years ago • 1 comments

Sentry Issue: ZEUS-G8

KeyError: 'HEAD'
  File "zeus/api/resources/base_revision.py", line 36, in dispatch_request
    revision.repository_id, PERMISSION_MAP[request.method]
...
(6 additional frame(s) were not displayed)

KeyError: 'HEAD'

sentry[bot] avatar Feb 10 '19 19:02 sentry[bot]

Not entirely sure what we should do here, but we could just require GET permissions.

Same concern around OPTIONS.

dcramer avatar Feb 10 '19 19:02 dcramer