When using the functionality of updateUrl, in the case when we are updating the complete url or the only the base url to send the request to different server, the hostName in headers is not getting updated due to which the request gets failed at the server end. This code is just updating the host in header based on the Updated Url
When using the functionality of updateUrl, in the case when we are updating the complete url or the only the base url to send the request to different server, the hostName in headers is not getting updated due to which the request gets failed at the server end. This code is just updating the host in header based on the Updated Url