docs: def add_request(self, request):
          """
          Add a request object
          """
  
          # Duplicate request name?
          if request.name in self.requests:
              raise ValueError('redefinition of request "{0}"'.format(request.name))
          self.requests[request.name] = request
  
          # Add the request URLs
          for method, url in request.urls:
  
              # URL with arguments?
              if RE_URL_ARG.search(url):
                  request_regex = '^' + RE_URL_ARG_ESC.sub(r'/(?P<\1>[^/]+)', re.escape(url)) + '$'
                  self.__request_regex.append((method, re.compile(request_regex), request))
              else:
                  request_key = (method, url)
                  if request_key in self.__request_urls:
                      raise ValueError('redefinition of request URL "{0}"'.format(url))
                  self.__request_urls[request_key] = request