Set content type, return a 404 if not found