Closed gsquire closed 8 years ago
I think the best place for this code would be somewhere both the cache and non-cache paths could call it, see the response created in Cache::response_with_cache
.
@reem I updated the code to use the response_with_cache
method. If it looks good, I will squash.
@reem I can close this PR if it's gone stale. The issue it references is still open.
Rebased and squashed old commits.
@gsquire Thank you for being persistent with this. I'm going to help you merge this. :)
Please see my comment about .unwrap()
and after that I'll make sure we get this merged!
@Hoverbear Thanks for the comments. I was first learning Rust when I made this PR so that showed :)
I can squash when you give me a thumbs up.
@gsquire LGTM. :) Thanks so much.
This is in reference to #54. I am not sure if this is the right place to do so, however.