We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1778d1c commit 101a23bCopy full SHA for 101a23b
src/reactpy/asgi/standalone.py
@@ -102,7 +102,10 @@ async def __call__(
102
)
103
104
# Browser already has the content cached
105
- if request_headers.get(b"if-none-match") == self._etag.encode():
+ if (
106
+ request_headers.get(b"if-none-match") == self._etag.encode()
107
+ or request_headers.get(b"if-modified-since") == self._last_modified.encode()
108
+ ):
109
response_headers.pop("content-length")
110
return await http_response(
111
send=send,
0 commit comments