drastically simplify given this doesn't use streaming mode anyway in an attempt to tame memory leaks
oops have to specify a base url even if you don't use just that url