Hacker News new | ask | show | jobs
by franze 4281 days ago
why does the "integrity" attribute use this strange fake-URL?

ni:///

why 3 slashes? any clue?

3 comments

They cite RFC6920 [1], which uses the "host" portion of the URL as an optional "authority" field.

[1] http://tools.ietf.org/html/rfc6920#section-3

Because the ni scheme is separate from this proposal and it supports having a server there if you retrieve named information from somewhere else (implementation defined i think).
Could be

  ni:
  //
  <empty field>
  /
file:: URIs can have it, too (http://superuser.com/questions/352133/what-is-the-reason-tha...)