Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC2397 Data URIs #41

Open
mahmoud opened this issue Oct 11, 2017 · 1 comment
Open

RFC2397 Data URIs #41

mahmoud opened this issue Oct 11, 2017 · 1 comment

Comments

@mahmoud
Copy link
Member

mahmoud commented Oct 11, 2017

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.

@mahmoud
Copy link
Member Author

mahmoud commented Oct 11, 2017

https://github.com/EclecticIQ/python-data-uri is a good starting point should we decide we want to include data URI functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant