content limited and bogus chunk

This commit is contained in:
Martin Algesten
2018-06-11 21:59:37 +02:00
parent 5be3aef553
commit 4ca0914f9a
3 changed files with 85 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ use url::Url;
use util::vecread::VecRead;
mod simple;
mod body_read;
type RequestHandler = Fn(&Request, &Url) -> Result<Stream, Error> + Send + 'static;