iron / staticfile

Static file-serving middleware for the Iron web framework.
MIT License
63 stars 56 forks source link

Return in Cache::handler if there's no IfModifiedSince header #59

Closed upsuper closed 8 years ago

upsuper commented 8 years ago

It makes no sense to read file metadata if the client does not send the IfModifiedSince header at all.

upsuper commented 8 years ago

Fails because iron-test cannot be built with stable Rust :(

I've filed reem/iron-test#18 to make that work.

upsuper commented 8 years ago

ping?

reem commented 8 years ago

Looks good! Thanks for the changes, both here and in iron-test.

upsuper commented 8 years ago

Hmmm, it seems this change is totally wrong. How did it compile and pass tests... Sorry for it.

reem commented 8 years ago

Urgh, that's unusual.