Sean,

On 18 Apr 2013, at 22:41, "Sean P. DeNigris" <[email protected]> wrote:

> Zinc seems to think the following is text, but if I download it via Chrome on
> my Mac, it recognizes it as binary:
> 
>       | latestVersionUrl |
>       latestVersionUrl := 
> 'http://mirrors.jenkins-ci.org/war/latest/jenkins.war'.
>       ZnClient new
>        accept: ZnMimeType applicationOctetStream;
>               url: latestVersionUrl;
>               downloadTo: directory.

Where/how does Zinc think this is text ?

(ZnEasy head: 'http://mirrors.jenkins-ci.org/war/latest/jenkins.war') 
contentType isBinary  ==> true

I didn't try your statement though.

Sven

PS: you should have warned me that it was so big, 53 Mb, I had to proceed the 
ZnEntityTooLarge exception ;-)


--
Sven Van Caekenberghe
Proudly supporting Pharo
http://pharo.org
http://association.pharo.org
http://consortium.pharo.org





Reply via email to