AppiumTestDistribution / appium-interceptor-plugin

Appium 2.0 plugin to mock api calls for android apps
27 stars 11 forks source link

Updated host in headers #27

Closed anuj-agrawal-groww closed 6 months ago

anuj-agrawal-groww commented 6 months ago

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

sudharsan-selvaraj commented 6 months ago

@anuj-agrawal-groww Thanks for fixing the issue.