lib/rack/sendfile.rb in rack-1.2.2 vs lib/rack/sendfile.rb in rack-1.2.3

- old
+ new

@@ -115,9 +115,10 @@ else env['rack.errors'] << "X-Accel-Mapping header missing" 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 else env['rack.errors'] << "Unknown x-sendfile variation: '#{variation}'.\n"