HTTP Headers for Unknown Content-Length

Posted by jocull on Stack Overflow See other posts from Stack Overflow or by jocull
Published on 2010-03-07T04:33:24Z Indexed on 2010/03/08 14:51 UTC
Read the original article Hit count: 573

I am currently trying to stream content out to the web after a trans-coding process. This usually works fine by writing binary out to my web stream, but some browsers (specifically IE7, IE8) do not like not having the Content-Length defined in the HTTP header. I believe that "valid" headers are supposed to have this set.

What is the proper way to stream content to the web when you have an unknown Content-Length? The trans-coding process can take awhile, so I want to start streaming it out as it completes.

© Stack Overflow or respective owner

Related posts about http

Related posts about http-header-fields