So its interesting to note, the code doesn't traverse the UPDATE path because we're comparing URL's including the port number which by this point has changed.
If its possible to capture and compare the previous URL to be sure we're updating the same entry this would be ideal.
Otherwise I think its sufficient it compare the rest of the URL except the port.
So its interesting to note, the code doesn't traverse the UPDATE path because we're comparing URL's including the port number which by this point has changed.
If its possible to capture and compare the previous URL to be sure we're updating the same entry this would be ideal.
Otherwise I think its sufficient it compare the rest of the URL except the port.