rustup: sweeping fixes for all the changes in 1.0-alpha
- Some switches to u64 instead of usize - For now, allow(unstable) - use associated types for all the Network stuff
This commit is contained in:
@@ -39,8 +39,7 @@ impl<'a> Request<'a> {
|
||||
let (method, uri, version) = try!(read_request_line(&mut stream));
|
||||
debug!("Request Line: {:?} {:?} {:?}", method, uri, version);
|
||||
let headers = try!(Headers::from_raw(&mut stream));
|
||||
debug!("Headers: [\n{:?}]", headers);
|
||||
|
||||
debug!("{:?}", headers);
|
||||
|
||||
let body = if method == Get || method == Head {
|
||||
EmptyReader(stream)
|
||||
|
||||
Reference in New Issue
Block a user