mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 08:57:00 +02:00
added StaticFiles basic impl
This commit is contained in:
@@ -80,7 +80,7 @@ impl HttpRequest {
|
||||
pub fn cookie(&self, name: &str) -> Option<&Cookie> {
|
||||
for cookie in &self.cookies {
|
||||
if cookie.name() == name {
|
||||
return Some(&cookie)
|
||||
return Some(cookie)
|
||||
}
|
||||
}
|
||||
None
|
||||
|
Reference in New Issue
Block a user