メインコンテンツまでスキップ

5.3. Web アプリケーションとの相互運用性

5.3. Interoperability with Web Applications

🇬🇧 英文原文

Many web applications use the "application/x-www-form-urlencoded" method for returning data from forms. This format is quite compact, for example:

name=Xavier+Xantico&verdict=Yes&colour=Blue&happy=sad&Utf%F6r=Send

However, there is no opportunity to label the enclosed data with a content type, apply a charset, or use other encoding mechanisms.

Many form-interpreting programs (primarily web browsers) now implement and generate multipart/form-data, but a receiving application might also need to support the "application/x-www-form-urlencoded" format.

🇯🇵 日本語訳

多くの Web アプリケーションは,フォームからデータを返すために "application/x-www-form-urlencoded" メソッドを使用している。このフォーマットは非常にコンパクトである。例えば:

name=Xavier+Xantico&verdict=Yes&colour=Blue&happy=sad&Utf%F6r=Send

ただし,囲まれたデータにコンテンツタイプでラベルを付けたり,charset を適用したり,他のエンコーディングメカニズムを使用したりする機会はない。

多くのフォーム解釈プログラム(主に Web ブラウザー)は現在 multipart/form-data を実装および生成しているが,受信アプリケーションは "application/x-www-form-urlencoded" フォーマットもサポートする必要がある場合がある。