Construct a URL from its components
Construct( componentTable, component1, component2, ... )
a table of component/value pairs. The components should be specified as a string.
an equation specifying a component to be added to the constructed URL.
Construct builds a URL string of the given components.
The URL will be of the form: scheme://user:password@host:port/urlpath?query#anchor
The following components are supported:
scheme=string The protocol to be used. The default is http.
user=string The username to be used. The default is none.
password=string The password to be used. The default is none.
host=string The host portion. This component is required.
port=integer The port on the host to connect to. The default is none.
urlpath=string The path on the host to access. The default is /.
query=list(string,equation) Query data to be added to the url. The default is none.
anchor=string An anchor to add to the url. The default is none.
These components can be specified as parameters or a table of component/value pairs. A component specified as a parameter will override one specified in a table.
The Parse method performs the reverse operation, splitting a given URL into a table of components.
RFC 3986: Uniform Resource Identifier (URI), W3C.
The URL[Construct] command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.