Skip to content

gitweb: refactor If-Modified-Since handling

[email protected] git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v6 Latest3 patches 2 repliesIn review

Changes in v6 from the cover letter

* Use test_when_finished to unset HTTP_IF_MODIFIED_SINCE.
* Actually use the tree ID in the modification: tree snapshot test.
* Conditional last_modified argument for $cgi->header git_snapshot and git_feed.
* tree-ish -> trees in git_snapshot commit message and test name.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3gitweb: add `status` headers to git_feed() responses.gitweb/gitweb.perl+4 -20 replies
2/3gitweb: refactor If-Modified-Since handlinggitweb/gitweb.perl t/t9501-gitweb-standalone-http-status.sh+55 -290 replies
3/3gitweb: add If-Modified-Since handling to git_snapshot().gitweb/gitweb.perl t/t9501-gitweb-standalone-http-status.sh+43 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [PATCH v6 0/3] gitweb: refactor If-Modified-Since handling

Changes since v5:
* Use test_when_finished to unset HTTP_IF_MODIFIED_SINCE.
* Actually use the tree ID in the modification: tree snapshot test.
* Conditional last_modified argument for $cgi->header git_snapshot and git_feed.
* tree-ish -> trees in git_snapshot commit message and test name.

Unchanged since v5:
* Patch 1/3, but I'm resending it anyway with git send-email. I could skip resending it with:

git send-email … HEAD^^

but that would mess up the patch numbering.

W. Trevor King (3):
gitweb: add status headers to git_feed() responses.
gitweb: refactor If-Modified-Since handling
gitweb: add If-Modified-Since handling to git_snapshot().

 gitweb/gitweb.perl                       |   65 ++++++++++++++++++------------
 t/t9501-gitweb-standalone-http-status.sh |   60 +++++++++++++++++++++++++++-
 2 files changed, 98 insertions(+), 27 deletions(-)
Signature · 1 line
1.7.3.4