Displaying 1 result from an estimated 1 matches for "debugfunct".
Did you mean:
debugfunc
2010 Nov 14
1
RCurl and cookies in POST requests
...tURL OR postForm:
aaa <- getURL(site, curl=curlHandle)
#aaa <- postForm(site, .params=list(par=cookie_1), curl=curlHandle, style="POST")
# Debug POST:
#d = debugGatherer()
#postForm(site, .params=list(par=cookie_1), .opts=list(httpheader = c(
# header = "foo: bar"), debugfunction = d$update, verbose=T),
# curl=curlHandle, style="POST")
#write.table(d$value()[["headerIn"]], file="debug_in.txt")
#write.table(d$value()[["headerOut"]], file="debug_out.txt")
rm(curlHandle)
gc()
}
-------------- next part --------------
#...