JSON-RPC bump / update hyper

Conflicts:
	Cargo.lock
This commit is contained in:
Tomasz Drwięga
2016-11-24 11:22:26 +01:00
parent cd6f565f69
commit f080f33c41
4 changed files with 51 additions and 33 deletions

View File

@@ -58,7 +58,7 @@ pub fn extract_url(req: &server::Request<net::HttpStream>) -> Option<Url> {
_ => None,
}
},
uri::RequestUri::AbsolutePath(ref path) => {
uri::RequestUri::AbsolutePath { ref path, .. } => {
// Attempt to prepend the Host header (mandatory in HTTP/1.1)
let url_string = match req.headers().get::<header::Host>() {
Some(ref host) => {