aleph.http.multipart

boundary

(boundary)

encode-body

deprecated in use aleph.http.multipart/encode-request instead

(encode-body parts)(encode-body boundary parts)

encode-part

(encode-part {:keys [part-name content mime-type charset transfer-encoding name], :as part})
Generates the byte representation of a part for the bytebuffer

encode-request

(encode-request req parts)

mime-type-descriptor

(mime-type-descriptor mime-type encoding)

part-headers

(part-headers part-name mime-type transfer-encoding name)

populate-part

(populate-part {:keys [part-name content mime-type charset transfer-encoding name]})
Generates a part map of the appropriate format