def _resp_etag_property():
 def getter(self):
  etag = self.headers.get('etag', None)
  if etag:
   etag = etag.replace('"', '')
  return etag
 def setter(self, value):
  if (value is None):
   self.headers['etag'] = None
  else:
   self.headers['etag'] = ('"%s"' % value)
 return property(getter, setter, doc='Retrieve and set the response Etag header')

def _resp_etag_property ( ) : def getter ( self ) : etag = self . headers . get ( 'etag' , None ) if etag : etag = etag . replace ( '"' , '' ) return etag def setter ( self , value ) : if ( value is None ) : self . headers [ 'etag' ] = None else : self . headers [ 'etag' ] = ( '"%s"' % value ) return property ( getter , setter , doc = 'Retrieve and set the response Etag header' )
set and retrieve response .