What is RFC-compliant URI

让人想犯罪 __ 提交于 2019-12-12 11:16:37

问题


While going through features of .NET framework 4.5, I found that it supports RFC-compliant URIs. What does it mean to have RFC-compliant URI support?


回答1:


RFC is a set of internet standards that define various aspects of internet protocols - in your case the standard format of an URI. You can find the relevant standard here: http://www.ietf.org/rfc/rfc2396.txt

RFC 2396 defines explicitly what are the parts that make up an URI (for example the scheme, authority, path etc.) and what are the valid values for each of them.

What they mean with RFC-compliant URIs is that the Uri class from the .NET framework follows the above standard and enforces it.




回答2:


An RFC is a specification; an RFC compliant URI is one which conforms to that specification.

You didn't say which RFC though, it might mean 3986 or 2396 (or one I haven't spotted).



来源:https://stackoverflow.com/questions/7483657/what-is-rfc-compliant-uri

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!