parameters: (k, v)
docstring: Attach response attributes declared in config.
docstring_summary: Attach response attributes declared in config.
docstring_tokens: Attach response attributes declared in config .
function: def response_namespace(k, v):
      """Attach response attributes declared in config."""
      # Provides config entries to set default response headers
      # http://cherrypy.org/ticket/889
      if k[:8] == 'headers.':
          cherrypy.serving.response.headers[k.split('.', 1)[1]] = v
      else:
          setattr(cherrypy.serving.response, k, v)
function_tokens: def response_namespace ( k , v ) : # Provides config entries to set default response headers # http://cherrypy.org/ticket/889 if k [ : 8 ] == 'headers.' : cherrypy . serving . response . headers [ k . split ( '.' , 1 ) [ 1 ] ] = v else : setattr ( cherrypy . serving . response , k , v )