Hi, it took some effort to me to understand this thread, mixing various things. I would summarize this issue as "XrdHTTP assumes that the path refers to a directory if Depth=1 is specified on a PROPFIND request on a file". Should be not terrible to fix. I pasted here two examples, showing the issue. (Please do not assume that littlexrdhttp will work for you in the future, that's my playground) Example of a working PROPFIND: $ davix-http -X PROPFIND -P grid https://littlexrdhttp.cern.ch:1094/1M --trace header HTTP session to https://littlexrdhttp.cern.ch:1094 begins. > PROPFIND /1M HTTP/1.1 > User-Agent: libdavix/0.7.1 neon/0.0.29 > Keep-Alive: > Connection: Keep-Alive > TE: trailers > Host: littlexrdhttp.cern.ch:1094 > < HTTP/1.1 207 Multi-Status < Connection: Keep-Alive < Content-Length: 553 < 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>/1M</D:href> <D:propstat> <D:prop> <lp1:getcontentlength>1048576</lp1:getcontentlength> <lp1:getlastmodified>Wed, 04 Oct 2017 14:57:10 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> Example of a troubled PROPFIND: $ davix-http -X PROPFIND -H "Depth: 1" -P grid https://littlexrdhttp.cern.ch:1094/1M --trace header HTTP session to https://littlexrdhttp.cern.ch:1094 begins. > PROPFIND /1M HTTP/1.1 > User-Agent: libdavix/0.7.1 neon/0.0.29 > Keep-Alive: > Connection: Keep-Alive > TE: trailers > Host: littlexrdhttp.cern.ch:1094 > Depth: 1 > < HTTP/1.1 500 Internal Server Error < Connection: Close < Content-Length: 46 < Unable to open directory /1M; not a directory (Davix::HttpRequest) Error: HTTP 500 : Unexpected server error: 500 -- 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/issues/691#issuecomment-467869889 ######################################################################## 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