(self, match)
| 1335 | |
| 1336 | @test_utils.Router.define('/cookies$') |
| 1337 | def cookies(self, match): |
| 1338 | cookies = http.cookies.SimpleCookie() |
| 1339 | cookies['c1'] = 'cookie1' |
| 1340 | cookies['c2'] = 'cookie2' |
| 1341 | |
| 1342 | resp = self._start_response(200) |
| 1343 | for cookie in cookies.output(header='').split('\n'): |
| 1344 | resp.add_header('Set-Cookie', cookie.strip()) |
| 1345 | |
| 1346 | resp.add_header( |
| 1347 | 'Set-Cookie', |
| 1348 | 'ISAWPLB{A7F52349-3531-4DA9-8776-F74BC6F4F1BB}=' |
| 1349 | '{925EC0B8-CB17-4BEB-8A35-1033813B0523}; HttpOnly; Path=/') |
| 1350 | self._response(resp) |
| 1351 | |
| 1352 | @test_utils.Router.define('/cookies_partial$') |
| 1353 | def cookies_partial(self, match): |
nothing calls this directly
no test coverage detected