Just tested this on a local server:
$ curl -H 'Range: bytes=0-5' -v http://host.example.com:8000//tmp/xrootd_export/hello_world
* About to connect() to host.example.com port 8000 (#0)
* Trying 1:2:3:4:5:6:7:8...
* Connected to host.example.com (1:2:3:4:5:6:7:8) port 8000 (#0)
> GET //tmp/xrootd_export/hello_world HTTP/1.1
> User-Agent: curl/7.29.0
> Host: host.example.com:8000
> Accept: */*
> Range: bytes=0-5
>
< HTTP/1.1 206 Partial Content
< Connection: Keep-Alive
< Content-Length: 6
< Content-Range: bytes 0-5/14
<
Looks good to me! Would be reasonable to squeeze this in for 4.9.0.
—
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":"PERSON","message":"@bbockelm in #876: Just tested this on a local server:\r\n```\r\n$ curl -H 'Range: bytes=0-5' -v http://host.example.com:8000//tmp/xrootd_export/hello_world\r\n* About to connect() to host.example.com port 8000 (#0)\r\n* Trying 1:2:3:4:5:6:7:8...\r\n* Connected to host.example.com (1:2:3:4:5:6:7:8) port 8000 (#0)\r\n\u003e GET //tmp/xrootd_export/hello_world HTTP/1.1\r\n\u003e User-Agent: curl/7.29.0\r\n\u003e Host: host.example.com:8000\r\n\u003e Accept: */*\r\n\u003e Range: bytes=0-5\r\n\u003e \r\n\u003c HTTP/1.1 206 Partial Content\r\n\u003c Connection: Keep-Alive\r\n\u003c Content-Length: 6\r\n\u003c Content-Range: bytes 0-5/14\r\n\u003c \r\n```\r\n\r\nLooks good to me! Would be reasonable to squeeze this in for 4.9.0."}],"action":{"name":"View Pull Request","url":"https://github.com/xrootd/xrootd/pull/876#issuecomment-446627368"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/xrootd/xrootd/pull/876#issuecomment-446627368",
"url": "https://github.com/xrootd/xrootd/pull/876#issuecomment-446627368",
"name": "View Pull Request"
},
"description": "View this Pull Request 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