Mercurial > hg
diff tests/test-batching.py @ 19865:ba6577a19656
get-with-headers: don't block indefinitely if the server had an internal error
If the server had an internal error and returned 500, there's nothing
to read, so "response.read()" blocks indefinitely. Only output the
response if there's really a response.
author | Javi Merino <cibervicho@gmail.com> |
---|---|
date | Wed, 02 Oct 2013 22:46:32 +0100 |
parents | a7d5816087a9 |
children | cbbdd085c991 |