feat(server): make Http default its body type to hyper::Chunk

This commit is contained in:
Sean McArthur
2017-02-21 10:03:58 -08:00
parent ee58409578
commit dc97dd77f4
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ mod response;
/// This structure is used to create instances of `Server` or to spawn off tasks
/// which handle a connection to an HTTP server. Each instance of `Http` can be
/// configured with various protocol-level options such as keepalive.
pub struct Http<B> {
pub struct Http<B = ::Chunk> {
keep_alive: bool,
_marker: PhantomData<B>,
}