From 842ed8a0e9d4e4ccadd6114147f8e2805b0a251c Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Fri, 1 Nov 2013 13:15:33 +0100 Subject: Show all HTTP headers in the headers panel. Show a relevant subset of the WSGI environ separately. Fix #62. --- .../templates/debug_toolbar/panels/headers.html | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'debug_toolbar/templates') diff --git a/debug_toolbar/templates/debug_toolbar/panels/headers.html b/debug_toolbar/templates/debug_toolbar/panels/headers.html index 981b847..6b057e9 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/headers.html +++ b/debug_toolbar/templates/debug_toolbar/panels/headers.html @@ -1,4 +1,7 @@ {% load i18n %} + +

{% trans "HTTP Headers" %}

+ @@ -15,3 +18,24 @@ {% endfor %}
+ +

{% trans "WSGI environ" %}

+ +

{% trans "Since the WSGI environ inherits the environment of the server, only a subset is shown below." %}

+ + + + + + + + + + {% for key, value in environ.items %} + + + + + {% endfor %} + +
{% trans "Key" %}{% trans "Value" %}
{{ key|escape }}{{ value|escape }}
-- cgit v1.2.3