1 defmodule Pleroma.Web.Plugs.Parsers.Multipart do
2 @multipart Plug.Parsers.MULTIPART
10 def parse(conn, "multipart", subtype, headers, opts) do
11 length = Config.get([:instance, :upload_limit])
13 opts = @multipart.init([length: length] ++ opts)
15 @multipart.parse(conn, "multipart", subtype, headers, opts)
18 def parse(conn, _type, _subtype, _headers, _opts) do