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:
@@ -8,7 +8,7 @@ use std::io::net::ip::Ipv4Addr;
|
||||
|
||||
use hyper::{Get, Post};
|
||||
use hyper::server::{Server, Handler, Incoming};
|
||||
use hyper::header::ContentLength;
|
||||
use hyper::header::common::ContentLength;
|
||||
|
||||
struct Echo;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user