How to post a GIF file to an HTTP server

Rudolf Coetsee rudolfcoetsee at gmail.com
Thu Jun 8 10:19:25 UTC 2006


Hi

I would like to post a GIF file to a server using the "httpPost" method of
the "HTTPSocket" class in Squeak. Can anyone please send me a code snippet
on how this works. I think I have to somehow put the contents of the
image file into the "argsDict" object, but I am not sure whether I should
encode the contents first or not. If I have to encode it, is there a method
I can use already in Squeak?

Thanks in advance

RUDOLF COETSEE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060608/6c635380/attachment.htm


More information about the Squeak-dev mailing list