Module: GLib::UriFlags
- Defined in:
- (unknown)
Constant Summary collapse
- NONE =
No flags set.
0 or :none
- 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. This is also needed for some obscure URI schemes where;
separates the host from the path. Don’t use this flag unless you need to. 1 or :parse_relaxed
- HAS_PASSWORD =
The userinfo field may contain a password,
which will be separated from the username by:. 2 or :has_password
- HAS_AUTH_PARAMS =
The userinfo may contain additional
authentication-related parameters, which will be separated from
the username and/or password by;. 4 or :has_auth_params
- ENCODED =
When parsing a URI, this indicates that
%-encoded
characters in the userinfo, path, query, and fragment fields
should not be decoded. (And likewise the host field if
%G_URI_FLAGS_NON_DNS is also set.) When building a URI, it indicates
that you have already%-encoded the components, and so #GUri
should not do any encoding itself. 8 or :encoded
- NON_DNS =
The host component should not be assumed to be a
DNS hostname or IP address (for example, forsmbURIs with NetBIOS
hostnames). 16 or :non_dns
- ENCODED_QUERY =
Same as %G_URI_FLAGS_ENCODED, for the query
field only. 32 or :encoded_query
- ENCODED_PATH =
Same as %G_URI_FLAGS_ENCODED, for the path only.
64 or :encoded_path
- ENCODED_FRAGMENT =
Same as %G_URI_FLAGS_ENCODED, for the
fragment only. 128 or :encoded_fragment
- SCHEME_NORMALIZE =
A scheme-based normalization will be applied.
For example, when parsing an HTTP URI changing omitted path to/and
omitted port to80; and when building a URI, changing empty path to/
and default port80). This only supports a subset of known schemes. (Since: 2.68) 256 or :scheme_normalize