Rename rfc7230 to http to more clearly indicate its purpose.

This commit is contained in:
Jonathan Reem
2014-09-09 17:37:01 -07:00
parent b90341309f
commit 2aabf1b8e6
7 changed files with 9 additions and 9 deletions

View File

@@ -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.