                       :path "/hello"}
        :proxy-opts   {:follow-redirects true}
        :ring-handler redirect-same-host}
-      (let [response (http-get (str "http://localhost:9000/hello/"))]
-        (is (= (:status response) 200))
-        (is (= (:body response) "Hello, World!")))
-      (let [response (http-get (str "http://localhost:9000/hello/world"))]
-        (is (= (:status response) 200))
-        (is (= (:body response) "Hello, World!")))
-      (let [response (http-get (str "http://localhost:10000/hello-proxy"))]
-        (is (= (:status response) 200))
-        (is (= (:body response) "Hello, World!")))
-      (let [response (http-get (str "http://localhost:10000/hello-proxy/world"))]
+      (let [response (http-get "http://localhost:9000/hello/")]
+        (is (= (:status response) 200))
+        (is (= (:body response) "Hello, World!")))
+      (let [response (http-get "http://localhost:9000/hello/world")]
+        (is (= (:status response) 200))
+        (is (= (:body response) "Hello, World!")))
+      (let [response (http-get "http://localhost:10000/hello-proxy")]
+        (is (= (:status response) 200))
+        (is (= (:body response) "Hello, World!")))
+      (let [response (http-get "http://localhost:10000/hello-proxy/world")]
         (is (= (:status response) 200))
         (is (= (:body response) "Hello, World!")))))
 

                      :path "/hello"}
       :proxy-opts   {:follow-redirects true}
       :ring-handler redirect-wrong-host}
      (let [response (http-get (str "http://localhost:10000/hello-proxy"))]
        (is (= (:status response) 502)))))

  (testing "proxy redirect to correct host in fully qualified url works"

                      :port 9000
                      :path "/hello"}
       :ring-handler redirect-test-handler}
      (let [response (http-get "http://localhost:10000/hello-proxy")]
        (is (= (:status response) 404)))))

  (testing "proxy-redirect to non-target host fails"
