Rewrite request by url-encoded content