[issue39131] signing needs two serialisation passes

R. David Murray report at bugs.python.org
Tue Dec 24 12:53:24 EST 2019


R. David Murray <rdmurray at bitdance.com> added the comment:

Ideally this should be exposed by extending the content manager.  Instantiating MIME classes is part of the old API, not the new. The code in the PR may well be correct, but class should be hidden from the normal user (of the new API).  I'm not sure what the best way to specify the signing function will be, but I'm guessing a new keyword parameter in the content API.

Note that the current content management API is more of a framework than a fully worked out system, so figuring out the best way to add this may require some design discussion.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39131>
_______________________________________


More information about the Python-bugs-list mailing list