728x90
반응형
https://www.rfc-editor.org/rfc/rfc3986#section-3
RFC 3986: Uniform Resource Identifier (URI): Generic Syntax
www.rfc-editor.org
Berners-Lee, et al. Standards Track [Page 15]
RFC 3986 URI Generic Syntax January 2005
coordinates on a map. Likewise, a URI scheme may define components
with additional encoding requirements that are applied prior to
forming the component and producing the URI.
When a new URI scheme defines a component that represents textual
data consisting of characters from the Universal Character Set [UCS],
the data should first be encoded as octets according to the UTF-8
character encoding [STD63]; then only those octets that do not
correspond to characters in the unreserved set should be percent-
encoded. For example, the character A would be represented as "A",
the character LATIN CAPITAL LETTER A WITH GRAVE would be represented
as "%C3%80", and the character KATAKANA LETTER A would be represented
as "%E3%82%A2".
3. Syntax Components
The generic URI syntax consists of a hierarchical sequence of
components referred to as the scheme, authority, path, query, and
fragment.
URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
hier-part = "//" authority path-abempty
/ path-absolute
/ path-rootless
/ path-empty
The scheme and path components are required, though the path may be
empty (no characters). When authority is present, the path must
either be empty or begin with a slash ("/") character. When
authority is not present, the path cannot begin with two slash
characters ("//"). These restrictions result in five different ABNF
rules for a path (Section 3.3), only one of which will match any
given URI reference.
The following are two example URIs and their component parts:
foo://example.com:8042/over/there?name=ferret#nose
\_/ \______________/\_________/ \_________/ \__/
| | | | |
scheme authority path query fragment
| _____________________|__
/ \ / \
urn:example:animal:ferret:nose
GET 요청에 따르는 query string과 그 규약에 대한정리
국제 인터넷 표준화 기구(Internet Engineering Task Force, IETF) 에 의한 인터넷 표준의 기반되는 RFC 문서
RFC(Request for Comments) 문서는 비평을 기다리는 문서라는 의미로, 컴퓨터 네트워크 공학 등에서 인터넷 기술에 적용 가능한 새로운 연구, 혁신, 기법 등을 아우르는 메모를 나타낸다.
728x90
반응형
'Etc > Common' 카테고리의 다른 글
[Mac] 터미널(Terminal) 에서 ssh 원격 서버 접속 (0) | 2023.04.21 |
---|---|
[mac] openjdk 1.8 install (설치) (0) | 2023.04.05 |
[Mac] 스크린샷 찍기 (0) | 2023.04.02 |
[Mac] 한영키 변경 (0) | 2023.03.27 |
[공통] http protocols (0) | 2022.12.23 |