hulu/restfulgit — pull request #61 by kainswor (2013-12-16 18:08:40+00:00)
Title: Conditional Gets

I implemented a conditional decorator from http://flask.pocoo.org/snippets/95/ and adapted it to fit within this project a little better.

The conditional generates an ETag (usually based on the sha of the asset, or dynamically from the content on other views), and a Cache-Control header to specify how the objects should be cached.
The Cache-Control header value is configurable- and a default is specified.