Fetching a Blob URL with an unbounded Range header do not generate a Content-Range response header
Created attachment 455304 [details] Patch
Comment on attachment 455304 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=455304&action=review > Source/WebKit/NetworkProcess/NetworkDataTaskBlob.cpp:279 > + } seems to be a lot of duplicated code around here.
Committed r291622 (248715@main): <https://commits.webkit.org/248715@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 455304 [details].
<rdar://problem/90637966>
Comment on attachment 455304 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=455304&action=review > Source/WebKit/NetworkProcess/NetworkDataTaskBlob.cpp:276 > + rangeEnd = m_totalSize - 1; Why is -1 correct?
(In reply to Darin Adler from comment #5) > Comment on attachment 455304 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=455304&action=review > > > Source/WebKit/NetworkProcess/NetworkDataTaskBlob.cpp:276 > > + rangeEnd = m_totalSize - 1; > > Why is -1 correct? Because a Content-Range header's "range end" is inclusive. (Which I agree is weird from a C++ POV.)
*** Bug 238113 has been marked as a duplicate of this bug. ***