johnpyp commented on issue #2795:
URL: https://github.com/apache/arrow-rs/issues/2795#issuecomment-2285045976

   Yeah, I think I agree in principle particularly for users who are directly 
consuming `object_store` with their own well-known configuration.
   
   In cases like the `datafusion-cli` where it may be more desirable for 
ease-of-use reasons to swallow the issue (or warn but continue gracefully), it 
seems better to not require the additional `HEAD` request, so exposing the 
corrective-region on the error would at least help avoid needing *three* 
requests to auto-correct instead of two.
   
   Would you be opposed to adding a `redirect_region` (and maybe 
`redirect_url`) field to the `BareRedirect` enum member for that usecase?


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