summaryrefslogtreecommitdiff
path: root/lib/custodian/protocol-tests/https.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocol-tests/https.rb')
-rwxr-xr-xlib/custodian/protocol-tests/https.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/custodian/protocol-tests/https.rb b/lib/custodian/protocol-tests/https.rb
index 8fb643f..8db4da5 100755
--- a/lib/custodian/protocol-tests/https.rb
+++ b/lib/custodian/protocol-tests/https.rb
@@ -130,6 +130,13 @@ class HTTPSTest
response = nil
+ #
+ # Ensure we have a trailing "/"
+ #
+ if ( url.path.empty? )
+ url.path = "/"
+ end
+
if nil == url.query
response = http.start { http.get(url.path) }
else