def request_namespace(k, v):
 if (k[:5] == 'body.'):
  setattr(cherrypy.serving.request.body, k[5:], v)
 else:
  setattr(cherrypy.serving.request, k, v)

def request_namespace ( k , v ) : if ( k [ : 5 ] == 'body.' ) : setattr ( cherrypy . serving . request . body , k [ 5 : ] , v ) else : setattr ( cherrypy . serving . request , k , v )
attach request attributes declared in config .