diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2015-03-11 15:24:25 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2015-03-11 15:24:25 -0300 |
commit | 7a3405f031e2389a528b6c6e702779728b077208 (patch) | |
tree | f5fb1329cb520f964c7004307881239a7e7f5496 /test/multipart | |
parent | 41f319c2ebcb19d0c5faf8d82c7b66ea3e48a51e (diff) | |
parent | 73315617871cb89114a2ccb0815e7964d5c44539 (diff) | |
download | rack-7a3405f031e2389a528b6c6e702779728b077208.tar.gz |
Merge pull request #814 from johnnaegle/only_increment_open_file_count_for_fileparts
Only count files (not all form elements) against the Multipart File Limit
Diffstat (limited to 'test/multipart')
-rw-r--r-- | test/multipart/three_files_three_fields | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/multipart/three_files_three_fields b/test/multipart/three_files_three_fields new file mode 100644 index 00000000..40d88b56 --- /dev/null +++ b/test/multipart/three_files_three_fields @@ -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--
|