| 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 |
nothing calls this directly
no test coverage detected
searching dependent graphs…