aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/status-codes.md
diff options
context:
space:
mode:
authorBrickXu2014-12-02 12:52:36 +0800
committerBrickXu2014-12-02 12:52:36 +0800
commit81870b6e1a7b0c3c149d4bfba0e20924ebf1b187 (patch)
tree4acb295a3c941db00b36f54f906d4e4e24e5bcf4 /docs/api-guide/status-codes.md
parent71654967325ff5c587ce37031109152e741786ee (diff)
parentd1fe61ce94af1e942f8d1026fb84b1909c230779 (diff)
downloaddjango-rest-framework-81870b6e1a7b0c3c149d4bfba0e20924ebf1b187.tar.bz2
Merge pull request #2 from tomchristie/master
Merge upstream
Diffstat (limited to 'docs/api-guide/status-codes.md')
-rw-r--r--docs/api-guide/status-codes.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/api-guide/status-codes.md b/docs/api-guide/status-codes.md
index 64c46434..d81e092c 100644
--- a/docs/api-guide/status-codes.md
+++ b/docs/api-guide/status-codes.md
@@ -1,4 +1,4 @@
-<a class="github" href="status.py"></a>
+source: status.py
# Status Codes
@@ -27,7 +27,7 @@ The module also includes a set of helper functions for testing if a status code
url = reverse('index')
response = self.client.get(url)
self.assertTrue(status.is_success(response.status_code))
-
+
For more information on proper usage of HTTP status codes see [RFC 2616][rfc2616]
and [RFC 6585][rfc6585].
@@ -51,7 +51,7 @@ This class of status code indicates that the client's request was successfully r
HTTP_205_RESET_CONTENT
HTTP_206_PARTIAL_CONTENT
-## Redirection - 3xx
+## Redirection - 3xx
This class of status code indicates that further action needs to be taken by the user agent in order to fulfill the request.