Parse and build urls according to RFC3986.
See https://tools.ietf.org/html/rfc3986 for details of parsing algorithm.
parse_url(url) build_url(url)
url |
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") url <- parse_url("http://google.com/") url$scheme <- "https" url$query <- list(q = "hello") build_url(url)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.