{% load i18n %} {% load sentry_helpers %}
{% if method %} {% endif %} {% if data %} {% endif %} {% if cookies %} {% endif %} {% if headers %} {% endif %} {% if env %} {% endif %}
{% trans "URL:" %} {{ url }}
{% trans "Method:" %} {{ method }}
{% trans "Query:" %} {{ query_string|pprint }}
{% trans "Body:" %} {% if data_is_dict %} {% if data|length > 5 %} {% trans "Body" %} {% endif %} 5 %} style="display:none;"{% endif %}> {% for key, value in data.iteritems|as_sorted %} {% endfor %}
{{ key }}
{{ value|pprint }}
{% else %} {% if data|length > 5 %} {% trans "Body" %} {% endif %}
5 %} style="display:none;"{% endif %}>
{{ data|pprint }}
{% endif %}
{% trans "Cookies:" %} {% if cookies_is_dict %} {% if cookies|length > 5 %} {% trans "Cookies" %} {% endif %} 5 %} style="display:none;"{% endif %}> {% for key, value in cookies.iteritems|as_sorted %} {% endfor %}
{{ key|to_str }}
{{ value|pprint }}
{% else %} {% if cookies|length > 5 %} {% trans "Cookies" %} {% endif %}
5 %} style="display:none;"{% endif %}>
{{ cookies|pprint }}
{% endif %}
{% trans "Headers:" %} {% if headers_is_dict %} {% if headers|length > 5 %} {% trans "Headers" %} {% endif %} 5 %} style="display:none;"{% endif %}> {% for key, value in headers.iteritems|as_sorted %} {% endfor %}
{{ key|to_str }}
{{ value|pprint }}
{% else %} {% if headers|length > 5 %} {% trans "Headers" %} {% endif %}
5 %} style="display:none;"{% endif %}>
{{ headers|pprint }}
{% endif %}
{% trans "Environment:" %} {% if env|length > 5 %} {% trans "Environment" %} {% endif %} 5 %} style="display:none;"{% endif %}> {% for key, value in env.iteritems|as_sorted %} {% endfor %}
{{ key }}
{{ value|pprint }}