Mercurial > public > mercurial-scm > hg
diff mercurial/httpclient/tests/test_chunked_transfer.py @ 14376:a75e0f4ba0ab
httpclient: import revision fc731618702a of py-nonblocking-http
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 17 May 2011 10:28:03 -0500 |
parents | 861f28212398 |
children | c81dce8a7bb6 |
line wrap: on
line diff
--- a/mercurial/httpclient/tests/test_chunked_transfer.py Mon May 16 16:59:45 2011 -0500 +++ b/mercurial/httpclient/tests/test_chunked_transfer.py Tue May 17 10:28:03 2011 -0500 @@ -53,7 +53,7 @@ con = http.HTTPConnection('1.2.3.4:80') con._connect() sock = con.sock - sock.read_wait_sentinel = 'end-of-body' + sock.read_wait_sentinel = '0\r\n\r\n' sock.data = ['HTTP/1.1 200 OK\r\n', 'Server: BogusServer 1.0\r\n', 'Content-Length: 6',