Comments (7)
http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-17#section-3.2.1
and all before: " Newly defined header fields SHOULD limit their field values to US-ASCII octets."
An IRI that isn't a URI contains non-ASCII characters. "Link:" is a (relatively) new header field, the octets should be recommended at least to be URIs, not IRIs.
from i-d.
Right. The counter-argument here is that links are conveyed in a lot more than HTTP headers; e.g., in HTML and Atom. The question is whether those formats should convert from IRI to URI before considering them RFC5988 links.
from i-d.
-1 to changing to URI only. I have implementations written to assume IRI. I see no justification for adding this limitation.
from i-d.
Fine..
from i-d.
Fundamentally, this issue is the time-worn URI/IRI issue -- is there any semantic difference between a IRI and the URI it can be transformed into?
AIUI current IETF thinking is that IRIs are a "presentation artefact" -- i.e., they belong in UIs, not as protocol artefacts (keeping in mind that markup languages like HTML are considered UIs for authors).
Not sure if we'll be able to resolve this until there's a definitive answer elsewhere, though.
from i-d.
I feel like this might be resolved with a note in the Internationalisation Considerations and/or Extension Relation Types sections to the effect of "If you use an IRI for an extension relation type, be aware that it may cause problems."
For targets and contexts, we can't disallow IRIs; we can note that they need to be handled carefully in some systems.
from i-d.
Huh. Internationalisation Considerations in 5988 already says:
Relation types are defined as URIs, not IRIs, to aid in their comparison. It is not expected that they will be displayed to end users.
So, I think we can close this one.
from i-d.
Related Issues (20)
- Cookie non-string values
- bikeshed-length header: "decimal" number of octets?
- Add examples, move Appendix A contents to section 3 -- .well-known is being used below / HOT 1
- Link Hint to indicate resource class
- Correct usage of profiles within Link Hints
- Concerns regarding large Link headers with Link Hints HOT 1
- Timing concerns for Link Hints HOT 1
- How to serialize multiple "item" links?
- link-hint: broken link in boilerplate
- Wrong HTTP RFC ref'd HOT 1
- Representations of time based fields HOT 5
- Renaming draft-nottingham-binary-structured-headers to draft-nottingham-binary-structured-fields HOT 1
- Any chance of link-hints and linked-cache invalidation to become an RFC? HOT 2
- Token / key dictionary
- h3 negotiation
- IP reputation links
- Typo: BINARY_STRUCTRED -> BINARY_STRUCTURED
- Cookie-Indices should specify how unexpected values are handled HOT 1
- Cookie-Indices should specify how duplicate cookies are treated
- does available hints allow multiple default setting HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i-d.