email.message.Message.del_param()

del_param(param, header='content-type', requote=True)

Remove the given parameter completely from the Content-Type header. The header will be re-written in place without the parameter or its value. All values will be quoted as necessary unless requote is False (the default is True). Optional header specifies an alternative to Content-Type.

doc_python
2016-10-07 17:32:39
Comments
Leave a Comment

Please login to continue.