Binary in an http request
Lex Spoon
lex at cc.gatech.edu
Thu Jun 13 17:22:21 UTC 2002
Bergel Alexandre <bergel at iam.unibe.ch> wrote:
> Thanks Lex for your answer,
>
> > You could use HTTPSocket's various post commands. They will do all the
> > encoding for you -- you just create a dictionary mapping names to data.
> > It normally expects strings for the data, not ByteArrays.
>
> But if I want something else than a String ? Such as an imageSegment :-)
>
Send #asString to it, and then you'll have a string.
Lex
More information about the Squeak-dev
mailing list
|