On Apr 21, 2010, at 6:44 05PM, Sean P. DeNigris wrote:
>
>
> Henrik Johansen wrote:
>>
>> "SqueakSource is currently down. We are sorry for the inconvenience and
>> working on the problem. In the meantime you can still commit to a
>> directory repository on your disk and later copy the versions to
>> SqueakSource."
>>
>
> Oh, thanks. I didn't do too much investigating, lol.
>
> And, maybe the error message could be better than 'Error: can''t find EOCD
> position.'
>
> Sean
Well... I'm not a network specialist, but the following code looks kind of
shady:
HTTPSocket class >> httpGetDocument: url args: args accept: mimeType request:
requestString
*snip*
"a 400-series error"
sock responseCode first = $4 ifTrue: [^ header, aStream
contents].
No idea how much existing code will break if you, say, raise an Exception there
instead :)
Cheers,
Henry
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project