if0ne commented on PR #607:
URL: 
https://github.com/apache/arrow-rs-object-store/pull/607#issuecomment-3762939918

   Yes, this will break authentication. In any case, the request won’t go 
through—either because of a 307 or a 401. A more complicated solution is needed 
here, so that the provider itself can decide how to handle redirects.
   
   > Should the redirect even carry the authentication header?
   
   I’m not sure, but as far as I know, this auth header-handling logic is 
implemented in reqwest.
   
   > Perhaps this instead could be implemented as a custom HttpClient?
   
   I’d be glad to know which HTTP client correctly handles redirecting a 
request body to a different URI. I tried implementing this with `ureq`, but 
that client also does not redirect the request body.


-- 
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