Implement support for responses with a fixed size. This includes adding send methods to Response and renaming ResponseWriter to Chunked. A new response type, called Raw, is also introduced, which makes it possible to stream data with a known length, such as large files.
This change does also include a change in how file::Loader changes data, some more documentation for the response module and general API polish for responses.
This will probably break every project. I'm surprised if it doesn't.
Implement support for responses with a fixed size. This includes adding send methods to
Response
and renamingResponseWriter
toChunked
. A new response type, calledRaw
, is also introduced, which makes it possible to stream data with a known length, such as large files.This change does also include a change in how
file::Loader
changes data, some more documentation for theresponse
module and general API polish for responses.This will probably break every project. I'm surprised if it doesn't.
Closes #37