(self)
| 251 | self.assertEqual("\u00fa", data["filebody"]) |
| 252 | |
| 253 | def test_newlines(self): |
| 254 | # We support both CRLF and bare LF as line separators. |
| 255 | for newline in (b"\r\n", b"\n"): |
| 256 | response = self.raw_fetch([b"GET /hello HTTP/1.0"], b"", newline=newline) |
| 257 | self.assertEqual(response, b"Hello world") |
| 258 | |
| 259 | @gen_test |
| 260 | def test_100_continue(self): |