parse_url {httr} | R Documentation |
See http://tools.ietf.org/html/rfc1808.html for details of parsing algorithm.
parse_url(url) build_url(url)
url |
a character vector (of length 1) to parse into components,
or for |
a list containing:
scheme
hostname
port
path
params
fragment
query, a list
username
password
parse_url("http://google.com/") parse_url("http://google.com:80/") parse_url("http://google.com:80/?a=1&b=2") build_url(parse_url("http://google.com/"))