Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

HEAD requests not supported #177

Open
sentry-io bot opened this issue Feb 10, 2019 · 1 comment
Open

HEAD requests not supported #177

sentry-io bot opened this issue Feb 10, 2019 · 1 comment

Comments

@sentry-io
Copy link

sentry-io bot commented Feb 10, 2019

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'
@dcramer
Copy link
Member

dcramer commented Feb 10, 2019

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

Same concern around OPTIONS.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant