Yup, this seems to work well on a file:
> PROPFIND //user/ligo/frames/S6/LDAShoftC02/LHO/H-H1_LDAS_C02_L2-9716/H-H1_LDAS_C02_L2-971622144-128.gwf HTTP/1.1
> User-Agent: curl/7.29.0
> Host: example.unl.edu:1094
> Accept: */*
>
< HTTP/1.1 207 Multi-Status
< Content-Length: 644
< Content-Type: text/xml; charset="utf-8"
<
<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:ns1="http://apache.org/dav/props/" xmlns:ns0="DAV:">
<D:response xmlns:lp1="DAV:" xmlns:lp2="http://apache.org/dav/props/" xmlns:lp3="LCGDM:">
<D:href>/user/ligo/frames/S6/LDAShoftC02/LHO/H-H1_LDAS_C02_L2-9716/H-H1_LDAS_C02_L2-971622144-128.gwf</D:href>
<D:propstat>
<D:prop>
<lp1:getcontentlength>16139370</lp1:getcontentlength>
<lp1:getlastmodified>Tue, 31 Jan 2017 04:52:18 GMT</lp1:getlastmodified>
<lp1:iscollection>0</lp1:iscollection>
<lp1:executable>F</lp1:executable>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
gfal-ls
seems happy with the response, although it's unhappy with the ctime
:
$ gfal-ls -l https://example.unl.edu:1094//user/ligo/frames/S6/LDAShoftC02/LHO/H-H1_LDAS_C02_L2-9716/H-H1_LDAS_C02_L2-971622144-128.gwf
-rwxr-xr-x 0 0 0 16139370 Dec 31 1969 https://example.unl.edu:1094//user/ligo/frames/S6/LDAShoftC02/LHO/H-H1_LDAS_C02_L2-9716/H-H1_LDAS_C02_L2-971622144-128.gwf
What are you getting in terms of the server-side log?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"@context":"http://schema.org","@type":"EmailMessage","potentialAction":{"@type":"ViewAction","target":"https://github.com/xrootd/xrootd/issues/691#issuecomment-391411967","url":"https://github.com/xrootd/xrootd/issues/691#issuecomment-391411967","name":"View Issue"},"description":"View this Issue on GitHub","publisher":{"@type":"Organization","name":"GitHub","url":"https://github.com"}}
{"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://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"PERSON","message":"@bbockelm in #691: Yup, this seems to work well on a file:\r\n```\r\n\u003e PROPFIND //user/ligo/frames/S6/LDAShoftC02/LHO/H-H1_LDAS_C02_L2-9716/H-H1_LDAS_C02_L2-971622144-128.gwf HTTP/1.1\r\n\u003e User-Agent: curl/7.29.0\r\n\u003e Host: example.unl.edu:1094\r\n\u003e Accept: */*\r\n\u003e \r\n\u003c HTTP/1.1 207 Multi-Status\r\n\u003c Content-Length: 644\r\n\u003c Content-Type: text/xml; charset=\"utf-8\"\r\n\u003c \r\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\r\n\u003cD:multistatus xmlns:D=\"DAV:\" xmlns:ns1=\"http://apache.org/dav/props/\" xmlns:ns0=\"DAV:\"\u003e\r\n\u003cD:response xmlns:lp1=\"DAV:\" xmlns:lp2=\"http://apache.org/dav/props/\" xmlns:lp3=\"LCGDM:\"\u003e\r\n\u003cD:href\u003e/user/ligo/frames/S6/LDAShoftC02/LHO/H-H1_LDAS_C02_L2-9716/H-H1_LDAS_C02_L2-971622144-128.gwf\u003c/D:href\u003e\r\n\u003cD:propstat\u003e\r\n\u003cD:prop\u003e\r\n\u003clp1:getcontentlength\u003e16139370\u003c/lp1:getcontentlength\u003e\r\n\u003clp1:getlastmodified\u003eTue, 31 Jan 2017 04:52:18 GMT\u003c/lp1:getlastmodified\u003e\r\n\u003clp1:iscollection\u003e0\u003c/lp1:iscollection\u003e\r\n\u003clp1:executable\u003eF\u003c/lp1:executable\u003e\r\n\u003c/D:prop\u003e\r\n\u003cD:status\u003eHTTP/1.1 200 OK\u003c/D:status\u003e\r\n\u003c/D:propstat\u003e\r\n\u003c/D:response\u003e\r\n\u003c/D:multistatus\u003e\r\n```\r\n\r\n`gfal-ls` seems happy with the response, although it's unhappy with the `ctime`:\r\n\r\n```\r\n$ gfal-ls -l https://example.unl.edu:1094//user/ligo/frames/S6/LDAShoftC02/LHO/H-H1_LDAS_C02_L2-9716/H-H1_LDAS_C02_L2-971622144-128.gwf \r\n-rwxr-xr-x 0 0 0 16139370 Dec 31 1969 https://example.unl.edu:1094//user/ligo/frames/S6/LDAShoftC02/LHO/H-H1_LDAS_C02_L2-9716/H-H1_LDAS_C02_L2-971622144-128.gwf\r\n```\r\n\r\nWhat are you getting in terms of the server-side log?"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/691#issuecomment-391411967"}}}
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "37567f93-e2a7-4e2a-ad37-a9160fc62647",
"title": "Re: [xrootd/xrootd] (HTTP) PROPFIND on files fails with 404 (#691)",
"sections": [
{
"text": "",
"activityTitle": "**Brian Bockelman**",
"activityImage": "https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png",
"activitySubtitle": "@bbockelm",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"xrootd/xrootd\",\n\"issueId\": 691,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"xrootd/xrootd\",\n\"issueId\": 691\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/xrootd/xrootd/issues/691#issuecomment-391411967"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 327319225\n}"
}
],
"themeColor": "26292E"
}
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