Change of test: don't require early bad request error but only after CRLF-CRLF.
This commit is contained in:
		| @@ -8,7 +8,7 @@ def test_bad_request_response(app): | ||||
|     async def _request(sanic, loop): | ||||
|         connect = asyncio.open_connection("127.0.0.1", 42101) | ||||
|         reader, writer = await connect | ||||
|         writer.write(b"not http") | ||||
|         writer.write(b"not http\r\n\r\n") | ||||
|         while True: | ||||
|             line = await reader.readline() | ||||
|             if not line: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 L. Kärkkäinen
					L. Kärkkäinen