lib/rack/http_streaming_response.rb in rack-proxy-0.0.1 vs lib/rack/http_streaming_response.rb in rack-proxy-0.1.0
- old
+ new
@@ -7,10 +7,10 @@
def initialize(request, host, port = nil)
@request, @host, @port = request, host, port
end
def status
- response.code
+ response.code.to_i
end
def headers
h = Utils::HeaderHash.new