=============================================================== ``miniblocks_uris--benja``: Changes to the miniblock URI syntax =============================================================== :Author: Benja Fallenstein :Date: 2003-01-01 :Last-Modified: $Date: 2003/01/01 13:33:28 $ :Revision: $Revision: 1.1 $ :Status: Current ``miniblocks--benja`` states that the default MIME type of a miniblock is ``text/plain``. Since we are promoting Unicode, this should be ``text/plain;charset=UTF-8``. In addition, to be closer to `RFC 2397`_ (The "data" URL scheme), the syntax is modified to the following:: storm:data::[]:[][;base64], where ```` is a base64-encoded string containing at least 160 bits of randomness (as in urn-5), ```` is a counter of miniblocks with the same ```` part (only ``[0-9]`` digits are allowed), ```` is the content type of the block, with optional parameters, and ```` is the actual data. If ``;base64`` is given, ```` is encoded in base64 as per `RFC 2045`_, section 6.8. (Base64 Content-Transfer-Encoding). Note that this differs from ````, which is encoded according to the `urn-5 spec`_. We will not support base64 encoding in Gzz initially (just as we don't support anything but ``text/plain;charset=UTF-8``). The case of '``data``' and '``;base54``' does not matter (as well as the case of '``storm``' doesn't, per the URI spec). .. _RFC 2397: http://www.ietf.org/rfc/rfc2397.txt .. _RFC 2045: http://www.ietf.org/rfc/rfc2045.txt .. _urn-5 spec: http://www.iana.org/assignments/urn-informal/urn-5