Updating base request to hub method to allow handling of responses without json
Updating base request to hub method to allow handling of responses without json: a task in lifesci-drug-discovery-swe-envs-nocap (Harbor dataset). Title: Updating base request to hub method to allow handling of responses without json
The task
**Title:** Updating `base_request_to_hub` method to allow handling of responses without json