HF RL Explorer

Task: URI Encoding in Python Requests Package

Task: URI Encoding in Python Requests Package: a task in Terminal-Lego-15k (Harbor dataset). When using the Python requests package to make HTTP requests, special characters in URLs (such as + , @ , & , etc.) need to be properly encoded. The + sign is particularly problematic because it can be…

The task

When using the Python `requests` package to make HTTP requests, special characters in URLs (such as `+`, `@`, `&`, etc.) need to be properly encoded. The `+` sign is particularly problematic because it can be interpreted as a space in URL encoding, causing API requests to fail.

Part of PrimeIntellect/Terminal-Lego-15k.