[interchange] X-Accel-Expires: Might as well use sensible shorthand!

Jon Jensen interchange-cvs at icdevgroup.org
Tue Jan 16 23:46:44 UTC 2018


commit 3d4b0f73608af8f3bf7aaf65828c61fc2d691845
Author: Jon Jensen <jon at endpoint.com>
Date:   Tue Jan 16 16:45:49 2018 -0700

    X-Accel-Expires: Might as well use sensible shorthand!

 lib/Vend/Server.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/Vend/Server.pm b/lib/Vend/Server.pm
index 473e47f..32d95a7 100644
--- a/lib/Vend/Server.pm
+++ b/lib/Vend/Server.pm
@@ -643,8 +643,8 @@ sub get_cache_headers {
 	my $cc = $::Pragma->{cache_control};
 	push @headers, "Cache-Control: $cc" if $cc;
 
-	my $xee = $::Pragma->{x_accel_expires};
-	push @headers, "X-Accel-Expires: $xee" if defined($xee) and length($xee);
+	my $xae = $::Pragma->{x_accel_expires};
+	push @headers, "X-Accel-Expires: $xae" if defined($xae) and length($xae);
 
 	push @headers, "Pragma: no-cache" if delete $::Scratch->{mv_no_cache};
 



More information about the interchange-cvs mailing list