Multipart_form.Field
An HTTP header (see Header.t
) is composed of several fields. A field is a Field_name.t
with a (typed or not) value. This library provides 4 kinds of values:
Content_type.t
value which is given by the Field_name.content_type
field-name. It specifies the type of contents.Content_encoding.t
value which is given by the Field_name.content_transfer_encoding
field-name. It specifies the encoding used to transfer contents.Content_disposition.t
value which is given by the Field_name.content_disposition
field-name. It specifies some meta information about contents.type 'a t =
| Content_type : Content_type.t t
| Content_encoding : Content_encoding.t t
| Content_disposition : Content_disposition.t t
| Field : Unstrctrd.t t