Sha256: 3aef8699f3d5370b6dfb02fe9a49effe0d818f4f7f8171c5ba8d1b94b0463e34
Contents?: true
Size: 464 Bytes
Versions: 20
Compression:
Stored size: 464 Bytes
Contents
# frozen_string_literal: true require_relative "multipart/encoder" require_relative "multipart/decoder" require_relative "multipart/part" require_relative "multipart/mime_type_detector" module HTTPX::Transcoder module Multipart MULTIPART_VALUE_COND = lambda do |value| value.respond_to?(:read) || (value.respond_to?(:to_hash) && value.key?(:body) && (value.key?(:filename) || value.key?(:content_type))) end end end
Version data entries
20 entries across 20 versions & 1 rubygems