HF RL Explorer

Task: Implement Proper HTTP Error Handling with Python Requests Module

Task: Implement Proper HTTP Error Handling with Python Requests Module: a task in Terminal-Lego-15k (Harbor dataset). When using Python's requests module for API testing, you need to properly handle HTTP errors. Unlike some other HTTP libraries, the requests module does not automatically raise…

The task

When using Python's `requests` module for API testing, you need to properly handle HTTP errors. Unlike some other HTTP libraries, the `requests` module does not automatically raise exceptions for HTTP error status codes (4xx, 5xx). You need to explicitly trigger this behavior.

Part of PrimeIntellect/Terminal-Lego-15k.