[Checkins] SVN: zope.publisher/trunk/src/zope/publisher/ Reverted
status message based on the discussion at
https://bugs.launchpad.net/zope3/+bug/112109
Dmitry Vasiliev
dima at hlabs.spb.ru
Wed May 16 02:13:17 EDT 2007
Log message for revision 75794:
Reverted status message based on the discussion at https://bugs.launchpad.net/zope3/+bug/112109
Changed:
U zope.publisher/trunk/src/zope/publisher/http.py
U zope.publisher/trunk/src/zope/publisher/tests/test_browserrequest.py
U zope.publisher/trunk/src/zope/publisher/tests/test_http.py
-=-
Modified: zope.publisher/trunk/src/zope/publisher/http.py
===================================================================
--- zope.publisher/trunk/src/zope/publisher/http.py 2007-05-16 05:49:13 UTC (rev 75793)
+++ zope.publisher/trunk/src/zope/publisher/http.py 2007-05-16 06:13:16 UTC (rev 75794)
@@ -88,7 +88,7 @@
100: 'Continue',
101: 'Switching Protocols',
102: 'Processing',
-200: 'OK',
+200: 'Ok',
201: 'Created',
202: 'Accepted',
203: 'Non-Authoritative Information',
Modified: zope.publisher/trunk/src/zope/publisher/tests/test_browserrequest.py
===================================================================
--- zope.publisher/trunk/src/zope/publisher/tests/test_browserrequest.py 2007-05-16 05:49:13 UTC (rev 75793)
+++ zope.publisher/trunk/src/zope/publisher/tests/test_browserrequest.py 2007-05-16 06:13:16 UTC (rev 75794)
@@ -134,7 +134,7 @@
res = self._publisherResults()
self.failUnlessEqual(
res,
- "Status: 200 OK\r\n"
+ "Status: 200 Ok\r\n"
"Content-Length: 7\r\n"
"Content-Type: text/plain;charset=utf-8\r\n"
"X-Content-Type-Warning: guessed from content\r\n"
Modified: zope.publisher/trunk/src/zope/publisher/tests/test_http.py
===================================================================
--- zope.publisher/trunk/src/zope/publisher/tests/test_http.py 2007-05-16 05:49:13 UTC (rev 75793)
+++ zope.publisher/trunk/src/zope/publisher/tests/test_http.py 2007-05-16 06:13:16 UTC (rev 75794)
@@ -174,7 +174,7 @@
res = self._publisherResults()
self.failUnlessEqual(
res,
- "Status: 200 OK\r\n"
+ "Status: 200 Ok\r\n"
"Content-Length: 6\r\n"
"X-Powered-By: Zope (www.zope.org), Python (www.python.org)\r\n"
"\r\n"
More information about the Checkins
mailing list