mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 10:03:57 +03:00
Missing status code in .txt version of API
This commit is contained in:
parent
9ded9d232c
commit
27598fc5f4
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{{ description }}
|
{{ description }}
|
||||||
|
|
||||||
HTTP {{ response.status }} {{ response.status_text }}
|
HTTP {{ response.status_code }} {{ response.status_text }}
|
||||||
{% for key, val in response.headers.items %}{{ key }}: {{ val }}
|
{% for key, val in response.headers.items %}{{ key }}: {{ val }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ content }}{% endautoescape %}
|
{{ content }}{% endautoescape %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user