Hacker News new | ask | show | jobs
by rudilee 4281 days ago
and instead of 'hash' it use 'integrity' attribute
2 comments

To be clear, I was totally making up this proposal; I wasn't aware that there was a spec. Nothing should be read into the fact that I used "hash" and they use "integrity".
why does the "integrity" attribute use this strange fake-URL?

ni:///

why 3 slashes? any clue?

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...)