if-modified-since
π€ https://movq.de/v/fb38f7c1bb/ifmod.png Not an issue for me personally, just wanted to mention it.
if-modified-since
π€ https://movq.de/v/fb38f7c1bb/ifmod.png Not an issue for me personally, just wanted to mention it.
if-modified-since
π€ https://movq.de/v/fb38f7c1bb/ifmod.png Not an issue for me personally, just wanted to mention it.
http.ServeContent()
to effectively io.Copy()
...
http.ServeContent()
to effectively io.Copy()
...
http.ServeContent()
to effectively io.Copy()
...
How do I repro?
How do I repro?
curl -sI https://twtxt.net/user/prologic/twtxt.txt
and take note of the last-modified
header. Then, doing a curl -sI -H 'if-modified-since: $previous_value' https://twtxt.net/user/prologic/twtxt.txt
should result in HTTP 304. Currently, itβs HTTP 200 (transfers the whole file). >
curl -sI https://twtxt.net/user/prologic/twtxt.txt
and take note of the last-modified
header. Then, doing a curl -sI -H 'if-modified-since: $previous_value' https://twtxt.net/user/prologic/twtxt.txt
should result in HTTP 304. Currently, itβs HTTP 200 (transfers the whole file). >
curl -sI https://twtxt.net/user/prologic/twtxt.txt
and take note of the last-modified
header. Then, doing a curl -sI -H 'if-modified-since: $previous_value' https://twtxt.net/user/prologic/twtxt.txt
should result in HTTP 304. Currently, itβs HTTP 200 (transfers the whole file). >
if-Modified-Since
. But Range requests wouldn't be supported either unless I fix this properly.
if-Modified-Since
. But Range requests wouldn't be supported either unless I fix this properly.