-
-
Notifications
You must be signed in to change notification settings - Fork 646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix S3 URL Handler for good #19285
Fix S3 URL Handler for good #19285
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay! Approved because it supposedly works, but... I don't understand the moving parts, so I'm surprised that this is:
- importing from
http
rather thanbotocore
- no longer explicitly setting the header as previously suggested was necessary as a workaround
Could you clarify those?
I also suspect this needs cherry-picking tagging?
At first I was hesitant to use the botocore type, but I decided to go for it. For 2, now that we're using the correct type, we no longer are hitting the previous bug (the real type is mapping-like but not a dict. Using a dict made us need to workaround. Using the real type responds exactly as expected because, well, it's the real type). |
Makes sense, thanks for explaining! 👍 |
See https://github.com/boto/botocore/blob/0c833f28b1d87883c7aeb4aed8a05860af1ec34a/botocore/compat.py#L37 this type should work in all cases. I tried both locally and in my CI (token auth) Also UGH 😓
See https://github.com/boto/botocore/blob/0c833f28b1d87883c7aeb4aed8a05860af1ec34a/botocore/compat.py#L37 this type should work in all cases. I tried both locally and in my CI (token auth) Also UGH 😓
See https://github.com/boto/botocore/blob/0c833f28b1d87883c7aeb4aed8a05860af1ec34a/botocore/compat.py#L37 this type should work in all cases. I tried both locally and in my CI (token auth) Also UGH 😓 Co-authored-by: Joshua Cannon <[email protected]>
See https://github.com/boto/botocore/blob/0c833f28b1d87883c7aeb4aed8a05860af1ec34a/botocore/compat.py#L37 this type should work in all cases. I tried both locally and in my CI (token auth) Also UGH 😓 Co-authored-by: Joshua Cannon <[email protected]>
See https://github.com/boto/botocore/blob/0c833f28b1d87883c7aeb4aed8a05860af1ec34a/botocore/compat.py#L37 this type should work in all cases.
I tried both locally and in my CI (token auth)
Also UGH 😓