Commit Graph
2 Commits
Author SHA1 Message Date
MoraxandNick Craig-Wood 69e5aff2a9 lib/rest: validate ranged responses
Add response validation for calls made with Range open options. Verify
Content-Range, Content-Length, response status, and the complete
representation size before a backend accepts the response body.

Return a shared sentinel when a server ignores a partial range so callers
can avoid retrying the same unsupported request.
2026-08-14 18:40:40 +02:00
Arnie97andNick Craig-Wood 6a5b7664f7 backend/http: support content-range response header 2022-11-08 13:04:17 +00:00