You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**content** allows to parse HTTP `Content-*` headers, currently based on the rules established in both [RFC 7231 Section 3.1.1.1](https://tools.ietf.org/html/rfc7231#section-3.1.1.1) and [RFC 6266 Section 4.1](http://tools.ietf.org/html/rfc6266#section-4.1).
5
+
6
+
### `type(header)`
7
+
8
+
Generates an object containing the associated mime-type and the boundary (if specified).
If the header is invalid (malformed) or missing required data, such as a `multipart/form-data` header missing its `boundary`, it returns an HTTP `Bad Request` error.
19
+
20
+
### `disposition(header)`
21
+
22
+
Generates an object containing the details related to the `Content-Disposition` header for the `form-data` content type with support for `utf8` encoding.
**content** allows to parse HTTP `Content-*` headers, currently based on the rules established in both [RFC 7231 Section 3.1.1.1](https://tools.ietf.org/html/rfc7231#section-3.1.1.1) and [RFC 6266 Section 4.1](http://tools.ietf.org/html/rfc6266#section-4.1).
12
-
13
-
### `type(header)`
14
-
15
-
Generates an object containing the associated mime-type and the boundary (if specified).
If the header is invalid (malformed) or missing required data, such as a `multipart/form-data` header missing its `boundary`, it returns an HTTP `Bad Request` error.
26
-
27
-
### `disposition(header)`
28
-
29
-
Generates an object containing the details related to the `Content-Disposition` header for the `form-data` content type with support for `utf8` encoding.
0 commit comments