parameters: (self, url)
docstring: Validate a url for putrequest.
docstring_summary: Validate a url for putrequest.
docstring_tokens: Validate a url for putrequest .
function: def _validate_path(self, url):
          """Validate a url for putrequest."""
          # Prevent CVE-2019-9740.
          match = _contains_disallowed_url_pchar_re.search(url)
          if match:
              raise InvalidURL(f"URL can't contain control characters. {url!r} "
                               f"(found at least {match.group()!r})")
function_tokens: def _validate_path ( self , url ) : # Prevent CVE-2019-9740. match = _contains_disallowed_url_pchar_re . search ( url ) if match : raise InvalidURL ( f"URL can't contain control characters. {url!r} " f"(found at least {match.group()!r})" )