diff options
Diffstat (limited to 'lib/rack/sendfile.rb')
-rw-r--r-- | lib/rack/sendfile.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rack/sendfile.rb b/lib/rack/sendfile.rb index 911ae409..645a8cfc 100644 --- a/lib/rack/sendfile.rb +++ b/lib/rack/sendfile.rb @@ -117,6 +117,7 @@ module Rack end when 'X-Sendfile', 'X-Lighttpd-Send-File' path = F.expand_path(body.to_path) + headers['Content-Length'] = '0' headers[type] = path body = [] when '', nil |