FIX: Other content types like images are fine

This commit is contained in:
Robin Ward 2017-05-22 16:51:37 -04:00
parent 4c690f7089
commit b8d78b33c6

View File

@ -46,7 +46,6 @@ class FinalDestination
return @uri if head.status == 405 return @uri if head.status == 405
if head.status == 200 if head.status == 200
@uri = nil unless FinalDestination.header_for(head, 'content-type') =~ /text\/html/
@status = :resolved @status = :resolved
return @uri return @uri
end end