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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant