optimize response header