aboutsummaryrefslogtreecommitdiffstats
path: root/docs/panels.rst
diff options
context:
space:
mode:
authorAymeric Augustin2013-11-01 13:35:56 +0100
committerAymeric Augustin2013-11-01 13:35:56 +0100
commit30180ec9a3d82752e309f5d0f9c685dec097e40d (patch)
treec04327311efbaa51d324e9564bc7199671e19652 /docs/panels.rst
parent842ed8a0e9d4e4ccadd6114147f8e2805b0a251c (diff)
downloaddjango-debug-toolbar-30180ec9a3d82752e309f5d0f9c685dec097e40d.tar.bz2
Add response headers to the Headers panel.
Diffstat (limited to 'docs/panels.rst')
-rw-r--r--docs/panels.rst11
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/panels.rst b/docs/panels.rst
index a4b809e..b5b7b2e 100644
--- a/docs/panels.rst
+++ b/docs/panels.rst
@@ -30,12 +30,17 @@ Path: ``debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel``
A list of settings in settings.py.
-Header
-~~~~~~
+Headers
+~~~~~~~
Path: ``debug_toolbar.panels.headers.HeaderDebugPanel``
-Common HTTP headers.
+This panels shows the HTTP request and response headers, as well as a
+selection of values from the WSGI environment.
+
+Note that headers set by middleware placed before the debug toolbar middleware
+in ``MIDDLEWARE_CLASSES`` won't be visible in the panel. The WSGI server
+itself may also add response headers such as ``Date`` and ``Server``.
Request
~~~~~~~