May 10, 2012
2:56 p.m.
Why does one of the following work, and the other not? fileUrl := 'https://ci.lille.inria.fr/pharo/view/Pharo%201.4/job/Pharo%201.4/lastSuccess...' asUrl. "This succeeds in downloading the file" c := ZnClient new. c head: fileUrl; yourself. c url: fileUrl; downloadTo: targetPath; yourself. "This fails with a HTTP 400" c := ZnClient new. c url: fileUrl. c head; yourself. c resetRequestIfNeeded; "fails with or without this line" downloadTo: targetPath; yourself. -- View this message in context: http://forum.world.st/Zinc-HEAD-and-then-GET-tp4623719.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.