package http-multipart-formdata

  1. Overview
  2. Docs
Http multipart/formdata parser

Install

Dune Dependency

Authors

Maintainers

Sources

v1.0.1.tar.gz
md5=c7d373e4fb487e0834920ec630ad5015
sha512=7470e1deef694e19ce8bdb93006dee256206f145db54fc8b66ce81c6a4c7b664fadbde8e44d300000fc005a10a08e32996beec9bbdd9eb684a85c62b8fd9573a

README.md.html

http-mutlipart-formdata

A library which enables HTTP file uploads in ocaml web applications. HTTP file upload requests are generally encoded as multipart/form-data media content type. The library provides a simple api to parse and process such requests.

The parser implements HTTP multipart/form-data standard as defined in RFC 7578.

API Documentation

Installation

$ opam install http-multipart-formdata

Examples

module M = Http_multipart_formdata

let mp = M.parse ~content_type_header ~body in
let file1_parts : M.Part.t list  = M.Map.find "file1" mp

Full API Usage

OCaml

Innovation. Community. Security.