Server reply formatting (newbie)

Hi!

I'm trying to connect my java http client through the Apache 1.2
proxy to my proprietary http/1.1 server.  I can connect just fine,
but my reponse from the server doesn't seem to be compatible with
the apache 1.2 proxy.  Essentially, I am writing the following to
the response stream:

  HTTP/1.1 code status<CRLF>
  Content-Type: application/octet-stream<LF>
  Content-Length: 59<LF>
  <CRLF>
  <59 bytes of octets>


Am I missing some important detail here?  It seems to me that the
proxy server doesn't know that the end of the stream has been reached.
Aside from the content-length, is there some other method which is
expected by servers to indicate EOF (end-of-transmission rather).

Thanks!

--Jacob W. Anderson (jwa@praja.com)

Received on Tuesday, 13 January 1998 14:34:08 UTC