Hi Sven, I'll will al these tomorrow when I get back to the office. Cheers, Andrei On Wed, Mar 20, 2013 at 7:40 PM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
Andrei,
On 20 Mar 2013, at 19:05, Sven Van Caekenberghe <sven@stfx.eu> wrote:
One difference that I see is related to the content-length in the response. There is none, which is OK when there is a connection close, but it shows in the Smalltalk trace, which is weird.
And for the same file, /mc/AndreiChis/AnnouncerCentricDebugger/main/ACD-Tests-AndreiChis.1.mcz, Smalltalk reports a length of 3451B (probably after your proceeded from the exception), while curl reports size_download=3307, when I try from here, I also get 3451 bytes,
To make absolutely sure the curl call actually works, could you please try this:
$ curl http://www.smalltalkhub.com/mc/AndreiChis/AnnouncerCentricDebugger/main/ACD-... -H "Accept-Encoding: gzip" | gunzip > foo.mcz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3307 0 3307 0 0 13558 0 --:--:-- --:--:-- --:--:-- 16131
$ file foo.mcz foo.mcz: Zip archive data, at least v2.0 to extract
$ ls -l foo.mcz -rw-r--r-- 1 sven staff 3451 Mar 20 19:38 foo.mcz
$ unzip -l foo.mcz Archive: foo.mcz Length Date Time Name -------- ---- ---- ---- 18 03-27-11 02:22 package 188 03-27-11 02:22 version 8588 03-27-11 02:22 snapshot/source.st 9014 03-27-11 02:22 snapshot.bin -------- ------- 17808 4 files
Thanks,
Sven
-- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill