Add read_xml method for httr #63
Closed
Comments
read_xml.response <- function(x, encoding = "", base_url = "", ...,
as_html = FALSE, options = "NOBLANKS") {
content <- httr::content(x, type = "raw")
read_xml(content, encoding = encoding, base_url = base_url, as_html = as_html,
option = options, ...)
} |
And corresponding |
And test: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
so (e.g.)
read_xml(POST(url))
can work.The text was updated successfully, but these errors were encountered: