diff options
author | Gael Pasgrimaud <gael@gawel.org> | 2014-02-12 00:37:07 +0100 |
---|---|---|
committer | Gael Pasgrimaud <gael@gawel.org> | 2014-02-12 00:37:07 +0100 |
commit | 2cdfd08afa804cf1ee60fc6c9c671547c77860b1 (patch) | |
tree | cf2690f998078196f44ba6258c24ac49453b7746 | |
parent | a5ed28bd5a20f1d1ab4bf3901d77731aa3853f29 (diff) | |
parent | d532936eb1133d9c85f612b5eb65858c2a7975c2 (diff) | |
download | webtest-2cdfd08afa804cf1ee60fc6c9c671547c77860b1.tar.gz |
Merge pull request #105 from arialdomartini/master
"200 OK" rather that "200 Ok"
-rw-r--r-- | docs/index.txt | 4 |
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:: |