code: function setDefaults ({ headers={}, overrideHeaders=false, ...rest }) {
    return {
      ...DEFAULTS,
      headers: overrideHeaders ? headers : { ...DEFAULT_HEADERS, ...headers },
      ...rest,
    }
  }
docs: Sets default request options