def _req_environ_property(environ_field):
 def getter(self):
  return self.environ.get(environ_field, None)
 def setter(self, value):
  if isinstance(value, six.text_type):
   self.environ[environ_field] = value.encode('utf-8')
  else:
   self.environ[environ_field] = value
 return property(getter, setter, doc=('Get and set the %s property in the WSGI environment' % environ_field))

def _req_environ_property ( environ_field ) : def getter ( self ) : return self . environ . get ( environ_field , None ) def setter ( self , value ) : if isinstance ( value , six . text_type ) : self . environ [ environ_field ] = value . encode ( 'utf-8' ) else : self . environ [ environ_field ] = value return property ( getter , setter , doc = ( 'Get and set the %s property in the WSGI environment' % environ_field ) )
set and retrieve value of the environ_field entry in self .