You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 7, 2026. It is now read-only.
This is, of course, an = in the request. This seems like senseless inconsistency in the RFC itself.
Perhaps renderByteRanges is only intended to render the byte ranges in requests? And there should be a different function for rendering byte ranges in a response? Or I am misunderstanding something?
In this function:
http-types/Network/HTTP/Types/Header.hs
Line 166 in dda6874
The
ByteRangesare render with an=sign. But according to section 14.16 of RFC2616:https://www.ietf.org/rfc/rfc2616.txt
When rendering a byte range in a
Content-Rangeheader, there is no '=',This is, of course, an = in the request. This seems like senseless inconsistency in the RFC itself.
Perhaps
renderByteRangesis only intended to render the byte ranges in requests? And there should be a different function for rendering byte ranges in a response? Or I am misunderstanding something?