<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
                                        Huh? WebResponse >> #contentStream has been there since 2012.<div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 21.03.2019 20:37:40 schrieb H. Hirzel <hannes.hirzel@gmail.com>:</p><div style="font-family:Arial,Helvetica,sans-serif">It works if I replace<br><br>    #contentStream<br><br>with<br><br>   content asByteArray readStream<br><br>Form fromBinaryStream: (WebClient httpGet:<br>'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Squeak-x11.png/617px-Squeak-x11.png')<br>content asByteArray readStream.<br><br>On 3/21/19, H. Hirzel <hannes.hirzel@gmail.com> wrote:<br>> Thanks for answering, Marcel<br>><br>> On 3/21/19, Marcel Taeumel <marcel.taeumel@hpi.de> wrote:<br>>> What about ...<br>>><br>>> Form fromBinaryStream: (WebClient httpGet:<br>>> 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Squeak-x11.png/617px-Squeak-x11.png')<br>>> contentStream.<br>><br>> Unfortunately a debugger window comes up [1]<br>><br>><br>>> ... I think we should add a #fromUrl: besides Form class >><br>>> #fromFileNamed:<br>>> and there distinguish between file paths and HTTP urls etc:<br>>><br>>> Form fromUrl:<br>>> 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Squeak-x11.png/617px-Squeak-x11.png'.<br>><br>> Yes, that would be fine to create a new convenience method<br>><br>>      Form fromUrl:<br>><br>> after we have figured out the solution.<br>><br>> -- Hannes<br>><br>> [1]<br>> SecureSocketStream(Object)>>doesNotUnderstand: #reset<br>>  Receiver: SecureSocketStream[inbuf:4kb/outbuf:4kb]<br>>        Arguments and temporary variables:<br>>                aMessage:       reset<br>>             exception:      MessageNotUnderstood: SecureSocketStream>>reset<br>>             resumeValue:    nil<br>>       Receiver's instance variables:<br>>            recentlyRead:   0<br>>                 socket:         a Socket[destroyed]<br>>               inBuffer:       #[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0<br>> 0 0 0 0 0 0...etc...<br>>              outBuffer:      #[71 69 84 32 47 119 105 107 105 112 101 100 105 97 47<br>> 99 111 109 10...etc...<br>>               inNextToWrite:  1<br>>                 outNextToWrite:         1<br>>                 lastRead:       0<br>>                 timeout:        45<br>>                autoFlush:      true<br>>              bufferSize:     4096<br>>              binary:         true<br>>              shouldSignal:   true<br>>              ssl:    nil<br>>               sendBuf:        #[23 3 3 0 232 61 247 6 24 144 238 146 249 51 100 82 127<br>> 29 104 195 17...etc...<br>>             readBuf:        #[203 4 102 97 151 46 237 173 196 165 168 136 21 56 21 225<br>> 6 113 183 1...etc...<br>>             decoded:        a ReadStream<br>>              certIssues:     0<br>><br>> [] in ImageReadWriter class>>formFromStream:<br>>  Receiver: ImageReadWriter<br>>         Arguments and temporary variables:<br>> <error during="" printing=""><br>>  Receiver's instance variables:<br>>            superclass:     Object<br>>            methodDict:     a MethodDictionary(#atEnd->(ImageReadWriter>>#atEnd "a<br>> CompiledMethod...etc...<br>>                format:         65537<br>>             instanceVariables:      #('stream')<br>>               organization:   ('accessing' nextImage nextPutImage:)<br>> ('stream access' atEnd close...etc...<br>>                 subclasses:     {PCXReadWriter . XBMReadWriter . JPEGReadWriter .<br>> JPEGReadWriter2 ....etc...<br>>                name:   #ImageReadWriter<br>>          classPool:      a Dictionary(#ImageNotStoredSignal->nil<br>> #MagicNumberErrorSignal->nil...etc...<br>>                 sharedPools:    nil<br>>               environment:    nil<br>>               category:       #'Graphics-Files'<br>><br><br></error></marcel.taeumel@hpi.de></hannes.hirzel@gmail.com></div></blockquote>
                                        </div></body>