Semantics of Http/1.0 ===================== **Timeless, 4-core components of HTTP** - Method, URL(domain + path) - Header - Body - Status code Simple form transfer (x-www-form-urlencoded) -------------------------------------------- form encode request: .. literalinclude:: srcs/curl_cmds/http10_form_encode.sh :language: bash :encoding: latin-1 output: .. code-block:: bash Content-Length: 71 Content-Type: application/x-www-form-urlencoded User-Agent: curl/7.82.0 title=Head+First+PHP+%26+MySQL&author=Lynn+Beighley%2C+Michael+Morrison URL encoding (wikipedia) | **Percent-encoding**\은 **URL encoding**\이라고도 알려져 있으며, | 형식적인 데이터를 *US-ASCII*\만을 허용하는 URI로 encode하는 방법이다. | 일반적으로 주류 URI셋에서 사용되는데, ``application/x-www-form-urlencoded``\의 Media type 데이터의 준비작업에 사용되며 HTML form에 사용된다. File transfer using form (multipart/form-data) ---------------------------------------------- .. code-block:: html