Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 917

Show
Ignore:
Timestamp:
01/08/06 16:34:53
Author:
fumanchu
Message:

Changed camelCase "streamResponse" to lowercase "stream_response".

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/_cphttptools.py

    r911 r917  
    396396        self.status = "%s %s" % (code, reason) 
    397397         
    398         stream = cherrypy.config.get("streamResponse", False) 
     398        stream = cherrypy.config.get("stream_response", False) 
    399399        # OPTIONS requests MUST include a Content-Length of 0 if no body. 
    400400        # Just punt and figure Content-Length for all OPTIONS requests. 
  • trunk/cherrypy/filters/encodingfilter.py

    r876 r917  
    5050    attempted_charsets = [] 
    5151     
    52     stream = conf("streamResponse", False) 
     52    stream = conf("stream_response", False) 
    5353    if stream: 
    5454        encode = encode_stream 
  • trunk/cherrypy/test/helper.py

    r910 r917  
    108108            request.close() 
    109109        except Exception, ex: 
    110             if cherrypy.config.get("streamResponse", False): 
     110            if cherrypy.config.get("stream_response", False): 
    111111                try: 
    112112                    request.close() 
  • trunk/cherrypy/test/test_core.py

    r913 r917  
    349349    }, 
    350350    '/error/page_streamed': { 
    351         'streamResponse': True, 
     351        'stream_response': True, 
    352352    }, 
    353353    '/error/cause_err_in_finalize': { 
     
    598598             
    599599            import cherrypy 
    600             # streamResponse should be True for this path. 
     600            # stream_response should be True for this path. 
    601601            if cherrypy.server.httpserver is None: 
    602602                self.assertRaises(ValueError, self.getPage, 
  • trunk/cherrypy/test/test_custom_filters.py

    r911 r917  
    120120    }, 
    121121    '/cpfilterlist/errinstream': { 
    122         'streamResponse': True, 
     122        'stream_response': True, 
    123123    }, 
    124124    '/cpfilterlist/err_in_onstart': { 
  • trunk/cherrypy/test/test_gzip_filter.py

    r856 r917  
    3131               'gzip_filter.on': True, 
    3232               }, 
    33     '/noshow_stream': {'streamResponse': True}, 
     33    '/noshow_stream': {'stream_response': True}, 
    3434}) 
    3535 

Hosted by WebFaction

Log in as guest/cpguest to create tickets