Changeset 917
- Timestamp:
- 01/08/06 16:34:53
- Files:
-
- trunk/cherrypy/_cphttptools.py (modified) (1 diff)
- trunk/cherrypy/filters/encodingfilter.py (modified) (1 diff)
- trunk/cherrypy/test/helper.py (modified) (1 diff)
- trunk/cherrypy/test/test_core.py (modified) (2 diffs)
- trunk/cherrypy/test/test_custom_filters.py (modified) (1 diff)
- trunk/cherrypy/test/test_gzip_filter.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/_cphttptools.py
r911 r917 396 396 self.status = "%s %s" % (code, reason) 397 397 398 stream = cherrypy.config.get("stream Response", False)398 stream = cherrypy.config.get("stream_response", False) 399 399 # OPTIONS requests MUST include a Content-Length of 0 if no body. 400 400 # Just punt and figure Content-Length for all OPTIONS requests. trunk/cherrypy/filters/encodingfilter.py
r876 r917 50 50 attempted_charsets = [] 51 51 52 stream = conf("stream Response", False)52 stream = conf("stream_response", False) 53 53 if stream: 54 54 encode = encode_stream trunk/cherrypy/test/helper.py
r910 r917 108 108 request.close() 109 109 except Exception, ex: 110 if cherrypy.config.get("stream Response", False):110 if cherrypy.config.get("stream_response", False): 111 111 try: 112 112 request.close() trunk/cherrypy/test/test_core.py
r913 r917 349 349 }, 350 350 '/error/page_streamed': { 351 'stream Response': True,351 'stream_response': True, 352 352 }, 353 353 '/error/cause_err_in_finalize': { … … 598 598 599 599 import cherrypy 600 # stream Response should be True for this path.600 # stream_response should be True for this path. 601 601 if cherrypy.server.httpserver is None: 602 602 self.assertRaises(ValueError, self.getPage, trunk/cherrypy/test/test_custom_filters.py
r911 r917 120 120 }, 121 121 '/cpfilterlist/errinstream': { 122 'stream Response': True,122 'stream_response': True, 123 123 }, 124 124 '/cpfilterlist/err_in_onstart': { trunk/cherrypy/test/test_gzip_filter.py
r856 r917 31 31 'gzip_filter.on': True, 32 32 }, 33 '/noshow_stream': {'stream Response': True},33 '/noshow_stream': {'stream_response': True}, 34 34 }) 35 35

