Skip to content

Commit

Permalink
Drop etag support
Browse files Browse the repository at this point in the history
  • Loading branch information
meyt committed Oct 25, 2018
1 parent b919744 commit 08f3792
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 122 deletions.
3 changes: 1 addition & 2 deletions microhttp_restful/controllers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

import types

from nanohttp import Controller, context, json, RestController, action, etag
from nanohttp import Controller, context, json, RestController, action

from microhttp.ext import db

Expand All @@ -22,7 +22,6 @@ class ModelRestController(RestController):
__model__ = None

@json
@etag(tag=lambda: context.application.version)
def metadata(self):
return self.__model__.json_metadata()

Expand Down
120 changes: 0 additions & 120 deletions microhttp_restful/tests/test_etag.py

This file was deleted.

0 comments on commit 08f3792

Please sign in to comment.