-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This backward-compatible patch enables authorization header type to be set. For consistency, bearer_token is renamed to authorization credentials and a new authorization type is introduced. The terminology is taken from https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization Signed-off-by: Julien Pivotto <[email protected]>
- Loading branch information
1 parent
3dae578
commit 84ebc5b
Showing
6 changed files
with
220 additions
and
42 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
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
3 changes: 3 additions & 0 deletions
3
config/testdata/http.conf.auth-creds-and-file-set.too-much.bad.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
authorization: | ||
credentials: bearertoken | ||
credentials_file: key.txt |
Oops, something went wrong.