Skip to content

Commit

Permalink
X-Accel-Expires: Might as well use sensible shorthand!
Browse files Browse the repository at this point in the history
  • Loading branch information
jonjensen committed Jan 16, 2018
1 parent 6157e62 commit 3d4b0f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Vend/Server.pm
Expand Up @@ -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};

Expand Down

0 comments on commit 3d4b0f7

Please sign in to comment.