The Apache Haus Forum

Advanced search  


Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: For a “HTTP/1.1 200 OK” response the “Content-Length:” is missing in the header.  (Read 4886 times)

[email protected]

  • Newbie
  • *
  • Offline Offline
  • Posts: 5

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
Pages: [1]   Go Up

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13