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