# File lib/rack/chunked.rb, line 14 14: def call(env) 15: status, headers, body = @app.call(env) 16: headers = HeaderHash.new(headers) 17: 18: if env['HTTP_VERSION'] == 'HTTP/1.0' || 19: STATUS_WITH_NO_ENTITY_BODY.include?(status) || 20: headers['Content-Length'] || 21: headers['Transfer-Encoding'] 22: [status, headers, body] 23: else 24: dup.chunk(status, headers, body) 25: end 26: end