HF RL Explorer

Task: Create a Python Script to Request URLs Without Following Redirects

Task: Create a Python Script to Request URLs Without Following Redirects: a task in Terminal-Lego-15k (Harbor dataset). Your task is to create a Python script that can make HTTP requests to URLs without automatically following redirects . This is useful when you need to inspect redirect responses…

The task

Your task is to create a Python script that can make HTTP requests to URLs **without automatically following redirects**. This is useful when you need to inspect redirect responses (3xx status codes) directly, rather than being automatically redirected to the final destination.

Part of PrimeIntellect/Terminal-Lego-15k.