@sfayer commented on this pull request. > @@ -2692,8 +2692,12 @@ int XrdHttpReq::PostProcessHTTPReq(bool final_) { { if (xrdresp != kXR_ok) { - prot->SendSimpleResp(httpStatusCode, NULL, NULL, - httpStatusText.c_str(), httpStatusText.length(), false); + if (xrderrcode == kXR_ItExists) { + prot->SendSimpleResp(405, NULL, NULL, (char *) "Method is not allowed", 0, false); Sure, I've updated the return text. -- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/1669#discussion_r842503829 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