-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set the LastModified header for raw files #18356
Set the LastModified header for raw files #18356
Commits on Jan 22, 2022
-
Set the LastModified header for raw files
Although the use of LastModified dates for caching of git objects should be discouraged (as it is not native to git - and there are a LOT of ways this could be incorrect) - LastModified dates can be a helpful somewhat more human way of caching for simple cases. This PR adds this header and handles the If-Modified-Since header to the /raw/ routes. Fix go-gitea#18354 Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for fd45e69 - Browse repository at this point
Copy the full SHA fd45e69View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc59e29 - Browse repository at this point
Copy the full SHA dc59e29View commit details
Commits on Jan 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3a9c8c8 - Browse repository at this point
Copy the full SHA 3a9c8c8View commit details -
Merge remote-tracking branch 'zeripath/fix-18354-set-last-modified-he…
…ader-raw' into fix-18354-set-last-modified-header-raw
Configuration menu - View commit details
-
Copy full SHA for 6eec45c - Browse repository at this point
Copy the full SHA 6eec45cView commit details
Commits on Jan 24, 2022
-
Merge remote-tracking branch 'origin/main' into fix-18354-set-last-mo…
…dified-header-raw
Configuration menu - View commit details
-
Copy full SHA for f8fa93d - Browse repository at this point
Copy the full SHA f8fa93dView commit details -
Ensure that If-None-Match overrides If-Modified-Since
Signed-off-by: Andrew Thornton <art27@cantab.net>
Configuration menu - View commit details
-
Copy full SHA for ff236a5 - Browse repository at this point
Copy the full SHA ff236a5View commit details
Commits on Feb 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bc6dc02 - Browse repository at this point
Copy the full SHA bc6dc02View commit details
Commits on Feb 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 71dd4b0 - Browse repository at this point
Copy the full SHA 71dd4b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3b54e5 - Browse repository at this point
Copy the full SHA c3b54e5View commit details
Commits on May 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a70c6f9 - Browse repository at this point
Copy the full SHA a70c6f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d60ac3 - Browse repository at this point
Copy the full SHA 2d60ac3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d6b615 - Browse repository at this point
Copy the full SHA 8d6b615View commit details