Skip to content

Commit 570d04d

Browse files
committed
Remove 304 again as it was causing issues in the frontend
1 parent 88097c2 commit 570d04d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

gramps_webapi/api/resources/emit.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
from gramps.gen.db import DbBookmarks
2828
from gramps.gen.lib.baseobj import BaseObject
2929

30-
from .util import return_304_if_unchanged
31-
3230

3331
def default(obj: Any):
3432
"""Handle unserializable objects."""
@@ -99,7 +97,6 @@ def response(
9997
# but always revalidate with the server
10098
res.headers.add("Cache-Control", "no-cache")
10199

102-
res = return_304_if_unchanged(res, etag=etag)
103100
return res
104101

105102
def is_null(self, value: Any) -> bool:

0 commit comments

Comments
 (0)