cfoundry 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cfoundry/baseclient.rb +5 -3
- data/lib/cfoundry/version.rb +1 -1
- metadata +3 -3
data/lib/cfoundry/baseclient.rb
CHANGED
@@ -130,9 +130,11 @@ module CFoundry
|
|
130
130
|
sane_headers(response)
|
131
131
|
elsif return_response
|
132
132
|
response
|
133
|
-
elsif
|
134
|
-
|
135
|
-
|
133
|
+
elsif response.is_a?(Net::HTTPRedirection)
|
134
|
+
request_uri(
|
135
|
+
URI.parse(response["location"]),
|
136
|
+
Net::HTTP::Get,
|
137
|
+
original_options)
|
136
138
|
else
|
137
139
|
handle_response(response, accept)
|
138
140
|
end
|
data/lib/cfoundry/version.rb
CHANGED
metadata
CHANGED