Plug.Parsers.MULTIPART
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
Functions
parse(conn, arg2, subtype, headers, opts)
Callback implementation for Plug.Parsers.parse/5
.
© 2013 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/plug/1.3.0/Plug.Parsers.MULTIPART.html