Nicolas Martyanoff on Nostr: HTTP is a huge mess. Let us take range requests: - Ranges are closed interval: "3-8" ...
HTTP is a huge mess. Let us take range requests:
- Ranges are closed interval: "3-8" includes byte 8. Makes every calculation harder and defies all conventions.
- A server can send back any subset of the requested ranges. Ask for A, get B, yup that makes total sense.
- For multiple ranges, instead of just sending back an aggregate, you must format a multipart/byteranges message from hell that has to be parsed. That's why no one supports multiple ranges.
Thank you so much IETF.
- Ranges are closed interval: "3-8" includes byte 8. Makes every calculation harder and defies all conventions.
- A server can send back any subset of the requested ranges. Ask for A, get B, yup that makes total sense.
- For multiple ranges, instead of just sending back an aggregate, you must format a multipart/byteranges message from hell that has to be parsed. That's why no one supports multiple ranges.
Thank you so much IETF.