package piaf
An HTTP library with HTTP/2 support written entirely in OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
piaf-0.1.0.tbz
sha256=00c3bea6d1a8c77dc18bbbbf1f449a78253cf17391ad153751b2e87f71307265
sha512=0f35e88b78ec1f1cd06a972ee69e29a8983b4c07dbc0268cc9764d8df5d9c2402cc3710874f54a111095fb57a08fe582d99d1b7e070e141e260af6ced50172aa
doc/piaf.multipart_form/Multipart_form/Header/index.html
Module Multipart_form.Header
Source
HTTP Header.
Any part of a multipart/form-data
document has a HTTP header which describes:
- the type of contents.
- the encoding used to transfer contents.
- meta-data such as the associated name/key of contents.
- some others meta information.
We allow the user to introspect the given header with useful functions.
content_type header
returns the Content_type
value of header
. If this value does not exists, it return default value.
content_encoding
returns the Content_encoding
value of header
. If this value does not exists, it return default value.
content_disposition
returns the Content_disposition
value of header
if it exists.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page