From 4957f682112bf508caf5188852ea0f7a402e13bd Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Sun, 3 Jul 2016 10:10:19 +0200 Subject: [PATCH 1/2] Added docs for debug_plugins. --- plugins/introduction.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugins/introduction.rst b/plugins/introduction.rst index 07f4b07..1507842 100644 --- a/plugins/introduction.rst +++ b/plugins/introduction.rst @@ -94,6 +94,14 @@ To prevent issues with faulty plugins or endless redirects, the ``PluginClient`` check to the start of the plugin chain. If the same request is restarted more than specified by that value, execution is aborted and an error is raised. +.. _plugin-client.debug-plugins: + +``debug_plugins``: array of Plugin +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +A debug plugin is injected between each normal plugin. This could be used to log the changes each +plugin does on the Request and Response objects. + .. _plugin-client.libraries: Libraries that Require Plugins From 73f8fb79344bcd768d1ab65eec8f7cd6860c273a Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Sun, 3 Jul 2016 19:04:32 +0200 Subject: [PATCH 2/2] typo --- plugins/introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/introduction.rst b/plugins/introduction.rst index 1507842..54dc9f4 100644 --- a/plugins/introduction.rst +++ b/plugins/introduction.rst @@ -99,7 +99,7 @@ that value, execution is aborted and an error is raised. ``debug_plugins``: array of Plugin ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -A debug plugin is injected between each normal plugin. This could be used to log the changes each +Debug plugins are injected between each normal plugin. This could be used to log the changes each plugin does on the Request and Response objects. .. _plugin-client.libraries: