Robert Brewer avatar 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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.