Name
ap_unparse_uri_components — convert back to a URI
Synopsis
char *ap_unparse_uri_components(pool *p, const uri_components *uptr, unsigned flags)
Takes a filled-in uri_components
,
uptr
, and makes a string containing the
corresponding URI. The string is allocated in p
.
flags
is a combination of none or more of the
following:
-
UNP_OMITSITEPART
Leave out
scheme://user:password@site:port
.-
UNP_OMITUSER
Leave out the user.
-
UNP_OMITPASSWORD
Leave out the password.
-
UNP_OMITUSERINFO
Shorthand for
UNP_OMITUSER|UNP_OMITPASSWORD.
-
UNP_REVEALPASSWORD
Show the password (instead of replacing it with XXX).
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.