def _header_int_property(header):
 def getter(self):
  val = self.headers.get(header, None)
  if (val is not None):
   val = int(val)
  return val
 def setter(self, value):
  self.headers[header] = value
 return property(getter, setter, doc=('Retrieve and set the %s header as an int' % header))

def _header_int_property ( header ) : def getter ( self ) : val = self . headers . get ( header , None ) if ( val is not None ) : val = int ( val ) return val def setter ( self , value ) : self . headers [ header ] = value return property ( getter , setter , doc = ( 'Retrieve and set the %s header as an int' % header ) )
set and retrieve the value of self .