Top | ![]() |
![]() |
![]() |
![]() |
URI UtilitiesURI Utilities — Functions to help working with GUri and HTTP |
gboolean soup_uri_equal (GUri *uri1
,GUri *uri2
);
Tests whether or not uri1
and uri2
are equal in all parts
GBytes * soup_uri_decode_data_uri (const char *uri
,char **content_type
);
Decodes the given data URI and returns its contents and content_type
.
uri |
a data URI, in string form |
|
content_type |
location to store content type, or |
[out][nullable][transfer full] |
GUri * soup_uri_copy (GUri *uri
,SoupURIComponent first_component
,...
);
Return a copy of uri
with the given components updated
[skip]
uri |
the GUri to copy |
|
first_component |
first SoupURIComponent to update |
|
... |
value of |
#define SOUP_HTTP_URI_FLAGS (G_URI_FLAGS_HAS_PASSWORD | G_URI_FLAGS_ENCODED_PATH | G_URI_FLAGS_ENCODED_QUERY | G_URI_FLAGS_ENCODED_FRAGMENT | G_URI_FLAGS_SCHEME_NORMALIZE)
Enum values passed to soup_uri_copy()
to indicate the components of
the URI that should be updated with the given values.