|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __str__ (self) |
| def | encode_netloc (self) |
| def | encode (self, charset="utf-8", errors="replace") |
Public Member Functions inherited from BaseURL | |
| def | replace (self, **kwargs) |
| def | host (self) |
| def | ascii_host (self) |
| def | port (self) |
| def | auth (self) |
| def | username (self) |
| def | raw_username (self) |
| def | password (self) |
| def | raw_password (self) |
| def | decode_query (self, *args, **kwargs) |
| def | join (self, *args, **kwargs) |
| def | to_url (self) |
| def | decode_netloc (self) |
| def | to_uri_tuple (self) |
| def | to_iri_tuple (self) |
| def | get_file_location (self, pathformat=None) |
Represents a parsed URL. This behaves like a regular tuple but also has some extra attributes that give further insight into the URL.
| def __str__ | ( | self | ) |
| def encode | ( | self, | |
charset = "utf-8", |
|||
errors = "replace" |
|||
| ) |
Encodes the URL to a tuple made out of bytes. The charset is only being used for the path, query and fragment.
| def encode_netloc | ( | self | ) |
Encodes the netloc part to an ASCII safe URL as bytes.