package multipart-form-data

  1. Overview
  2. Docs
Parser for multipart/form-data (RFC2388)

Install

Dune Dependency

Authors

Maintainers

Sources

0.3.0.tar.gz
md5=9f7088e64d2889191f9269b03ea2c5f6
sha512=fa1a8cb8adda2fa5fff1dbeda76ba294aeb254118db5019d0249b4afecc9fb012ae3566074bbc29d38b53d2196fc5395034db64e4b8d5406ebda56b58707bf75

Description

This is a parser for structured form data based on Lwt_stream in order to use it with cohttp. You can use it to send POST parameters.

Published: 06 Feb 2020

README

multipart/form-data (RFC2388) parser for OCaml

This is a parser for structured form data based on Lwt_stream in order to use it with cohttp. You can use it to send POST parameters.

There are two APIs:

  • a high-level one: parse_stream and get_parts. It works for strings, but has some problems with files.

  • a low-level one: parse. It works for well for both strings and files.

Dev Dependencies (1)

  1. alcotest with-test

Used by (5)

  1. dream < "1.0.0~alpha2"
  2. opium >= "0.19.0"
  3. sihl >= "0.1.6" & < "0.2.0"
  4. sihl-type
  5. sihl-web < "0.3.0~rc1"

Conflicts

None