Hmm, I think you should rely on the HTTP client to add the `/` path. Passing `http://example.com?foo` should yield the right results.