Closed GearoidDC closed 1 year ago
Hey,
I found an issue when upgrading to rack 2.2.4
For me it was only an issue on localhost ( Fine on production ) the logs would show a 200 status but the browser would view it as a 302 status.
I believe it is to do with this change in the rack gem. The Etag "" now gets read as an existing Etag rather removing it. https://github.com/rack/rack/pull/1919/files
In the PR I just set the Etag to nil instead of "" and it seems to work.
Thank you!
Hey,
I found an issue when upgrading to rack 2.2.4
For me it was only an issue on localhost ( Fine on production ) the logs would show a 200 status but the browser would view it as a 302 status.
I believe it is to do with this change in the rack gem. The Etag "" now gets read as an existing Etag rather removing it. https://github.com/rack/rack/pull/1919/files
In the PR I just set the Etag to nil instead of "" and it seems to work.