FIX: Retry with GET request when HEAD fails with error 400

This commit is contained in:
Gerhard Schlager 2018-02-27 12:05:48 +01:00
parent 56bacb1c2f
commit 4a54c09e46
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ class FinalDestination
when 200
@status = :resolved
return @uri
when 405, 406, 409, 501
when 400, 405, 406, 409, 501
get_response = small_get(request_headers)
response_status = get_response.code.to_i