Skip to content

Commit

Permalink
if redirecting with an Accept header then follows it
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermesilveira committed Oct 24, 2010
1 parent 6380d41 commit e5e21db
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/restfulie/client/feature/follow_request.rb
Expand Up @@ -23,7 +23,6 @@ def execute(flow, request, response, env)
raise Error::AutoFollowWithoutLocationError.new(request, resp) unless location
# use the first location available
location = location[0]
debugger
Restfulie.at(location).accepts(request.headers['Accept']).get
end
else
Expand Down

0 comments on commit e5e21db

Please sign in to comment.