UriFlags#
Added in version 2.66.
- class UriFlags#
Flags that describe a URI.
When parsing a URI, if you need to choose different flags based on
the type of URI, you can use peek_scheme()
on the URI string
to check the scheme first, and use that to decide what flags to
parse it with.
Fields#
- class UriFlags
- ENCODED#
The type of the None singleton.
- ENCODED_FRAGMENT#
The type of the None singleton.
- ENCODED_PATH#
The type of the None singleton.
- ENCODED_QUERY#
The type of the None singleton.
- HAS_AUTH_PARAMS#
The type of the None singleton.
- HAS_PASSWORD#
The type of the None singleton.
- NONE#
The type of the None singleton.
- NON_DNS#
The type of the None singleton.
- PARSE_RELAXED#
The type of the None singleton.
- SCHEME_NORMALIZE#
The type of the None singleton.