On Tue, Dec 22, 2009 at 2:38 PM, Alex Black <a...@alexblack.ca> wrote:

> I've got a large response I'd like to send out, and I'd like to chunk
> it up.
>
> http://en.wikipedia.org/wiki/Chunked_transfer_encoding
>
> Does Lift provide any built in support for this?
>

No.


>
> I've explored using StreamingResponse, but it expects a dataLength,
> which I don't have.  I had hoped to provide it a stream which would
> provide each chunk.
>
> Is there a lower level mechanism to write data out?
>

Not really.  Can you describe your use case a little more?  For very large
responses (e.g., a large PDF), in what case would you not know the length?


>
> - Alex
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to lift...@googlegroups.com.
> To unsubscribe from this group, send email to
> liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to