When running with requests<2.18 (i.e. on RHEL 7), streaming responses are not a context manager and need to be wrapped in contextlib.closing. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com> (cherry picked from commit 860360629d)
860360629d