What is RFC-compliant URI
Asked Answered
P

2

5

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?

Piatt answered 20/9, 2011 at 10:25 Comment(2)
I assume you read it here. Digging into System.Net.Http indicates that several new classes are designed to match RFC2616, but no further information that I can find.Limnology
@Damin: yes.. you are right..Piatt
G
10

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.

Grapple answered 20/9, 2011 at 10:39 Comment(2)
Defiintely take a look at RFC 3986, like @Quentin mentioned.Fetial
Especially since 3986 makes 2396 obsolete, you should actually only look at 3986 :-) tools.ietf.org/html/rfc3986Neibart
H
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).

Honan answered 20/9, 2011 at 10:39 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.