##// END OF EJS Templates
tests: make test-hgweb.t output stable...
Mads Kiilerich -
r18393:a38039ef default
parent child Browse files
Show More
@@ -32,7 +32,8 b' def request(host, path, show):'
32 32 response = conn.getresponse()
33 33 print response.status, reasons.get(response.reason, response.reason)
34 34 if show[:1] == ['-']:
35 show = [h for h, v in response.getheaders() if h.lower() not in show]
35 show = sorted(h for h, v in response.getheaders()
36 if h.lower() not in show)
36 37 for h in [h.lower() for h in show]:
37 38 if response.getheader(h, None) is not None:
38 39 print "%s: %s" % (h, response.getheader(h))
General Comments 0
You need to be logged in to leave comments. Login now