Issue #1112 new

tools.encoding does not encode application/javascript by default

created an issue

I think, tools.encoding by default should convert not only text/... mime-types, but also some hardcoded mime-types like application/javascript, application/x-javascript, application/x-sh and so on.

Also, some text/... mimetypes, like text/xml, text/x-python encoding module should not touch bytes, as sources may contain encoding of the file.

So, encoding module should be more intellectual.

Comments (2)

  1. Log in to comment