FIX: Other content types like images are fine
This commit is contained in:
parent
4c690f7089
commit
b8d78b33c6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue