Takes query-string of x-request-uri into account.