-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update headers in do_request method, provider.py (#129)
* Update headers in do_request method, provider.py During the push operation POST and PUT methods loose provided auth headers. It is crucial for remote registry, since further re-auth logic tries to reach registry locally. do_request method is updated to include always 'Authorization' header if it is provided. Added refresh_headers flag to allow user to keep basic auth in headers during the push flow Signed-off-by: my5cents <[email protected]>
- Loading branch information
Showing
4 changed files
with
58 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ oras.egg-info/ | |
.env | ||
env | ||
__pycache__ | ||
.python-version |
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
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
__copyright__ = "Copyright The ORAS Authors." | ||
__license__ = "Apache-2.0" | ||
|
||
__version__ = "0.1.28" | ||
__version__ = "0.1.29" | ||
AUTHOR = "Vanessa Sochat" | ||
EMAIL = "[email protected]" | ||
NAME = "oras" | ||
|