-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better error msg if metadata contains a non us-ascii character
Pass 'é' or other non us-ascii character as a metadata value shows a signature mismatch error. The reason is that S3 server ignores those characters in headers since only US-ASCII characters are supported in HTTP headers. This commit shows an exception so users can understand better what's going on.
- Loading branch information
Showing
2 changed files
with
16 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,7 @@ | |
] | ||
|
||
requires = [ | ||
'future', | ||
'urllib3', | ||
'pytz', | ||
'certifi', | ||
|