lib/async/http/headers.rb in async-http-0.30.1 vs lib/async/http/headers.rb in async-http-0.30.2
- old
+ new
@@ -188,9 +188,13 @@
class Merged
def initialize(*all)
@all = all
end
+ def << headers
+ @all << headers
+ end
+
def each(&block)
@all.each do |headers|
headers.each do |key, value|
yield key, value.to_s
end