chunk requests to avoid overrunning URL length limits

Signed-off-by: Stephen Gran <stephen.gran@piksel.com>
use correct variable

Signed-off-by: Stephen Gran <stephen.gran@piksel.com>
fold arguments to make flake8 happy

Signed-off-by: Stephen Gran <stephen.gran@piksel.com>
move to top level function and add tests

Signed-off-by: Stephen Gran <stephen.gran@piksel.com>
drop unneeded parameter to shorten line length

Signed-off-by: Stephen Gran <stephen.gran@piksel.com>
move to top-level function

Signed-off-by: Stephen Gran <stephen.gran@piksel.com>
Merge pull request #4 from sgran/master

chunk requests to avoid overrunning URL length limits