File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -136,8 +136,9 @@ public function getFileParams();
136136 /**
137137 * Retrieve any parameters provided in the request body.
138138 *
139- * If the request Content-Type is application/x-www-form-urlencoded and the
140- * request method is POST, this method MUST return the contents of $_POST.
139+ * If the request Content-Type is either application/x-www-form-urlencoded
140+ * or multipart/form-data, and the request method is POST, this method MUST
141+ * return the contents of $_POST.
141142 *
142143 * Otherwise, this method may return any results of deserializing
143144 * the request body content; as parsing returns structured content, the
@@ -154,9 +155,9 @@ public function getParsedBody();
154155 *
155156 * These MAY be injected during instantiation.
156157 *
157- * If the request Content-Type is application/x-www-form-urlencoded and the
158- * request method is POST, use this method ONLY to inject the contents of
159- * $_POST.
158+ * If the request Content-Type is either application/x-www-form-urlencoded
159+ * or multipart/form-data, and the request method is POST, use this method
160+ * ONLY to inject the contents of $_POST.
160161 *
161162 * The data IS NOT REQUIRED to come from $_POST, but MUST be the results of
162163 * deserializing the request body content. Deserialization/parsing returns
You can’t perform that action at this time.
0 commit comments