表单和 FormData 对象
form 表单中的 method 和 enctype 属性
GET /handling-page?user_name=张三&user_passwd=123&submit_button=提交 Host: example.comPOST /handling-page HTTP/1.1 Host: example.com Content-Type: application/x-www-form-urlencoded Content-Length: 74 user_name=张三&user_passwd=123&submit_button=提交Content-Type: multipart/form-data; boundary=---------------------------314911788813839 -----------------------------314911788813839 Content-Disposition: form-data; name="foo" bar -----------------------------314911788813839 Content-Disposition: form-data; name="baz" The first line. The second line. -----------------------------314911788813839--
文件上传
Last updated