inst/examples/readHeader.S

library(RCurl)

h = basicTextGatherer()
txt = getURL("http://192.168.0.3", header= TRUE, headerfunction = h[[1]], httpheader = c(Accept="text/html", Duncan="bob"), verbose = TRUE)
read.dcf(textConnection(paste(h$value(NULL)[-1], collapse="")))
omegahat/RCurl documentation built on June 10, 2022, 12:34 p.m.