(uri, *, timeout=300, **params)
| 63 | |
| 64 | |
| 65 | def HttpQuery(uri, *, timeout=300, **params): |
| 66 | conn = httplib2.Http(timeout=timeout) |
| 67 | response, contents = conn.request(uri=uri, **params) |
| 68 | contents = contents.decode("utf-8", "replace") |
| 69 | return StringIO(contents) |
| 70 | |
| 71 | |
| 72 | def HttpJSONQuery(*args, **params): |
no test coverage detected
searching dependent graphs…