api.request: minor style fix
Added initial probably-broken BITS implementation