示例#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)
示例#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)
示例#3
0
 def __init__(self, *args, **kwargs):
     self._status_tuple = kwargs.pop('status_tuple')
     HTTPResponse.__init__(self, *args, **kwargs)
示例#4
0
 def __init__(self, *args, **kwargs):
     self._status_tuple = kwargs.pop('status_tuple')
     HTTPResponse.__init__(self, *args, **kwargs)