Jason Lee
  • Home
  • Github
Sign in Subscribe

html

A collection of 1 post
html

有關 form post 的 content-type

1. 當如果要上傳的是 binary 的檔案時,我們在 form 的 enctype 大部分都會設定成 multipart/form-data
2.至於一般的純文字的 form post ,預設值會是 application/x-www-form-urlencoded Reference: http://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
Mar 14, 2016
Page 1 of 1
Jason Lee © 2025
Powered by Ghost