1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-09-01 01:16:59 +02:00

port hyper header

This commit is contained in:
Nikolay Kim
2018-03-06 00:43:25 -08:00
parent e182ed33b1
commit 32b5544ad9
36 changed files with 3639 additions and 166 deletions

View File

@@ -26,7 +26,7 @@ pub trait HttpMessage {
#[doc(hidden)]
/// Get a header
fn get<H: Header>(&self) -> Result<H, ParseError> where Self: Sized {
fn get_header<H: Header>(&self) -> Result<H, ParseError> where Self: Sized {
H::parse(self)
}