RanaPriyansh opened a new pull request, #858:
URL: https://github.com/apache/arrow-rs-object-store/pull/858

   # Which issue does this PR close?
   
   Closes #806. Related to #846.
   
   # Rationale for this change
   
   The HTTP client rejects complete HTTP 200 responses when a requested range 
covers the entire object.
   
   # What changes are included in this PR?
   
   Accept HTTP 200 when the complete response satisfies the requested range. 
Ignore Content-Range on these responses. Preserve HTTP 206 validation and 
reject complete responses for requests that cover only part of the object.
   
   For body retries, require the response size to match the exact remaining 
range. Preserve ETag checks.
   
   Tests cover bounded, offset and suffix ranges, empty objects, misleading 
headers, rejection cases, and body retries.
   
   On Rust 1.97.0, the two HTTP regressions fail on the unchanged baseline. The 
candidate passes 11 public range tests, 7 shared HTTP tests, and the HTTP 
library suite (137 passed, 1 ignored). Formatting and strict 
all-feature/all-target Clippy pass. External cloud integration tests were not 
run.
   
   AI assistance through OpenAI Codex produced the implementation, tests, and 
draft text.
   
   # Are there any user-facing changes?
   
   Range requests that cover the entire object can accept HTTP 200 responses. 
No public API signatures change.
   


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