We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1372bfb commit 9c5cb2eCopy full SHA for 9c5cb2e
2 files changed
lib/protocol/rack/adapter/rack2.rb
@@ -90,9 +90,9 @@ def call(request)
90
raise ArgumentError, "Headers must not be nil!"
91
end
92
93
- unless body.respond_to?(:each)
94
- raise ArgumentError, "Body must respond to #each!"
95
- end
+ # unless body.respond_to?(:each)
+ # raise ArgumentError, "Body must respond to #each!"
+ # end
96
97
headers, meta = self.wrap_headers(headers)
98
test/protocol/rack/adapter.rb
@@ -112,7 +112,7 @@
112
let(:response) {client.get("/")}
113
114
it "can read streaming response" do
115
- skip "Streaming response not supported"
+ skip "Streaming response not supported" if Protocol::Rack::Adapter::VERSION < "2"
116
117
expect(response.read).to be == "Hello Streaming World"
118
0 commit comments