Exemplo n.º 1
0
 def _read_status(self):
     if self._status_tuple is not None:
         status_tuple = self._status_tuple
         self._status_tuple = None
         return status_tuple
     else:
         return HTTPResponse._read_status(self)
Exemplo n.º 2
0
 def _read_status(self):
     if self._status_tuple is not None:
         status_tuple = self._status_tuple
         self._status_tuple = None
         return status_tuple
     else:
         return HTTPResponse._read_status(self)
Exemplo n.º 3
0
 def __init__(self, *args, **kwargs):
     self._status_tuple = kwargs.pop('status_tuple')
     HTTPResponse.__init__(self, *args, **kwargs)
Exemplo n.º 4
0
 def __init__(self, *args, **kwargs):
     self._status_tuple = kwargs.pop('status_tuple')
     HTTPResponse.__init__(self, *args, **kwargs)