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
The spec currently outlines the process for adding a Range header to a request:
To add a range header to a request request, with an integer first, and an optional integer last, run these steps:
Let rangeValue be `bytes `.
Serialize and isomorphic encode first, and append the result to rangeValue.
Append 0x2D (-) to rangeValue.
If last is given, then serialize and isomorphic encode it, and append the result to rangeValue.
Append `Range`/rangeValue to request’s header list.
As an example, if first and last had values of 3 and 5, I think this would result in a Range header value of bytes 3-5 when it should be bytes=3-5, with 0x3D (=) as the separator.
Snapshot: d20e8c9
The spec currently outlines the process for adding a
Range
header to a request:As an example, if first and last had values of 3 and 5, I think this would result in a
Range
header value ofbytes 3-5
when it should bebytes=3-5
, with 0x3D (=) as the separator.Per RFC 7233 §2.1:[1]
It should be a simple enough fix, unless I'm missing something:
I'm willing to open a PR for this, if that would be useful.
The text was updated successfully, but these errors were encountered: