UriFlags
Description:
[ Flags ]
[ Version ( since = "2.66" ) ]
[ CCode ( cprefix = "G_URI_FLAGS_" , has_type_id = false ) ]
public enum 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.
Content:
Enum values:
- ENCODED - When parsing a URI, this
indicates that `%`-encoded characters in the userinfo, path, query, and fragment fields should not be decoded.
- ENCODED_FRAGMENT - Same as
g_uri_flags_encoded, for the fragment only.
- ENCODED_PATH - Same as
g_uri_flags_encoded, for the path only.
- ENCODED_QUERY - Same as
g_uri_flags_encoded, for the query field only.
- HAS_AUTH_PARAMS - The userinfo
may contain additional authentication-related parameters, which will be separated from the username and/or password by `;`.
- HAS_PASSWORD - The userinfo field
may contain a password, which will be separated from the username by `:`.
- NONE - No flags set.
- NON_DNS - The host component should not
be assumed to be a DNS hostname or IP address (for example, for `smb` URIs with NetBIOS hostnames).
- PARSE_RELAXED - Parse the URI more
relaxedly than the RFC 3986 grammar specifies, fixing up or ignoring
common mistakes in URIs coming from external sources.
- SCHEME_NORMALIZE - A
scheme-based normalization will be applied.