> > > Anyone has complained that he cannot send an empty data
> > > using the POST or PUT method?
> >
> > Well, I have one of my apps that doesn't work in some wases: when data
to
> > send is empty. And it is
> > perfectly OK for the app to have a post with empty data. And I can't
change
> > the post to a get since
> > the server side has a script that handle post only.
> >
> > So I plan to change the component to allow empty content to be sent. It
is
> > perfectly legal in the
> > HTTP protocol to do that. Just send content-length equal to zero and
> > everything is OK.
>
> At this point why do not accept even a nil SendStream?

Because that looks more like a bug than an empty string is.
The most important is to have to component able to POST or PUT a request
with empty data.

--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to