def _resp_app_iter_property():
 def getter(self):
  return self._app_iter
 def setter(self, value):
  if isinstance(value, (list, tuple)):
   self.content_length = sum(map(len, value))
  elif (value is not None):
   self.content_length = None
   self._body = None
  self._app_iter = value
 return property(getter, setter, doc='Retrieve and set the response app_iter')

def _resp_app_iter_property ( ) : def getter ( self ) : return self . _app_iter def setter ( self , value ) : if isinstance ( value , ( list , tuple ) ) : self . content_length = sum ( map ( len , value ) ) elif ( value is not None ) : self . content_length = None self . _body = None self . _app_iter = value return property ( getter , setter , doc = 'Retrieve and set the response app_iter' )
set and retrieve response .