Headers object returns incorrect length and boolean values
Headers object returns incorrect length and boolean values: a task in harness-adapters: Agentic coding environments (Harbor dataset). When working with Headers objects, the len() function and boolean evaluation return unexpected values. The length appears to be off by one, and empty headers…
The task
When working with Headers objects, the `len()` function and boolean evaluation return unexpected values. The length appears to be off by one, and empty headers evaluate to `True` when they should evaluate to `False`.
Part of harness-hub/harness-adapters.