Show More
@@ -43,8 +43,9 b' def request(host, path, show):' | |||
|
43 | 43 | print "%s: %s" % (h, response.getheader(h)) |
|
44 | 44 | if not headeronly: |
|
45 | 45 | |
|
46 | data = response.read() | |
|
47 | sys.stdout.write(data) | |
|
46 | if response.status != 500: | |
|
47 | data = response.read() | |
|
48 | sys.stdout.write(data) | |
|
48 | 49 | |
|
49 | 50 | if twice and response.getheader('ETag', None): |
|
50 | 51 | tag = response.getheader('ETag') |
General Comments 0
You need to be logged in to leave comments.
Login now