Add a test for getting raw files via the web UI.
[ original upstream description ]
#!/usr/bin/env python__doc__="""This does HTTP get requests given a host:port and path and returnsa subset of the headers plus the body of the result."""importhttplib,sysheaders=[h.lower()forhinsys.argv[3:]]conn=httplib.HTTPConnection(sys.argv[1])conn.request("GET",sys.argv[2])response=conn.getresponse()printresponse.status,response.reasonforhinheaders:ifresponse.getheader(h,None)isnotNone:print"%s: %s"%(h,response.getheader(h))printsys.stdout.write(response.read())