summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArialdo Martini <arialdomartini@gmail.com>2014-02-11 23:42:44 +0100
committerArialdo Martini <arialdomartini@gmail.com>2014-02-11 23:42:44 +0100
commitd532936eb1133d9c85f612b5eb65858c2a7975c2 (patch)
treecf2690f998078196f44ba6258c24ac49453b7746
parenta5ed28bd5a20f1d1ab4bf3901d77731aa3853f29 (diff)
downloadwebtest-d532936eb1133d9c85f612b5eb65858c2a7975c2.tar.gz
"200 OK" rather that "200 Ok"
-rw-r--r--docs/index.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/index.txt b/docs/index.txt
index d522669..71f2753 100644
--- a/docs/index.txt
+++ b/docs/index.txt
@@ -80,7 +80,7 @@ Here is a basic application::
>>> def application(environ, start_response):
... headers = [('Content-Type', 'text/html; charset=utf8'),
... ('Content-Length', str(len(body)))]
- ... start_response('200 Ok', headers)
+ ... start_response('200 OK', headers)
... return [body]
Wrap it into a :class:`~webtest.TestApp`::
@@ -94,7 +94,7 @@ Then you can get the response of a HTTP GET::
And check the results, like response's status::
- >>> assert resp.status == '200 Ok'
+ >>> assert resp.status == '200 OK'
>>> assert resp.status_int == 200
Response's headers::