MCPcopy Index your code
hub / github.com/cherrypy/cherrypy / MultiHeader

Class MultiHeader

cherrypy/test/test_core.py:273–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271 'on_end_resource', append_headers)
272
273 class MultiHeader(Test):
274
275 def header_list(self):
276 pass
277 header_list = cherrypy.tools.append_headers(header_list=[
278 (b'WWW-Authenticate', b'Negotiate'),
279 (b'WWW-Authenticate', b'Basic realm="foo"'),
280 ])(header_list)
281
282 def commas(self):
283 cherrypy.response.headers[
284 'WWW-Authenticate'] = 'Negotiate,Basic realm="foo"'
285
286 cherrypy.tree.mount(root)
287

Callers

nothing calls this directly

Calls 1

append_headersMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…