# File lib/faraday/request/multipart.rb, line 24 def has_multipart?(body) body.values.each do |val| if val.respond_to?(:content_type) return true elsif val.respond_to?(:values) return true if has_multipart?(val) end end false end