pub fn cookies(&self) -> Result<CookieJar> {
        let mut cookies = CookieJar::new();

        for val in self.inner.headers().get_all(headers::Cookie::name()) {
            let c = Cookie::parse(val.to_str()?)?;
            cookies.add(c.into_owned());
        }

        Ok(cookies)
    }
/// Get the request's cookies
Get the request's cookies
Get the request ' s cookies
pub fn cookies(&self) -> Result<CookieJar> {
        let mut cookies = CookieJar::new();
        for val in self.inner.headers().get_all(headers::Cookie::name()) {
            let c = Cookie::parse(val.to_str()?)?;
            cookies.add(c.into_owned());
        }
        Ok(cookies)
    }
pub fn cookies ( & self ) -> Result < CookieJar > { let mut cookies = CookieJar :: new ( ) ; for val in self . inner . headers ( ) . get_all ( headers :: Cookie :: name ( ) ) { let c = Cookie :: parse ( val . to_str ( ) ? ) ? ; cookies . add ( c . into_owned ( ) ) ; } Ok ( cookies ) }
Get the request's cookies
Get the request ' s cookies
&self