handle unicode error in raw gzip data
more effective archive checking
only do content-type lookup on filename suspect links
move archive checks and introduce charset detection
filename is irrelevant when checking content-type