[Newbies] XML Post

Nick Ager nick.ager at gmail.com
Fri Aug 17 05:01:04 UTC 2007


Hi,
I'm trying to perform an HTTP-POST an XML document to a server. I
tried using HTTPSocket httpPostDocument:args:accept:request:
However I'd like 'Content-type' to be set to 'text/xml' in the post
header and the implementation of httpPostDocument:args:accept:request:
contains:
  'Content-type: application/x-www-form-urlencoded', CrLf,
I've hacked my own version, but I feel I'm missing something. Is there
a better way to do this in Squeak/Seaside.

My image is based on:
http://damien.cassou.free.fr/squeak-dev/beta/sq3.10-7137dev07.08.1.zip
Thanks in advance,
Nick


More information about the Beginners mailing list