Re: Integrating DIME and web servers

Simon Fell <[email protected]> Tue, 17 Sep 2002 15:36:53 -0700
Newsgroups gmane.comp.windows.devel.dime
Message-ID <DIME%[email protected]>
On Tue, 17 Sep 2002 18:05:53 -0400, Rich Salz <[email protected]> wrote:

>On Tue, 17 Sep 2002, Scott Seely wrote:
>
>> I'm using the Microsoft WSDK to send DIME messages into the Web service.
>
>I meant a little more detail, at the protocol level.
>
>chunked encoding?  or do you know the whole size before?

Hi Rich,

I looked at having PocketSOAP do chunked POSTs by default for attachments,
but its a little problematic, the server may not be a HTTP/1.1 server, also
some servers [most notably apache] won't accept chunked posts to CGI's, in
these cases you need to be able to back down to a non-chunked POST.
Currently in PocketSOAP I always calc the size first and do a normal post,
a future release will probalby allow you to enable chunked posts [but it
will default to off].
There are similar issues with doing deflate/gzip compression on the post as
well.

Cheers
Simon
www.pocketsoap.com