1
0
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:
Nikolay Kim
2017-10-16 01:19:23 -07:00
parent fa6bc35dbd
commit ba1a73443e
8 changed files with 186 additions and 14 deletions

View File

@@ -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