docs: def _proc_uri(self, request, result):
          """
          Process the URI rules for the request.  Both the desired API
          version and desired content type can be determined from those
          rules.
  
          :param request: The Request object provided by WebOb.
          :param result: The Result object to store the results in.
          """
  
          if result:
              # Result has already been fully determined
              return
  
          # First, determine the version based on the URI prefix
          for prefix, version in self.uris:
              if (request.path_info == prefix or
                      request.path_info.startswith(prefix + '/')):
                  result.set_version(version)
  
                  # Update the request particulars
                  request.script_name += prefix
                  request.path_info = request.path_info[len(prefix):]
                  if not request.path_info:
                      request.path_info = '/'
                  break
  
          # Next, determine the content type based on the URI suffix
          for format, ctype in self.formats.items():
              if request.path_info.endswith(format):
                  result.set_ctype(ctype)
  
                  # Update the request particulars
                  request.path_info = request.path_info[:-len(format)]
                  break