mirror of
https://github.com/fafhrd91/actix-web
synced 2024-12-18 01:43:58 +01:00
doc strings
This commit is contained in:
parent
7591592279
commit
8994732227
@ -1,10 +1,10 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
## 0.4.0 (2018-02-..)
|
## 0.4.0 (2018-02-28)
|
||||||
|
|
||||||
* Actix 0.5 compatibility
|
* Actix 0.5 compatibility
|
||||||
|
|
||||||
* Fix request json loader
|
* Fix request json/urlencoded loaders
|
||||||
|
|
||||||
* Simplify HttpServer type definition
|
* Simplify HttpServer type definition
|
||||||
|
|
||||||
|
@ -17,9 +17,10 @@ use error::{ParseError, ContentTypeError,
|
|||||||
HttpRangeError, PayloadError, UrlencodedError};
|
HttpRangeError, PayloadError, UrlencodedError};
|
||||||
|
|
||||||
|
|
||||||
|
/// Trait that implements general purpose operations on http messages
|
||||||
pub trait HttpMessage {
|
pub trait HttpMessage {
|
||||||
|
|
||||||
/// Read the Message Headers.
|
/// Read the message headers.
|
||||||
fn headers(&self) -> &HeaderMap;
|
fn headers(&self) -> &HeaderMap;
|
||||||
|
|
||||||
/// Read the request content type. If request does not contain
|
/// Read the request content type. If request does not contain
|
||||||
|
Loading…
Reference in New Issue
Block a user