class HTTParty::Request::Body

def multipart?

def multipart?
  params.respond_to?(:to_hash) && (force_multipart || has_file?(params))
end