Closed acrellin closed 2 years ago
@stefanv updated (though not sure what you're suggesting with the latter comment)
I just meant that we are doing a generic catch, instead of checking the form of the header explicitly.
Ah, don't lines 22-23 do just that?
Hrm, yes, you're right; so what is this error that we are catching? How will it typically arise?
This catches the case where no Authorization header was provided (or it was malformed) and the user is not already logged in
Thanks!
Hello @acrellin! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
app/access.py
:Comment last updated at 2021-09-14 17:57:42 UTC