On XRootD 5.6.1 with the HTTP plugin, the following combination of HTTP headers causes bad data to be returned: ``` X-Transfer-Status: true TE: trailers Range: bytes 0- ``` (any byte range will work, not just `0-`) namely instead of returning the file contents, it returns the content length in hex, followed by a CR/LF, followed by the actual data (minus however many bytes the length and CR/LF took). This curl command can reproduce it (assuming a server on localhost with XrdHttp listening on 1094 and a file named `/testfile`): ``` curl http://localhost:1094//testfile -i -H "Range: bytes 0-" -H "X-Transfer-Status: true" -H "TE: trailers" ``` -- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/issues/2076 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