if query params are empty, then request path shouldn't end with a '?'