Task: Properly Check HTTP Response Status Code in Python Requests
Task: Properly Check HTTP Response Status Code in Python Requests: a task in Terminal-Lego-15k (Harbor dataset). When using Python's requests library to make HTTP requests, you need to properly check whether the response indicates success (HTTP 200 OK) or an error.
The task
When using Python's `requests` library to make HTTP requests, you need to properly check whether the response indicates success (HTTP 200 OK) or an error.
Part of PrimeIntellect/Terminal-Lego-15k.