lib/async/http/request.rb in async-http-0.37.13 vs lib/async/http/request.rb in async-http-0.37.14
- old
+ new
@@ -62,14 +62,10 @@
def idempotent?
method != POST && (body.nil? || body.empty?)
end
def to_s
- "#{@method} #{@path} #{@version}"
- end
-
- def inspect
- "\#<#{self.class} #{self.to_s} scheme=#{@scheme.inspect} authority=#{@authority.inspect} headers=#{@headers.to_h.inspect} body=#{@body.inspect}>"
+ "#{@scheme}://#{@authority}: #{@method} #{@path} #{@version}"
end
end
end
end