X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/6063e7b5532481ffaa7a6f080de28547983bbeb7..488a214a81a25c6397c56822ed1713f51dddc520:/ui-shared.c diff --git a/ui-shared.c b/ui-shared.c index de77bbf..86a7d29 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -468,6 +468,8 @@ void cgit_print_http_headers(struct cgit_context *ctx) ctx->page.filename); htmlf("Last-Modified: %s\n", http_date(ctx->page.modified)); htmlf("Expires: %s\n", http_date(ctx->page.expires)); + if (ctx->page.etag) + htmlf("ETag: \"%s\"\n", ctx->page.etag); html("\n"); }