[master] 841d306 document that a 200 in vcl_deliver may turn into a 304 downstream
Nils Goroll
nils.goroll at uplex.de
Mon Nov 14 13:58:04 CET 2016
commit 841d306903a67e7d57912ebb8fb44763913702f4
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon Nov 14 13:55:44 2016 +0100
document that a 200 in vcl_deliver may turn into a 304 downstream
diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 0843ee5..37aa744 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -743,6 +743,10 @@ sp_variables = [
Assigning a HTTP standardized code to resp.status will also
set resp.reason to the corresponding status message.
+
+ resp.status 200 will get changed into 304 by core code after
+ a return(deliver) from vcl_deliver for conditional requests
+ to cached content if validation succeeds.
"""
),
('resp.reason',
More information about the varnish-commit
mailing list