summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGael Pasgrimaud <gael@gawel.org>2014-02-12 00:37:07 +0100
committerGael Pasgrimaud <gael@gawel.org>2014-02-12 00:37:07 +0100
commit2cdfd08afa804cf1ee60fc6c9c671547c77860b1 (patch)
treecf2690f998078196f44ba6258c24ac49453b7746
parenta5ed28bd5a20f1d1ab4bf3901d77731aa3853f29 (diff)
parentd532936eb1133d9c85f612b5eb65858c2a7975c2 (diff)
downloadwebtest-2cdfd08afa804cf1ee60fc6c9c671547c77860b1.tar.gz
Merge pull request #105 from arialdomartini/master
"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::