Print

Print


Hello,

When accessing files over HTTPS, accessing subsets of the file with the Range header returns the following header for a 16kB read content-read: bytes 0-16384/16385.

According to the HTTP spec, however, the number after the slash (e.g. 16385) should be the length of the whole document, and not the length of the range that was just returned (ref [1] [2]).

I can trigger this on 4.8.5-1.osg34.el7

Cheers
Andrew

[1] https://tools.ietf.org/html/rfc7233#page-12
[2] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"HTTP content-range (#875)"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/875"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/875", "url": "https://github.com/xrootd/xrootd/issues/875", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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