bt90
bt90
curl also complains when I mimic the 304 request directly without using a reverse proxy: ```sh curl -vvv 'http://localhost:5000/static/images/gradient-border.png' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0'...
The problem is that caddy and traefik are both using the go standard library which tends to follow the spec very closely: > The 304 response MUST NOT contain a...
Most likely because the date values in the header fields of my example are too old now to trigger a 304 response in the backend. I derived the example from...
Exactly. You can compare it with e.g. ```sh curl -vvv http://httpstat.us/304 ```
I *think* that `0` is in fact the start of the chunked transfer encoding: https://en.wikipedia.org/wiki/Chunked_transfer_encoding#Format > Each chunk starts with the number of octets of the data it embeds expressed...
Could you try it with the `conditional` option set to `True` ? The documentation isn't very clear about its purpose but it seems to be related to etag/304 handling. https://tedboy.github.io/flask/interface_api.useful_funcs.html#flask.send_file
Can you derive a minimal reproducible example from this? That would be enough to raise an issue at https://github.com/pallets/flask/issues
Sounds related, but shouldn't that fix already be part of the version used by changedetection? I just noticed that flask dropped the 3.0.0 release in September. Should we test with...
This issue has certainly been a fun ride 😆
https://github.com/eventlet/eventlet/issues/746 ?