Skip to content

Commit 092c264

Browse files
committed
cleanup
1 parent 5e7edc9 commit 092c264

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/server.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,6 @@ def swagger_spec(user, repo, content=None):
185185
resp_spec = make_response(utils.turtleize(swag))
186186
resp_spec.headers['Content-Type'] = 'text/turtle'
187187

188-
# elif 'text/html' in request.headers['Accept']:
189-
# resp_string = results.serialize(format='html')
190-
191-
# TODO: make max-age customizable
192188
resp_spec.headers['Cache-Control'] = static.CACHE_CONTROL_POLICY # Caching JSON specs for 15 minutes
193189

194190
glogger.info("-----> API spec generation for /{}/{} complete".format(user, repo))

0 commit comments

Comments
 (0)