diff options
-rw-r--r-- | lib/custodian/protocoltest/http.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/custodian/protocoltest/http.rb b/lib/custodian/protocoltest/http.rb index 3ceedb3..cc171a6 100644 --- a/lib/custodian/protocoltest/http.rb +++ b/lib/custodian/protocoltest/http.rb @@ -321,6 +321,9 @@ module Custodian end if errors.length > 0 + if @host_override + errors << "Host header was overridden as Host: #{@host_override}" + end @error = errors.join("\n") return false end |