FIX: try a GET for error code 406

This commit is contained in:
Régis Hanol 2017-11-17 16:59:51 +01:00
parent faa597ff90
commit aebcd56300

View File

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