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:
Jonathan Reem
2014-09-08 16:12:47 -07:00
parent fd6b014e7e
commit f2c09c5743
17 changed files with 727 additions and 637 deletions

View File

@@ -5,7 +5,8 @@ use std::io::{BufferedWriter, IoResult};
use url::Url;
use method;
use header::{Headers, Host};
use header::Headers;
use header::common::Host;
use rfc7230::LINE_ENDING;
use version;
use {HttpResult, HttpUriError};