Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: name 'required_headers' is not defined #1

Open
cveilleux opened this issue Apr 19, 2018 · 0 comments · May be fixed by #5
Open

NameError: name 'required_headers' is not defined #1

cveilleux opened this issue Apr 19, 2018 · 0 comments · May be fixed by #5

Comments

@cveilleux
Copy link

"drf_httpsig/authentication.py", line 50, in authenticate_header
    h = " ".join(required_headers)
NameError: name 'required_headers' is not defined

This happens only if drf-httpsig is the primary auth method for DRF.

May be code should be self.required_headers

@ErwinJunge ErwinJunge linked a pull request Apr 14, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant