# File lib/httpclient/http.rb, line 745 def file?(obj) obj.respond_to?(:read) and obj.respond_to?(:path) and obj.respond_to?(:pos) and obj.respond_to?(:pos=) end