From b8d78b33c67d590bb09a4a2b1ca19546db511b39 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Mon, 22 May 2017 16:51:37 -0400 Subject: [PATCH] FIX: Other content types like images are fine --- lib/final_destination.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/final_destination.rb b/lib/final_destination.rb index 23e76033a51..2f68030eb36 100644 --- a/lib/final_destination.rb +++ b/lib/final_destination.rb @@ -46,7 +46,6 @@ class FinalDestination return @uri if head.status == 405 if head.status == 200 - @uri = nil unless FinalDestination.header_for(head, 'content-type') =~ /text\/html/ @status = :resolved return @uri end