Use URI#request_uri instead of URI#path.

`URI#path` does not include the querystring, but `URI#request_uri`
does. So we should use that, instead.