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:
@@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user