HF RL Explorer

Task: Correctly Handle HTTP Responses Without Body Using Boost.Beast

Task: Correctly Handle HTTP Responses Without Body Using Boost.Beast: a task in Terminal-Lego-15k (Harbor dataset). When using Boost.Beast to send HTTP requests that expect responses without a body (such as HEAD requests), the http::response parser::is done() method returns false after calling…

The task

When using Boost.Beast to send HTTP requests that expect responses without a body (such as HEAD requests), the `http::response_parser::is_done()` method returns `false` after calling `http::read_header()`, even though the response legitimately contains no body. This is because the parser doesn't inherently know that…

Part of PrimeIntellect/Terminal-Lego-15k.