Added exists method
Pass location header in finish event when possible