drf-httpsig icon indicating copy to clipboard operation
drf-httpsig copied to clipboard

NameError: name 'required_headers' is not defined

Open cveilleux opened this issue 7 years ago • 0 comments

"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

cveilleux avatar Apr 19 '18 19:04 cveilleux