hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LongkerDandy <longkerda...@gmail.com>
Subject Content-Length with streaming content
Date Fri, 29 Apr 2011 01:08:20 GMT
Hi

I have a http server send streaming content to clients.
I don't know the size of the content because it keep increasing,  like a
file being written by another thread or streaming content from web.
The server supposes to keep sending until the file in finished or web
content reach ends.

I wrote a customer HttpEnity, but I don't know how should I return
Content-Length header.
Should I return a fake number or omit this header?

Thanks for advise
LongkerDandy

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message