You probably want `.lstrip()` here to avoid accidentally breaking the last query param if it should happen to end with `/`.