{{ resource.name }}
{{ resource.description|linebreaksbr }}
{{ response.status }} {{ response.status_text }}{% autoescape off %} {% for key, val in response.headers.items %}{{ key }}: {{ val|urlize_quoted_links }} {% endfor %} {{ content|urlize_quoted_links }}{% endautoescape %} {% if 'GET' in resource.allowed_methods %}
GET
{% endif %}
{% comment %} *** Only display the POST/PUT/DELETE forms if we have a bound form, and if method ***
*** tunneling via POST forms is enabled. ***
*** (We could display only the POST form if method tunneling is disabled, but I think ***
*** the user experience would be confusing, so we simply turn all forms off. *** {% endcomment %}
{% if resource.METHOD_PARAM and form %}
{% if 'POST' in resource.allowed_methods %}
-
{% for media_type in resource.emitted_media_types %}
{% with resource.ACCEPT_QUERY_PARAM|add:"="|add:media_type as param %}
- [{{ media_type }}] {% endwith %} {% endfor %}