I think 

```ruby
if key.start_with?("HTTP_") && value.present?
```

is easier to understand, but no objection to this line as it is.