Giter Club home page Giter Club logo

Comments (7)

masinter avatar masinter commented on August 27, 2024

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.

mnot avatar mnot commented on August 27, 2024

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.

jasnell avatar jasnell commented on August 27, 2024

-1 to changing to URI only. I have implementations written to assume IRI. I see no justification for adding this limitation.

from i-d.

masinter avatar masinter commented on August 27, 2024

Fine..

from i-d.

mnot avatar mnot commented on August 27, 2024

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.

mnot avatar mnot commented on August 27, 2024

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.

mnot avatar mnot commented on August 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.