Send only the path and the query when making HTTP requests