def __init__(self, sock, debuglevel=0, method=None, **kwargs):
     # We have to use a positive debuglevel to get it passed to here,
     # however we don't want to use it because by default debugging prints
     # to the stdout and we can't capture it, so we use a special -1 value
     if debuglevel == 5:
         debuglevel = -1
     HTTPResponse.__init__(self, sock, debuglevel=debuglevel, method=method)
Beispiel #2
0
 def __init__(self, sock, debuglevel=0, method=None, **kwargs):
     # We have to use a positive debuglevel to get it passed to here,
     # however we don't want to use it because by default debugging prints
     # to the stdout and we can't capture it, so we use a special -1 value
     if debuglevel == 5:
         debuglevel = -1
     HTTPResponse.__init__(self, sock, debuglevel=debuglevel, method=method)
Beispiel #3
0
        def __init__(self,
                     sock,
                     debuglevel=0,
                     strict=0,
                     method=None,
                     buffering=False):
            HTTPResponse.__init__(self, sock, debuglevel, strict, method,
                                  buffering)

            self._refcount = 0
Beispiel #4
0
		def __init__(self, sock, debuglevel=0, strict=0, method=None, buffering=False):
			HTTPResponse.__init__(self, sock, debuglevel, strict, method, buffering)
			
			self._refcount = 0