-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use enumerations for specifying authentication support. This will quickly throw a value error should we hit an unknown authentication scheme instead of falling back on default behaviours that might not be correct. Always throw a key error if part of the authentication header is missing, instead of defaulting to None or empty strings. This should also help quickly catch errors if we send out invalid authentication headers.
- Loading branch information
Showing
1 changed file
with
40 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters