Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 625 Bytes
u = ""
system.time(getURL(u, followLocation = TRUE, .opts = list(timeout = 1, maxredirs = 4L)))
# Gets into recursion constantly trying to download the same URL
# because the server keeps giving us the same URL to follow.
#GET /medias/ HTTP/1.1
#GET /medias/ HTTP/1.1
getURL(u, followLocation = TRUE)
print("next line") # programme does not get this far