HTML message HEADER information at the POST form

zhaozj2021-02-12  178

The form is only Text

Post /example.php http / 1.1

Host: 127.0.0.1

User-agent: pear http_request class (http://pear.php.net/)

Content-Type: Application / X-WWW-FORM-URLENCODED

Connection: Close

Accept-encoding: Gzip

Content-Length: 15

Foo1 = bar & foo2 = 1

When the form is only file

Post /example.php http / 1.1

Host: 127.0.0.1

User-agent: pear http_request class (http://pear.php.net/)

Content-type: multipart / form-data; boundary = http_request_62f8038e5c72bc40efd08be14dc3db66

Connection: Close

Accept-encoding: Gzip

Content-Length: 616

--HTTP_REQUEST_62F8038E5C72BC40EFD08BE14DC3DB66

Content-disposition: form-data; name = "mail.gif"; filename = "mail.gif"

Content-Type: Image / GIF

GIF89a geese g 櫰 櫰 櫰 嫖 鸮 D 愇圊 Bi layer 逖蓊 逖蓊 飃 飃 び び 桕 桕 骢 骢 镌屣 冁 褓 劂 劂 钪 钪 鮢 鮢 鮢 鮢 曍膂 曍膂 镌屣 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢囐觎!?, `? 俙亼, k 抎? VA3R-_J? [`? 罃 h?` Q? H6? 瞐 L4i? `嶕癷 2 翧?" Okk;

C8 I, J?  9,) F ~ 刓 NP

殒 ?? a? D`P *? P? `C? Wrinkle @

Blade /? `?` #?, Pu, bus>? € € @ p p?;

--HTTP_REQUEST_62F8038E5C72BC40EFD08BE14DC3DB66

When both of them have

Post /example.php http / 1.1

Host: 127.0.0.1

User-agent: pear http_request class (http://pear.php.net/)

Content-type: multipart / form-data; boundary = http_request_4893a7ce3361284d0e2ce39f2fdfa922

Connection: Close

Accept-encoding: Gzip

Content-Length: 816

--HTTP_REQUEST_4893A7CE3361284D0E2CE39F2FDFA922

Content-Disposition: Form-data; Name = "foo1"

Bar

--HTTP_REQUEST_4893A7CE3361284D0E2CE39F2FDFA922

Content-disposition: form-data; Name = "foo2"

1

--HTTP_REQUEST_4893A7CE3361284D0E2CE39F2FDFA922

Content-disposition: form-data; name = "mail.gif"; filename = "mail.gif"

Content-Type: Image / GIF

GIF89a geese g 櫰 櫰 櫰 嫖 鸮 D 愇圊 Bi layer 逖蓊 逖蓊 飃 飃 び び 桕 桕 骢 骢 镌屣 冁 褓 劂 劂 钪 钪 鮢 鮢 鮢 鮢 曍膂 曍膂 镌屣 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢 鮢囐觎!?, `? 俙亼, k 抎? VA3R- ? [`? 罃 h?` Q? H6? 瞐 L4i? `嶕癷 2 翧?" OKK; (B EWC8 I, J ? 9, f ~ 刓 np

殒 ?? a? D`P *? P? `C? Wrinkle @

Blade /? `?` #?, Pu, bus>? € € @ p P?;

--HTTP_REQUEST_4893A7CE3361284D0E2CE39F2FDFA922

转载请注明原文地址:https://www.9cbs.com/read-6127.html

New Post(0)