The Apache Haus Forum

Forum Topics => Apache 2.4 => Topic started by: [email protected] on January 11, 2017, 05:03:55 AM

Title: For a “HTTP/1.1 200 OK” response the “Content-Length:” is missing in the header.
Post by: [email protected] on January 11, 2017, 05:03:55 AM
For a "HTTP/1.1 200 OK" response with a body of just text, how do I force Apache to send  "Content-Length:", the length being the length of the body of text. It sends "Transfer-Encoding: chunked" but no  "Content-Length:".  In fact is there way to instruct Apache to take what I give and keep your hands out of the reply.   What I want is a "HTTP/1.1 200 OK" reply with a line of text and "Content-Length:" specified in the header. I don't need Apache to generate the "Content-Length:" line, I can do that and pass it over. Thanks. Roger
Title: Re: For a “HTTP/1.1 200 OK” response the “Content-Length:” is missing in the header.
Post by: Gregg on January 11, 2017, 08:58:03 PM
http://serverfault.com/questions/59047/apache-sending-transfer-encoding-chunked