piwebasync/http/safeurl.py
def raw_path(self) -> bytes:
        """Unquote encoded URL and requote with safe chars"""
        raw: bytes = super().raw_path
        safe: str = urllib.parse.quote(
            urllib.parse.unquote(raw.decode("ascii"), encoding="ascii"),
            safe=self._safe
        )
        return safe.encode("ascii")
Unquote encoded URL and requote with safe chars
Unquote encoded URL and requote with safe chars
Unquote encoded URL and requote with safe chars
def raw_path(self) -> bytes:
        raw: bytes = super().raw_path
        safe: str = urllib.parse.quote(
            urllib.parse.unquote(raw.decode("ascii"), encoding="ascii"),
            safe=self._safe
        )
        return safe.encode("ascii")
def raw_path ( self ) -> bytes : raw : bytes = super ( ) . raw_path safe : str = urllib . parse . quote ( urllib . parse . unquote ( raw . decode ( "ascii" ) , encoding = "ascii" ) , safe = self . _safe ) return safe . encode ( "ascii" )
Unquote encoded URL and requote with safe chars
Unquote encoded URL and requote with safe chars
"""Unquote encoded URL and requote with safe chars"""
self