tustvold opened a new issue, #225:
URL: https://github.com/apache/arrow-rs-object-store/issues/225

   **Describe the bug**
   <!--
   A clear and concise description of what the bug is.
   -->
   
   
[reqwest::error_for_status_by_ref](https://docs.rs/reqwest/latest/reqwest/struct.Response.html#method.error_for_status_ref)
 treats a 300 response as a successful request.
   
   **To Reproduce**
   <!--
   Steps to reproduce the behavior:
   -->
   
   Currently there is a bug where if S3 has the wrong region, it receives a 
redirect response which doesn't get handled correctly. This gets interpreted as 
a success.
   
   **Expected behavior**
   <!--
   A clear and concise description of what you expected to happen.
   -->
   
   An unhandled redirect should be an error
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to