FIX: Try a GET for error code 409 too -- (Medium posts)
This commit is contained in:
parent
6ab4692431
commit
7366f334b0
|
@ -82,7 +82,7 @@ class FinalDestination
|
||||||
when 200
|
when 200
|
||||||
@status = :resolved
|
@status = :resolved
|
||||||
return @uri
|
return @uri
|
||||||
when 405, 501
|
when 405, 409, 501
|
||||||
get_response = small_get(headers)
|
get_response = small_get(headers)
|
||||||
|
|
||||||
if get_response.code.to_i == 200
|
if get_response.code.to_i == 200
|
||||||
|
|
Loading…
Reference in New Issue