Skip to content

Commit

Permalink
Merge pull request #876 from PerilousApricot/patch-1
Browse files Browse the repository at this point in the history
Return correct content-range header
  • Loading branch information
ffurano committed Dec 18, 2018
2 parents e8a0dc7 + b32eb30 commit dba612b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdHttp/XrdHttpReq.cc
Expand Up @@ -1925,7 +1925,7 @@ int XrdHttpReq::PostProcessHTTPReq(bool final_) {
char buf[64];

XrdOucString s = "Content-Range: bytes ";
sprintf(buf, "%lld-%lld/%d", rwOps[0].bytestart, rwOps[0].byteend, cnt);
sprintf(buf, "%lld-%lld/%lld", rwOps[0].bytestart, rwOps[0].byteend, filesize);
s += buf;


Expand Down

0 comments on commit dba612b

Please sign in to comment.