HF RL Explorer

Task: Parse HTTP Link Headers from Response

Task: Parse HTTP Link Headers from Response: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that parses HTTP Link headers from response headers. Link headers are commonly used for pagination in REST APIs and contain URLs with relationship types (like "next"…

The task

You need to write a Python script that parses HTTP Link headers from response headers. Link headers are commonly used for pagination in REST APIs and contain URLs with relationship types (like "next", "last", "prev", "first").

Part of PrimeIntellect/Terminal-Lego-15k.