some cgi variable work.
This commit is contained in:
1 parent
64fd81d6ed
commit
c21dea1411
5 files changed
+66
-30
No files matched your search
+25
-20
@@ -1,21 +1,26 @@
|
||||
POST /cgi-bin/qtest HTTP/1.1
|
||||
Content-Type: multipart/form-data;
|
||||
boundary=2a8ae6ad-f4ad-4d9a-a92c-6d217011fe0f
|
||||
Content-Length: 514
|
||||
------WebKitFormBoundaryA1LWIjMAIsdFW9XA
|
||||
Content-Disposition: form-data; name="name"
|
||||
|
||||
1 test
|
||||
------WebKitFormBoundaryA1LWIjMAIsdFW9XA
|
||||
Content-Disposition: form-data; name="name"
|
||||
|
||||
2&test
|
||||
------WebKitFormBoundaryA1LWIjMAIsdFW9XA
|
||||
Content-Disposition: form-data; name="name"
|
||||
|
||||
3+test
|
||||
------WebKitFormBoundaryA1LWIjMAIsdFW9XA
|
||||
Content-Disposition: form-data; name="name"
|
||||
|
||||
4 test
|
||||
------WebKitFormBoundaryA1LWIjMAIsdFW9XA
|
||||
Content-Disposition: form-data; name="name"
|
||||
|
||||
5
|
||||
------WebKitFormBoundaryA1LWIjMAIsdFW9XA
|
||||
Content-Disposition: form-data; name="name"
|
||||
|
||||
6
|
||||
------WebKitFormBoundaryA1LWIjMAIsdFW9XA--
|
||||
|
||||
--2a8ae6ad-f4ad-4d9a-a92c-6d217011fe0f
|
||||
Content-Disposition: form-data; name="datafile1"; filename="r.gif"
|
||||
Content-Type: image/gif
|
||||
|
||||
GIF87a.............,...........D..;
|
||||
--2a8ae6ad-f4ad-4d9a-a92c-6d217011fe0f
|
||||
Content-Disposition: form-data; name="datafile2"; filename="g.gif"
|
||||
Content-Type: image/gif
|
||||
|
||||
GIF87a.............,...........D..;
|
||||
--2a8ae6ad-f4ad-4d9a-a92c-6d217011fe0f
|
||||
Content-Disposition: form-data; name="datafile3"; filename="b.gif"
|
||||
Content-Type: image/gif
|
||||
|
||||
GIF87a.............,...........D..;
|
||||
--2a8ae6ad-f4ad-4d9a-a92c-6d217011fe0f--
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
export REQUEST_METHOD=POST
|
||||
export CONTENT_LENGTH=554
|
||||
export CONTENT_LENGTH=200
|
||||
export CONTENT_TYPE=multipart/form-data
|
||||
cat post.example | ./testpost.jet
|
||||
Reference in new issue
Block a user