mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-26 06:21:07 -05:00
Add DEBUG_API_REQUESTS Anymail setting to dump API communications.
Optionally dump API requests and responses to stdout, to simplify debugging of the raw API communications. Currently implemented only for Requests-based backends. This (undocumented) setting can log things like API keys, so is not appropriate for use in production.
This commit is contained in:
@@ -25,6 +25,20 @@ Release history
|
||||
^^^^^^^^^^^^^^^
|
||||
.. This extra heading level keeps the ToC from becoming unmanageably long
|
||||
|
||||
v4.3
|
||||
----
|
||||
|
||||
*In development*
|
||||
|
||||
Features
|
||||
~~~~~~~~
|
||||
|
||||
* Add (undocumented) DEBUG_API_REQUESTS Anymail setting. When enabled, prints raw
|
||||
API request and response during send. Currently implemented only for Requests-based
|
||||
backends (all but Amazon SES and SparkPost). Because this can expose API keys and
|
||||
other sensitive info in log files, it should not be used in production.
|
||||
|
||||
|
||||
v4.2
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user