hyperlink
hyperlink copied to clipboard
RFC2397 Data URIs
Percent-encoding isn't limited by utf-8 or any other underlying encoding, and thus can represent pretty much any data. RFC2397 takes advantage of this to jam whatever data you want, along with a mimetype into a URL.
If usage is common enough, the implementation doesn't overcomplicate, I think this might make sense for a built-in hyperlink feature. The first step is definitely to research how broadly this is used.
https://github.com/EclecticIQ/python-data-uri is a good starting point should we decide we want to include data URI functionality.