Fix HTTP requests for /data following redirect