commercetest / androidserver-for-testing

Android server that serves react / files app using com.sun.net.httpserver
0 stars 0 forks source link

Add URI processing #5

Open julianharty opened 5 months ago

julianharty commented 5 months ago

Context

The upstream project checks the end of the URI to determine what to do and what content to retrieve from the assets in the app. When I added a query parameter to my request it caused this logic to flounder. Therefore it's time to implement at least some URI parsing e.g. to cope with any query string and enable the underlying content to be retrieved from the assets.