Plug v1.3.0 Plug.Parsers.MULTIPART

Parses multipart request body.

Besides the options supported by Plug.Conn.read_body/2, the multipart parser also checks for :headers option that contains the same :length, :read_length and :read_timeout options which are used explicitly for parsing multipart headers.

Summary

Functions

parse(conn, arg2, subtype, headers, opts)

Callback implementation for Plug.Parsers.parse/5.