[−][src]Trait izanami::test::ResponseExt
A set of extension methods of Response
used within test cases.
Required methods
fn header<H>(&self, name: H) -> Result<&HeaderValue> where
H: AsHeaderName + Display,
H: AsHeaderName + Display,
Gets a reference to the header field with the specified name.
If the header field does not exist, this method will return an Err
instead of None
.
Implementations on Foreign Types
impl<T> ResponseExt for Response<T>
[src]
impl<T> ResponseExt for Response<T>
fn header<H>(&self, name: H) -> Result<&HeaderValue> where | [src] |