In the yakitychat code we are currently abusing the Protocols.HTTP.Server.Request objects to do comet-like streaming using chunked-encoding. Right now we are just taking over the Stdio.File object but it would be nicer if the Request api had something like a send() function to send chunked encoded data. I was thinking about merging those portions of the into the Protocols.HTTP.Server.Request code. Is there anyone who already did this or has there been a discussion about the api?
arne
If Server.Request doesn't support chunked-encoding I'm sure it wouldn't be bad if it was added. :)
(Although I personally never really saw the need for it since TCP allows you to send any chunks you want already.)
pike-devel@lists.lysator.liu.se