I am playing around with Zinc, and I get an
"Error - Improper store into indexable object”
at
ZnBufferedWriteStream>>nextPut:
My Workspace:
-----
| response |
response := ZnClient new
url:'http://amazon.com';
get;
response.
response writeOn: Transcript.
Transcript flush
-----
The reason is that instead of a Character, there is a SmallInteger of value 10
being added at ByteString>>at:put: (and 10 is a linefeed).
Also the string in the entity is a WideString
(ZnUTF8Encoder>>next:putAll:startingAt:toStream is where the choice is made to
decode a ByteString vs WideString).
Is this a bug? Running on Pharo 3. My newb debugging skills don’t go further :(
Other sites that fail are reddit.com, news.ycombinator.com.
Thanks,
-Ed