Form URL encoding
From Just Solve the File Format Problem
(Difference between revisions)
m |
m |
||
(2 intermediate revisions by one user not shown) | |||
Line 6: | Line 6: | ||
'''Form URL encoding''' (often known by its MIME type '''application/x-www-form-urlencoded''') is a format mainly used for transferring form data (information typed into a form on a web page) from a web browser to a web server. | '''Form URL encoding''' (often known by its MIME type '''application/x-www-form-urlencoded''') is a format mainly used for transferring form data (information typed into a form on a web page) from a web browser to a web server. | ||
− | Form URL encoding uses a form of [[Percent-encoding]] in which a space character is allowed to be encoded as a "<code>+</code>" character. It can constitute the body of an HTTP "POST" message, or the "query string" portion of a URL (see [[URL encoding]]). | + | Form URL encoding uses a form of [[Percent-encoding]] in which a space character is allowed to be encoded as a "<code>+</code>" character. It can constitute the body of an [[HTTP]] "POST" message, or the "query string" portion of a URL (see [[URL encoding]]). |
− | Form URL encoding | + | Form URL encoding is inefficient when used for a large amount of binary data. The alternative is [[Multipart/Form-Data]]. |
== Links == | == Links == | ||
Line 14: | Line 14: | ||
* [http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1 HTML 4.01 Specification: application/x-www-form-urlencoded] | * [http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1 HTML 4.01 Specification: application/x-www-form-urlencoded] | ||
* [[Wikipedia:POST (HTTP)]] | * [[Wikipedia:POST (HTTP)]] | ||
+ | * [http://www.jebriggs.com/blog/2007/02/htm-forms-and-character-sets/ HTML Forms and Character Encoding Detection] (blog post) | ||
[[Category:Web]] | [[Category:Web]] |
Latest revision as of 00:05, 26 May 2015
Form URL encoding (often known by its MIME type application/x-www-form-urlencoded) is a format mainly used for transferring form data (information typed into a form on a web page) from a web browser to a web server.
Form URL encoding uses a form of Percent-encoding in which a space character is allowed to be encoded as a "+
" character. It can constitute the body of an HTTP "POST" message, or the "query string" portion of a URL (see URL encoding).
Form URL encoding is inefficient when used for a large amount of binary data. The alternative is Multipart/Form-Data.