Fixed wrong content type on html requests