(self)
return copy
Returns a copy of self.
Returns a copy of self.
Returns a copy of self .
def copy(self):
        ''' Returns a copy of self. '''
        copy = Response()
        copy.status = self.status
        copy._headers = dict((k, v[:]) for (k, v) in self._headers.items())
        return copy
def copy ( self ) : copy = Response ( ) copy . status = self . status copy . _headers = dict ( ( k , v [ : ] ) for ( k , v ) in self . _headers . items ( ) ) return copy