@abh3 requested changes 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);
Hmmm, can you also add "; resource already exists." to the text so that at least the person getting the message knows why it cannot be done?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
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