Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only increment the opened_files counter for file inputs. If you have a
large form with only one file, you can quickly hit the MultipartPartLimitError Add test for not hitting the multipart limit
- Loading branch information
1 parent
1a43de5
commit 7331561
Showing
3 changed files
with
63 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--AaB03x | ||
content-disposition: form-data; name="reply" | ||
|
||
yes | ||
--AaB03x | ||
content-disposition: form-data; name="to" | ||
|
||
people | ||
--AaB03x | ||
content-disposition: form-data; name="from" | ||
|
||
others | ||
--AaB03x | ||
content-disposition: form-data; name="fileupload1"; filename="file1.jpg" | ||
Content-Type: image/jpeg | ||
Content-Transfer-Encoding: base64 | ||
|
||
/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg | ||
--AaB03x | ||
content-disposition: form-data; name="fileupload2"; filename="file2.jpg" | ||
Content-Type: image/jpeg | ||
Content-Transfer-Encoding: base64 | ||
|
||
/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg | ||
--AaB03x | ||
content-disposition: form-data; name="fileupload3"; filename="file3.jpg" | ||
Content-Type: image/jpeg | ||
Content-Transfer-Encoding: base64 | ||
|
||
/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg | ||
--AaB03x-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters