1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-27 17:52:56 +01:00

prepare 0.4.10 release

This commit is contained in:
Nikolay Kim 2018-03-20 15:53:39 -07:00
parent 70caa2552b
commit ce6d237cc1
2 changed files with 1 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# Changes
## 0.4.10 (2018-03-xx)
## 0.4.10 (2018-03-20)
* Use `Error` instead of `InternalError` for `error::ErrorXXXX` methods

View File

@ -504,13 +504,7 @@ impl Reader {
httparse::Status::Complete(len) => {
let method = Method::from_bytes(req.method.unwrap().as_bytes())
.map_err(|_| ParseError::Method)?;
//let path = req.path.unwrap();
//let path_start = path.as_ptr() as usize - bytes_ptr;
//let path_end = path_start + path.len();
//let path = (path_start, path_end);
let path = Uri::try_from(req.path.unwrap()).unwrap();
//.map_err(|_| ParseError::Uri)?;
let version = if req.version.unwrap() == 1 {
Version::HTTP_11
} else {