Print

Print


According to the HTTP spec, the response from a "Range" request should have a
"content-range" header in the form of "range_begin-range_end/doc_length". But
xrootd currently returns the length of the range intead of the range of the whole
file. Pass in the length of the file and additionally change the printf string since the
file size is stored in a long long
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/876

-- Commit Summary --

  * Return correct content-range header

-- File Changes --

    M src/XrdHttp/XrdHttpReq.cc (2)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/876.patch
https://github.com/xrootd/xrootd/pull/876.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/876

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1