diff --git a/lib/artifactory/client.rb b/lib/artifactory/client.rb
index <HASH>..<HASH> 100644
--- a/lib/artifactory/client.rb
+++ b/lib/artifactory/client.rb
@@ -266,7 +266,7 @@ module Artifactory
 
           case response
           when Net::HTTPRedirection
-            redirect = URI.parse(response["location"])
+            redirect = response["location"]
             request(verb, redirect, data, headers)
           when Net::HTTPSuccess
             success(response)
Fix handling of redirection

request expects a path, not a URI.