From 4fd46ad944024abefbf7d54a9530dd1991436fc9 Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Tue, 16 Oct 2012 18:49:57 +0200 Subject: [PATCH] header must be fixnum --- lib/travis/web/app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/travis/web/app.rb b/lib/travis/web/app.rb index 39b2ad4b..edcec759 100644 --- a/lib/travis/web/app.rb +++ b/lib/travis/web/app.rb @@ -46,7 +46,7 @@ class Travis::Web::App set_config(content) if index? file headers = { - 'Content-Length' => content.bytesize, + 'Content-Length' => content.bytesize.to_s, 'Content-Location' => route_for(file), 'Cache-Control' => cache_control(file), 'Content-Location' => route_for(file),