send empty Vary header

This commit is contained in:
Konstantin Haase 2012-10-16 18:54:32 +02:00
parent 4fd46ad944
commit 1f9e19ac0e

View File

@ -54,7 +54,7 @@ class Travis::Web::App
'ETag' => version, 'ETag' => version,
'Last-Modified' => last_modified.httpdate, 'Last-Modified' => last_modified.httpdate,
'Expires' => (last_modified + age).httpdate, 'Expires' => (last_modified + age).httpdate,
'Vary' => 'If-None-Match' 'Vary' => ''
} }
[ 200, headers, [ content ] ] [ 200, headers, [ content ] ]