@esindril commented on this pull request. > @@ -1528,7 +1528,7 @@ int XrdHttpProtocol::StartSimpleResp(int code, const char *desc, const char *hea if ((bodylen >= 0) && (code != 100)) ss << "Content-Length: " << bodylen << crlf; - if (header_to_add) + if (header_to_add && strlen(header_to_add)) I update the pull request to cover also the `StartChunkedResp` - I think these two are the only occurrences. -- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/1971#discussion_r1143386081 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