Rename rfc7230 to http to more clearly indicate its purpose.
This commit is contained in:
		| @@ -10,8 +10,8 @@ use version::{HttpVersion}; | ||||
| use method; | ||||
| use header::Headers; | ||||
| use header::common::ContentLength; | ||||
| use rfc7230::{read_request_line}; | ||||
| use rfc7230::{HttpReader, SizedReader, ChunkedReader}; | ||||
| use http::{read_request_line}; | ||||
| use http::{HttpReader, SizedReader, ChunkedReader}; | ||||
| use net::NetworkStream; | ||||
| use uri::RequestUri; | ||||
|  | ||||
|   | ||||
| @@ -8,7 +8,7 @@ use time::now_utc; | ||||
|  | ||||
| use header; | ||||
| use header::common; | ||||
| use rfc7230::{CR, LF, LINE_ENDING}; | ||||
| use http::{CR, LF, LINE_ENDING}; | ||||
| use status; | ||||
| use net::NetworkStream; | ||||
| use version; | ||||
| @@ -30,7 +30,7 @@ pub struct Response<W: WriteStatus> { | ||||
|     /// The HTTP version of this response. | ||||
|     pub version: version::HttpVersion, | ||||
|     // Stream the Response is writing to, not accessible through UnwrittenResponse | ||||
|     body: BufferedWriter<Box<NetworkStream + Send>>, // TODO: use a HttpWriter from rfc7230 | ||||
|     body: BufferedWriter<Box<NetworkStream + Send>>, // TODO: use a HttpWriter from http | ||||
|     // The status code for the request. | ||||
|     status: status::StatusCode, | ||||
|     // The outgoing headers on this response. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user