diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-24 15:05:35 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-24 15:05:35 +0000 |
commit | 763aeecb686c59d9f8e25ddfacd43a0f2ed4881d (patch) | |
tree | bcdb5a69614aa31ace1d5c53f80d5a376b1995f9 /lib/custodian | |
parent | 9b8d86492b1f3dfff74c801e9b075e02efc7a6d7 (diff) |
The target of the test, the URL, should be saved.
Diffstat (limited to 'lib/custodian')
-rw-r--r-- | lib/custodian/protocoltest/http.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/custodian/protocoltest/http.rb b/lib/custodian/protocoltest/http.rb index 11f4bff..ad9e88d 100644 --- a/lib/custodian/protocoltest/http.rb +++ b/lib/custodian/protocoltest/http.rb @@ -55,6 +55,7 @@ module Custodian # Save the URL # @url = line.split( /\s+/)[0] + @host = @url if ( @url !~ /^https?:/ ) raise ArgumentError, "The target wasn't an URL" |