Commits

Robert Brewer committed a3f0f0c

Doc tweaks.

Comments (0)

Files changed (2)

cherrypy/_cperror.py

             # Not Modified.
             # "The response MUST include the following header fields:
             # Date, unless its omission is required by section 14.18.1"
-            # The "Date" header should have been set in Request.__init__
+            # The "Date" header should have been set in Response.__init__
             
-            # "...the response SHOULD NOT include other entity-headers.
+            # "...the response SHOULD NOT include other entity-headers."
             for key in ('Allow', 'Content-Encoding', 'Content-Language',
                         'Content-Length', 'Content-Location', 'Content-MD5',
                         'Content-Range', 'Content-Type', 'Expires',

cherrypy/_cpwsgi.py

     call will always be of HTTP method "GET", and therefore any params must
     be passed in the InternalRedirect object's query_string attribute.
     If you need something more complicated, make and raise your own
-    exception and your own WSGI middlewre to trap it. ;)
+    exception and your own WSGI middleware to trap it. ;)
     
     It would be a bad idea to raise InternalRedirect after you've already
     yielded response content, although an enterprising soul could choose