You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was just trying your dataurl command line tool and the output of encoding an HTML file was data:text/html; charset=utf-8;base64,... instead of data:text/html;charset=utf-8;base64,.... I'm guessing the tool is intending to put name=index.html; where the space is before charset. But is failing for some reason.
The text was updated successfully, but these errors were encountered:
Any chance of this getting looked at? It's been over two months since this issue was posted and it's the only open issue in the repo. An acknowledgement that this was seen and your currently too busy to look into it would be fine.
@runeimp The space actually comes from mime.TypeByExtension() .
There is currently no behavior to add the name parameter when encoding a file. That's something that could be done easily though.
I was just trying your dataurl command line tool and the output of encoding an HTML file was
data:text/html; charset=utf-8;base64,...
instead ofdata:text/html;charset=utf-8;base64,...
. I'm guessing the tool is intending to putname=index.html;
where the space is beforecharset
. But is failing for some reason.The text was updated successfully, but these errors were encountered: