parse_url: Parse and build urls according to RFC1808.

Description Usage Arguments Value Examples

View source: R/url.r

Description

See http://tools.ietf.org/html/rfc1808.html for details of parsing algorithm.

Usage

1
2
3

Arguments

url

a character vector (of length 1) to parse into components, or for build_url a url to turn back into a string.

Value

a list containing:

Examples

1
2
3
4
5
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/"))

httr documentation built on May 29, 2017, 11:45 a.m.

Search within the httr package
Search all R packages, documentation and source code