Mercurial > hg
diff tests/test-diff-binary-file.t @ 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 | f2719b387380 |
children | 3fbef7ac26f0 |