I think this can be written a little more cleanly. I might merge this and take a crack at it myself, but I'd probably prefer not using the ternary operator and doing something like:

```ruby
if SPECIAL_REQUEST_HEADERS.include?(header)
  [header.sub(...), value]
else
  [header, value]
end
```