Split common headers into a submodule and into their own files
This is a more extensible place to put them and doesn't clutter up header/mod.rs as much as the old scheme did. Fixes #8
This commit is contained in:
@@ -9,7 +9,8 @@ use std::io::net::tcp::TcpStream;
|
||||
use {HttpResult};
|
||||
use version::{HttpVersion};
|
||||
use method;
|
||||
use header::{Headers, ContentLength};
|
||||
use header::Headers;
|
||||
use header::common::ContentLength;
|
||||
use rfc7230::{read_request_line};
|
||||
use rfc7230::{HttpReader, SizedReader, ChunkedReader};
|
||||
use uri::RequestUri;
|
||||
|
||||
Reference in New Issue
Block a user