HF RL Explorer

Task: Force Python Requests to Send HTTP POST in a Single TCP Packet

Task: Force Python Requests to Send HTTP POST in a Single TCP Packet: a task in Terminal-Lego-15k (Harbor dataset). When Python's requests library sends HTTP POST requests, it may split the HTTP headers and body into separate TCP packets (segments). This happens because Python's requests library…

The task

When Python's `requests` library sends HTTP POST requests, it may split the HTTP headers and body into separate TCP packets (segments). This happens because Python's `requests` library first sends the headers, then sends the body as a separate write operation, which can result in TCP sending them as separate packets…

Part of PrimeIntellect/Terminal-Lego-15k.