lib/async/http/protocol/http10.rb in async-http-0.40.3 vs lib/async/http/protocol/http10.rb in async-http-0.41.0
- old
+ new
@@ -24,9 +24,13 @@
module HTTP
module Protocol
module HTTP10
VERSION = "HTTP/1.0"
+ def self.bidirectional?
+ false
+ end
+
def self.client(stream)
HTTP1::Client.new(stream, VERSION)
end
def self.server(stream)