Sets a Cache-Control header.
(value)
| 643 | |
| 644 | @app.route('/cache/<int:value>') |
| 645 | def cache_control(value): |
| 646 | """Sets a Cache-Control header.""" |
| 647 | response = view_get() |
| 648 | response.headers['Cache-Control'] = 'public, max-age={0}'.format(value) |
| 649 | return response |
| 650 | |
| 651 | |
| 652 | @app.route('/encoding/utf8') |
nothing calls this directly
no test coverage detected
searching dependent graphs…