8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18c0b2c commit dbc45a2Copy full SHA for dbc45a2
asyncio/asyncio.py
@@ -205,8 +205,8 @@ def readline(self):
205
s = yield IORead(self.s)
206
log.debug("StreamReader.readline(): after IORead: %s", s)
207
res = self.s.readline()
208
- if not res:
209
- yield IODone(IO_READ, self.s)
+# if not res:
+# yield IODone(IO_READ, self.s)
210
log.debug("StreamReader.readline(): res: %s", res)
211
return res
212
asyncio/test_http_client.py
@@ -5,7 +5,8 @@ def print_http_headers(url):
5
reader, writer = yield from asyncio.open_connection(url, 80)
6
print(reader, writer)
7
print("================")
8
- query = "GET / HTTP/1.0\n\n"
+ query = "GET / HTTP/1.0\r\nHost: foo\r\n\r\n"
9
+# query = "GET / HTTP/1.0\r\n\r\n"
10
print(query.encode('latin-1'))
11
yield from writer.write(query)
12
while True:
0 commit comments