Fixed mime type detection
Refractor page response