openid / Contract-Exchange-Extension

The (draft) OpenID Contract Exchange Extension specification.
6 stars 3 forks source link

Should the delimiter of the template URL be # or ? #9

Closed sakimura closed 13 years ago

sakimura commented 14 years ago

Right now, it is stated as

http://example.com/template.txt#sha256:template_hash

but is it not better to be like

http://example.com/template.txt?sha256=template_hash ?

hdknr commented 14 years ago

Because URI fragments( identifier portion after the number sign ) must be used to identify some portions or subsets of the resource dereferenced by the URI without fragments (http://tools.ietf.org/html/rfc3986), query string may be better.

sakimura commented 14 years ago

OK, then let us make it query string.

hdknr commented 14 years ago

If the OP want to use a static document rather than some server programs or configuration to host CX Temlates, query strings has no meaning on the server side. I mean that the returned content is same for botth "?sha1=_" and "?sha256=_".