(self)
| 896 | self.assertEqual(self.fetch_json("/optional_path/"), {u"path": None}) |
| 897 | |
| 898 | def test_multi_header(self): |
| 899 | response = self.fetch("/multi_header") |
| 900 | self.assertEqual(response.headers["x-overwrite"], "2") |
| 901 | self.assertEqual(response.headers.get_list("x-multi"), ["3", "4"]) |
| 902 | |
| 903 | def test_redirect(self): |
| 904 | response = self.fetch("/redirect?permanent=1", follow_redirects=False) |