diff options
author | James Hannah <james.hannah@bytemark.co.uk> | 2014-12-02 11:37:37 +0000 |
---|---|---|
committer | James Hannah <james.hannah@bytemark.co.uk> | 2014-12-02 11:37:37 +0000 |
commit | ddf52402dd5511617718e3bf0f68f9e23fa645ba (patch) | |
tree | 673012ca721092c36d36f8a30cbba991bb11add9 /lib/custodian | |
parent | def2c780de137e810a8b4ae82147141525f23f21 (diff) |
Added host header override to errors in HTTP test
Diffstat (limited to 'lib/custodian')
-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 |