style changes
This commit is contained in:
@@ -520,6 +520,7 @@ pub type RequestLine = (method::Method, uri::RequestUri, HttpVersion);
|
|||||||
|
|
||||||
/// Read the `RequestLine`, such as `GET / HTTP/1.1`.
|
/// Read the `RequestLine`, such as `GET / HTTP/1.1`.
|
||||||
pub fn read_request_line<R: Reader>(stream: &mut R) -> HttpResult<RequestLine> {
|
pub fn read_request_line<R: Reader>(stream: &mut R) -> HttpResult<RequestLine> {
|
||||||
|
debug!("read request line");
|
||||||
let method = try!(read_method(stream));
|
let method = try!(read_method(stream));
|
||||||
debug!("method = {}", method);
|
debug!("method = {}", method);
|
||||||
let uri = try!(read_uri(stream));
|
let uri = try!(read_uri(stream));
|
||||||
|
|||||||
Reference in New Issue
Block a user