parameters: (k, v)
docstring: Attach request attributes declared in config.
docstring_summary: Attach request attributes declared in config.
docstring_tokens: Attach request attributes declared in config .
function: def request_namespace(k, v):
      """Attach request attributes declared in config."""
      # Provides config entries to set request.body attrs (like
      # attempt_charsets).
      if k[:5] == 'body.':
          setattr(cherrypy.serving.request.body, k[5:], v)
      else:
          setattr(cherrypy.serving.request, k, v)
function_tokens: def request_namespace ( k , v ) : # Provides config entries to set request.body attrs (like # attempt_charsets). if k [ : 5 ] == 'body.' : setattr ( cherrypy . serving . request . body , k [ 5 : ] , v ) else : setattr ( cherrypy . serving . request , k , v )