<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">Hi, there!<div class="mb_sig"></div><div><br></div><div>I can easily fetch some graphics from the Web:</div><div><br></div><div><b>response := <span style="font-size: 10pt">WebClient httpGet: 'https://upload.wikimedia.org/wikipedia/en/e/ef/Commander_Keen_cover_art.jpeg'.</span></b></div><div><span style="font-size: 10pt"><br></span></div><div><span style="font-size: 10pt">However, the #content in this WebResponse is a ByteString even though the content-type is image/jpeg. I would expect the #content to be a ByteArray.</span></div><div><span style="font-size: 10pt"><br></span></div><div><span style="font-size: 10pt"><b>content := response content.</b></span></div><div><span style="font-size: 10pt"><br></span></div><div><span style="font-size: 10pt">Because of this, I have to explicitely convert it before ImageReadWriter can work its magic:</span></div><div><span style="font-size: 10pt"><br></span></div><div><b>form := ImageReadWriter formFromStream: content asByteArray readStream.</b><br></div><div><br></div><div>That's inconvenient. Maybe even a bug? Don't know.</div><div><br></div><div>Best,</div><div>Marcel</div><div><br></div><div>P.S.: Why doesn't SecureSocketStream respond to #reset? I cannot do this:</div><div><br></div><div><b>ImageReadWriter formFromStream:</b></div><div><b>            (WebClient httpGet: 'https://upload.wikimedia.org/wikipedia/en/e/ef/Commander_Keen_cover_art.jpeg')</b></div><div><b>                         contentStream.</b><br></div></div>