开发者

Does urn-, url-, and uri-encoding all refer to the same thing?

开发者 https://www.devze.com 2023-01-29 12:51 出处:网络
Can someone clarify if URN, URI, and URL encoding are all infact the same thing? 开发者_开发技巧

Can someone clarify if URN, URI, and URL encoding are all infact the same thing?

开发者_开发技巧

What term is most correct to use?


Yes, they all refer to the same thing. The encoding was originally defined in RFC 1738, section 2.2, and hence called "URL encoding". The URN RFC (2141) also defines that encoding, in section 2.3.1. According to RFC 3986, the correct term is typically URI (especially when talking about the general thing). This RFC defines the Percent-Encoding in section 2.1.

0

精彩评论

暂无评论...
验证码 换一张
取 消