Print

Print


Hi!
We're observing different results using a WebDAV client library against our XRootD instance versus a dCache, whereby it's using a `HEAD` to test for `Accept-Ranges: bytes`, and selecting subsequent functionality (such as `GET`-with-range) based on it.  Examination of the headers show it is present in the dCache response but not in XRootD's.
Our instance is only 5.4.2, so not the latest, but I think the relevant code is in [`XrdHttpProtocol::StartSimpleResp`](https://github.com/xrootd/xrootd/blob/c421d3d35041772c86576ee94200360f128f375d/src/XrdHttp/XrdHttpProtocol.cc#L1504-L1533), and it doesn't mention `Accept-Ranges`.  Could the field be included in appropriate HTTP responses?  Not sure if it could be applied unconditionally.
Thanks!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1889
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
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