protected static string GetResponseForContentMode(string content, ContentMode mode)
        {
            switch (mode)
            {
            case ContentMode.ContentLength:
                return(LoopbackServer.GetHttpResponse(content: content));

            case ContentMode.SingleChunk:
                return(LoopbackServer.GetSingleChunkHttpResponse(content: content));

            case ContentMode.BytePerChunk:
                return(LoopbackServer.GetBytePerChunkHttpResponse(content: content));

            default:
                Assert.True(false);
                return(null);
            }
        }