-
-
Notifications
You must be signed in to change notification settings - Fork 681
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
152e940
commit 02fadf7
Showing
47 changed files
with
485 additions
and
441 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
File renamed without changes
File renamed without changes.
0
test/fixture/file/blank.gif → test-node/fixture/file/blank.gif
100755 → 100644
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
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 @@ | ||
These are the original files that were used to create the files inside http which are like http request header + body in 1 file. |
File renamed without changes.
24 changes: 12 additions & 12 deletions
24
...ure/http/encoding/beta-sticker-1.png.http → ...ure/http/encoding/beta-sticker-1.png.http
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ | ||
Content-Length: 2483 | ||
|
||
--\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ | ||
Content-Disposition: form-data; name="sticker"; filename="beta-sticker-1.png" | ||
Content-Type: image/png | ||
Content-Transfer-Encoding: base64 | ||
|
||
iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABh5JREFUeNrMmHtIHEcYwGfv5SNwaovxEanEiJKqlYCCTRo1f0SvDeof1legEcE/YttQaNOiaQjYFFtpKaJILZU8SCRUWqlJGpoWepGLTXqUEnzFxCrnK9DEelbvvPOe/WacuY7r7HmGFjrwsbNzt7u//V7zfYvQ/2xI/9K1/NyvMP9PgCTuGmmL6/0ckD9UOGmbIExUsqMkAPHJjv5QwKRtgKioqDlh5+w/7IFeCuLlxCeA2zQ0IcCwh2qoaLH09fUdTElJ2e/1elU+n0/y+9fvPz4+fvfYsWN3YOoBcXPiocLghD4mBYHhQTCErqWlZU9FRcXJqKiowyqVSk/uSEH4o8fjWVlYWDB2d3e3d3R0WGB5jYqLg/NyGgsKxMNgkDB4451NTU3vxcXF1SlBKB0tFsuVxsbGjlu3bj2GJQeIk8K5RVBqBTMxrYRfuHAh9/jx4+ejo6MPS9I6f6hHPOC6rOLi4vyVlZXf7t27Z5c5/iZfkgMxxyUwFy9ezC0tLe3V6XRJ/MOCAYjWwsLCni0oKCh98uSJaWhoyMZFn0/uT2qBqYi/1NbWxjc0NJwPFUYExc/B53R5eXk5ZrN5YH5+3slFn5+D2uBDzG90IJETExOtzGdC9RelNf78wYMH3xQWFn4Ep0sgyyCr1NmJP6kEIa5tbW3dEx8fXxeKRoJpT76OR3p6enllZWUKTCOwNalFAglWDkTCvLq6+uR2YYKZSw4GQVKNfZQCafjkqhKYTBsTE3NY/uYi2Q4MP5KTkw9QGB3VEMv6G/YioqFLly5lazQavfytxobnUW+PWTGisIyNPEL3QYLB4PPIyMi4EydO7JUBbTIZ0RDYOFPkE8t/OdHczCK6Y/qdzP8BfUTW8Tj/uQndvT1F5vOzVvT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xMn5jVe0dYTa26s5jfFg4VR0nAuwNtrFda1rgmToD6VzVWq3eTPyYAxOwwH5gvT2PiWY7X4fUgJTywp1fivyyL6E+Lb6XvQ0X9AkBeeXZED+p/k+9LcAAwAXm3hBLzoZPAAAAABJRU5ErkJggg== | ||
--\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/-- | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ | ||
Content-Length: 2483 | ||
|
||
--\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ | ||
Content-Disposition: form-data; name="sticker"; filename="beta-sticker-1.png" | ||
Content-Type: image/png | ||
Content-Transfer-Encoding: base64 | ||
|
||
iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABh5JREFUeNrMmHtIHEcYwGfv5SNwaovxEanEiJKqlYCCTRo1f0SvDeof1legEcE/YttQaNOiaQjYFFtpKaJILZU8SCRUWqlJGpoWepGLTXqUEnzFxCrnK9DEelbvvPOe/WacuY7r7HmGFjrwsbNzt7u//V7zfYvQ/2xI/9K1/NyvMP9PgCTuGmmL6/0ckD9UOGmbIExUsqMkAPHJjv5QwKRtgKioqDlh5+w/7IFeCuLlxCeA2zQ0IcCwh2qoaLH09fUdTElJ2e/1elU+n0/y+9fvPz4+fvfYsWN3YOoBcXPiocLghD4mBYHhQTCErqWlZU9FRcXJqKiowyqVSk/uSEH4o8fjWVlYWDB2d3e3d3R0WGB5jYqLg/NyGgsKxMNgkDB4451NTU3vxcXF1SlBKB0tFsuVxsbGjlu3bj2GJQeIk8K5RVBqBTMxrYRfuHAh9/jx4+ejo6MPS9I6f6hHPOC6rO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mEYU9Pz8Tg4OCNoqKixNTU1BQostDq6iqBcrlcRBiYfEff1KBR+OnpabPBYOikWlnhtOOWm0zUffpnZ2ednZ2dJtCYMTs7+xkA2x0eHk6gsMYwFPYr/EC1Wo2LMEWzWa1WC1QRZ8FUVgpj42ohD3umWqHjRFxf5RkZGVkCNQ9CcTWQn5+flpSUtBOiMKAt7Fek/FSAmpmZMVdVVZ0dGxv7g4PhteMVlbBIofv0sh4Lbmhtb2+/Cbv1eFpaWmJCQsJODMO0hGGgUghAAay9v7//i5KSki9lmmG+4+Jg/MHaIH6f0dCkqaNFFc5VkViam5v319TUNEDdvRubEGsNYHGqsAwMDFxta2u7DdpdpA+3c+LgWiHfVkCiFnpDw0iLqwgqO6BVKoPo00K6WIDsOzE6OrpE395FzeLgxMn5jVe0dYTa26s5jfFg4VR0nAuwNtrFda1rgmToD6VzVWq3eTPyYAxOwwH5gvT2PiWY7X4fUgJTywp1fivyyL6E+Lb6XvQ0X9AkBeeXZED+p/k+9LcAAwAXm3hBLzoZPAAAAABJRU5ErkJggg== | ||
--\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/-- |
24 changes: 12 additions & 12 deletions
24
...ture/http/encoding/binaryfile.tar.gz.http → ...ture/http/encoding/binaryfile.tar.gz.http
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ | ||
Content-Length: 676 | ||
|
||
--\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ | ||
Content-Disposition: form-data; name="file"; filename="binaryfile.tar.gz" | ||
Content-Type: application/x-gzip | ||
Content-Transfer-Encoding: base64 | ||
|
||
H4sIAGiNIU8AA+3R0W6CMBQGYK59iobLZantRDG73osUOGqnFNJWM2N897UghG1ZdmWWLf93U/jP4bRAq8q92hJ/dY1J7kQEqyyLq8yXYrp2ltkqkTKXYiEykYc++ZTLVcLEvQ40dXReWcYSV1pdnL/v+6n+R11mjKVG1ZQ+s3TT2FpXqjhQ+hjzE1mnGxNLkgu+7tOKWjIVmVKTC6XL9ZaeXj4VQhwKWzL+cI4zwgQuuhkh3mhTad/Hkssh3im3027X54JnQ360R/M19OT8kC7SEN7Ooi2VvrEfznHQRWzl83gxttZKmzGehzPRW/+W8X+3fvL8sFet9sS6m3EIma02071MU3Uf9KHrmV1/+y8DAAAAAAAAAAAAAAAAAAAAAMB/9A6txIuJACgAAA== | ||
--\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/-- | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ | ||
Content-Length: 676 | ||
|
||
--\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ | ||
Content-Disposition: form-data; name="file"; filename="binaryfile.tar.gz" | ||
Content-Type: application/x-gzip | ||
Content-Transfer-Encoding: base64 | ||
|
||
H4sIAGiNIU8AA+3R0W6CMBQGYK59iobLZantRDG73osUOGqnFNJWM2N897UghG1ZdmWWLf93U/jP4bRAq8q92hJ/dY1J7kQEqyyLq8yXYrp2ltkqkTKXYiEykYc++ZTLVcLEvQ40dXReWcYSV1pdnL/v+6n+R11mjKVG1ZQ+s3TT2FpXqjhQ+hjzE1mnGxNLkgu+7tOKWjIVmVKTC6XL9ZaeXj4VQhwKWzL+cI4zwgQuuhkh3mhTad/Hkssh3im3027X54JnQ360R/M19OT8kC7SEN7Ooi2VvrEfznHQRWzl83gxttZKmzGehzPRW/+W8X+3fvL8sFet9sS6m3EIma02071MU3Uf9KHrmV1/+y8DAAAAAAAAAAAAAAAAAAAAAMB/9A6txIuJACgAAA== | ||
--\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/-- |
24 changes: 12 additions & 12 deletions
24
test/fixture/http/encoding/blank.gif.http → ...node/fixture/http/encoding/blank.gif.http
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ | ||
Content-Length: 323 | ||
|
||
--\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ | ||
Content-Disposition: form-data; name="file"; filename="blank.gif" | ||
Content-Type: image/gif | ||
Content-Transfer-Encoding: base64 | ||
|
||
R0lGODlhAQABAJH/AP///wAAAMDAwAAAACH5BAEAAAIALAAAAAABAAEAAAICVAEAOw== | ||
--\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/-- | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ | ||
Content-Length: 323 | ||
|
||
--\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ | ||
Content-Disposition: form-data; name="file"; filename="blank.gif" | ||
Content-Type: image/gif | ||
Content-Transfer-Encoding: base64 | ||
|
||
R0lGODlhAQABAJH/AP///wAAAMDAwAAAACH5BAEAAAIALAAAAAABAAEAAAICVAEAOw== | ||
--\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/-- |
File renamed without changes.
24 changes: 12 additions & 12 deletions
24
test/fixture/http/encoding/plain.txt.http → ...node/fixture/http/encoding/plain.txt.http
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=----TLV0SrKD4z1TRxRhAPUvZ | ||
Content-Length: 221 | ||
|
||
------TLV0SrKD4z1TRxRhAPUvZ | ||
Content-Disposition: form-data; name="file"; filename="plain.txt" | ||
Content-Type: text/plain | ||
Content-Transfer-Encoding: 7bit | ||
|
||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=----TLV0SrKD4z1TRxRhAPUvZ | ||
Content-Length: 221 | ||
|
||
------TLV0SrKD4z1TRxRhAPUvZ | ||
Content-Disposition: form-data; name="file"; filename="plain.txt" | ||
Content-Type: text/plain | ||
Content-Transfer-Encoding: 7bit | ||
|
||
I am a plain text file | ||
|
||
------TLV0SrKD4z1TRxRhAPUvZ-- | ||
|
||
------TLV0SrKD4z1TRxRhAPUvZ-- |
10 changes: 5 additions & 5 deletions
10
test/fixture/http/misc/empty-multipart.http → ...de/fixture/http/misc/empty-multipart.http
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=----TLV0SrKD4z1TRxRhAPUvZ | ||
Content-Length: 0 | ||
|
||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=----TLV0SrKD4z1TRxRhAPUvZ | ||
Content-Length: 0 | ||
|
12 changes: 6 additions & 6 deletions
12
test/fixture/http/misc/empty-multipart2.http → ...e/fixture/http/misc/empty-multipart2.http
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=----TLV0SrKD4z1TRxRhAPUvZ | ||
Content-Length: 31 | ||
|
||
------TLV0SrKD4z1TRxRhAPUvZ-- | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=----TLV0SrKD4z1TRxRhAPUvZ | ||
Content-Length: 31 | ||
|
||
------TLV0SrKD4z1TRxRhAPUvZ-- |
10 changes: 5 additions & 5 deletions
10
test/fixture/http/misc/empty-urlencoded.http → ...e/fixture/http/misc/empty-urlencoded.http
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Length: 0 | ||
Content-Type: application/x-www-form-urlencoded | ||
|
||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Length: 0 | ||
Content-Type: application/x-www-form-urlencoded | ||
|
8 changes: 4 additions & 4 deletions
8
test/fixture/http/misc/empty.http → test-node/fixture/http/misc/empty.http
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Length: 0 | ||
|
||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Length: 0 | ||
|
6 changes: 3 additions & 3 deletions
6
test/fixture/http/misc/minimal.http → test-node/fixture/http/misc/minimal.http
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
|
||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
|
26 changes: 13 additions & 13 deletions
26
...xture/http/no-filename/filename-name.http → ...xture/http/no-filename/filename-name.http
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarytyE4wkKlZ5CQJVTG | ||
Content-Length: 1000 | ||
|
||
------WebKitFormBoundarytyE4wkKlZ5CQJVTG | ||
Content-Disposition: form-data; filename="plain.txt"; name="upload" | ||
Content-Type: text/plain | ||
|
||
I am a plain text file | ||
|
||
------WebKitFormBoundarytyE4wkKlZ5CQJVTG-- | ||
|
||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarytyE4wkKlZ5CQJVTG | ||
Content-Length: 1000 | ||
|
||
------WebKitFormBoundarytyE4wkKlZ5CQJVTG | ||
Content-Disposition: form-data; filename="plain.txt"; name="upload" | ||
Content-Type: text/plain | ||
|
||
I am a plain text file | ||
|
||
------WebKitFormBoundarytyE4wkKlZ5CQJVTG-- | ||
|
22 changes: 11 additions & 11 deletions
22
test/fixture/http/no-filename/generic.http → ...ode/fixture/http/no-filename/generic.http
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarytyE4wkKlZ5CQJVTG | ||
Content-Length: 1000 | ||
|
||
------WebKitFormBoundarytyE4wkKlZ5CQJVTG | ||
Content-Disposition: form-data; name="upload"; filename="" | ||
Content-Type: text/plain | ||
|
||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarytyE4wkKlZ5CQJVTG | ||
Content-Length: 1000 | ||
|
||
------WebKitFormBoundarytyE4wkKlZ5CQJVTG | ||
Content-Disposition: form-data; name="upload"; filename="" | ||
Content-Type: text/plain | ||
|
||
I am a plain text file | ||
|
||
------WebKitFormBoundarytyE4wkKlZ5CQJVTG-- | ||
|
||
------WebKitFormBoundarytyE4wkKlZ5CQJVTG-- | ||
|
24 changes: 12 additions & 12 deletions
24
test/fixture/http/preamble/crlf.http → test-node/fixture/http/preamble/crlf.http
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=----TLV0SrKD4z1TRxRhAPUvZ | ||
Content-Length: 184 | ||
|
||
|
||
------TLV0SrKD4z1TRxRhAPUvZ | ||
Content-Disposition: form-data; name="upload"; filename="plain.txt" | ||
Content-Type: text/plain | ||
|
||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=----TLV0SrKD4z1TRxRhAPUvZ | ||
Content-Length: 184 | ||
|
||
|
||
------TLV0SrKD4z1TRxRhAPUvZ | ||
Content-Disposition: form-data; name="upload"; filename="plain.txt" | ||
Content-Type: text/plain | ||
|
||
I am a plain text file | ||
|
||
------TLV0SrKD4z1TRxRhAPUvZ-- | ||
|
||
------TLV0SrKD4z1TRxRhAPUvZ-- |
26 changes: 13 additions & 13 deletions
26
test/fixture/http/preamble/preamble.http → ...-node/fixture/http/preamble/preamble.http
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=----TLV0SrKD4z1TRxRhAPUvZ | ||
Content-Length: 226 | ||
|
||
This is a preamble which should be ignored | ||
------TLV0SrKD4z1TRxRhAPUvZ | ||
Content-Disposition: form-data; name="upload"; filename="plain.txt" | ||
Content-Type: text/plain | ||
|
||
I am a plain text file | ||
|
||
------TLV0SrKD4z1TRxRhAPUvZ-- | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Content-Type: multipart/form-data; boundary=----TLV0SrKD4z1TRxRhAPUvZ | ||
Content-Length: 226 | ||
|
||
This is a preamble which should be ignored | ||
------TLV0SrKD4z1TRxRhAPUvZ | ||
Content-Disposition: form-data; name="upload"; filename="plain.txt" | ||
Content-Type: text/plain | ||
|
||
I am a plain text file | ||
|
||
------TLV0SrKD4z1TRxRhAPUvZ-- |
File renamed without changes.
File renamed without changes.
50 changes: 25 additions & 25 deletions
50
...cial-chars-in-filename/osx-chrome-13.http → ...cial-chars-in-filename/osx-chrome-13.http
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 |
---|---|---|
@@ -1,26 +1,26 @@ | ||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Connection: keep-alive | ||
Referer: http://localhost:8080/ | ||
Content-Length: 383 | ||
Cache-Control: max-age=0 | ||
Origin: http://localhost:8080 | ||
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1 | ||
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarytyE4wkKlZ5CQJVTG | ||
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 | ||
Accept-Encoding: gzip,deflate,sdch | ||
Accept-Language: en-US,en;q=0.8 | ||
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 | ||
Cookie: jqCookieJar_tablesorter=%7B%22showListTable%22%3A%5B%5B5%2C1%5D%2C%5B1%2C0%5D%5D%7D | ||
|
||
------WebKitFormBoundarytyE4wkKlZ5CQJVTG | ||
Content-Disposition: form-data; name="title" | ||
|
||
Weird filename | ||
------WebKitFormBoundarytyE4wkKlZ5CQJVTG | ||
Content-Disposition: form-data; name="upload"; filename=": \ ? % * | %22 < > . ? ; ' @ # $ ^ & ( ) - _ = + { } [ ] ` ~.txt" | ||
Content-Type: text/plain | ||
|
||
POST /upload HTTP/1.1 | ||
Host: localhost:8080 | ||
Connection: keep-alive | ||
Referer: http://localhost:8080/ | ||
Content-Length: 383 | ||
Cache-Control: max-age=0 | ||
Origin: http://localhost:8080 | ||
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1 | ||
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarytyE4wkKlZ5CQJVTG | ||
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 | ||
Accept-Encoding: gzip,deflate,sdch | ||
Accept-Language: en-US,en;q=0.8 | ||
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 | ||
Cookie: jqCookieJar_tablesorter=%7B%22showListTable%22%3A%5B%5B5%2C1%5D%2C%5B1%2C0%5D%5D%7D | ||
|
||
------WebKitFormBoundarytyE4wkKlZ5CQJVTG | ||
Content-Disposition: form-data; name="title" | ||
|
||
Weird filename | ||
------WebKitFormBoundarytyE4wkKlZ5CQJVTG | ||
Content-Disposition: form-data; name="upload"; filename=": \ ? % * | %22 < > . ? ; ' @ # $ ^ & ( ) - _ = + { } [ ] ` ~.txt" | ||
Content-Type: text/plain | ||
|
||
I am a text file with a funky name! | ||
|
||
------WebKitFormBoundarytyE4wkKlZ5CQJVTG-- | ||
|
||
------WebKitFormBoundarytyE4wkKlZ5CQJVTG-- |
Oops, something went wrong.