POST cgi question - slightly OT
Andre Garzia
soapdog at mac.com
Tue Oct 19 22:56:40 EDT 2004
On Oct 19, 2004, at 5:20 PM, Frank D. Engel, Jr. wrote:
> I don't think you can return more bytes than the number of particles
> in the universe ;-)
>
> There is always a limit to everything, but I don't think there is any
> "defined" limit to this. It really depends more on how much the
> client can handle -- memory size, scratch space on the disk,
> bandwidth, etc.
>
>
One trick to return huge data to the browser is to use a Chunked
Transfer-Encoding this way you can send big data by slicing it in small
parts and sending it to the browser in small amounts. The browser will
keep accepting the chunked transfer till it ends, it's better than
simply piping the whole data. To get a better knowledge of the HTTP
protocol refer to this really wonderfull text HTTP Made Really Easy
(http://www.jmarshall.com/easy/http/), this text is easy to read and
understand, it saved my life while creating revHTTPd.
Cheers
andre
PS: I never coded chunked transfer encodings, if you do so, please
share your code!!!! (if I do it first, I'll share mine) =)
--
Andre Alves Garzia ð 2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
More information about the use-livecode
mailing list