From ddf52402dd5511617718e3bf0f68f9e23fa645ba Mon Sep 17 00:00:00 2001 From: James Hannah Date: Tue, 2 Dec 2014 11:37:37 +0000 Subject: Added host header override to errors in HTTP test --- lib/custodian/protocoltest/http.rb | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.1