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();
136
136
/**
137
137
* Retrieve any parameters provided in the request body.
138
138
*
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.
141
142
*
142
143
* Otherwise, this method may return any results of deserializing
143
144
* the request body content; as parsing returns structured content, the
@@ -154,9 +155,9 @@ public function getParsedBody();
154
155
*
155
156
* These MAY be injected during instantiation.
156
157
*
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.
160
161
*
161
162
* The data IS NOT REQUIRED to come from $_POST, but MUST be the results of
162
163
* deserializing the request body content. Deserialization/parsing returns
You can’t perform that action at this time.
0 commit comments