title: How to parse data-uri in python?
body: <p>HTML image elements have <a href="http://www.w3schools.com/tags/tag_img.asp" rel="nofollow noreferrer">this</a> simplified format:</p>
  <pre><code>&lt;img src='something'&gt;
  </code></pre>
  <p>That something can be <a href="https://www.rfc-editor.org/rfc/rfc2397" rel="nofollow noreferrer"><code>data-uri</code></a>, for example:</p>
  <pre><code>data:image/png;base64,iVBORw0KGg...
  </code></pre>
  <p>Is there a standard way of parsing this with python, so that I get <code>content_type</code> and base64 data separated, or should I create my own parser for this?</p>