cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: More socks5

From: Andy Cedilnik <andy.cedilnik_at_kitware.com>
Date: 16 Jan 2003 10:09:40 -0500

Hi Daniel,

So if I understand this correctly, the put is a superset of post?

How come the socks5 code has a problem with post?

Thanks.

                        Andy

On Thu, 2003-01-16 at 07:42, Daniel Stenberg wrote:
> First, there are two types of POSTs when speaking libcurl. You used the
> multipart formpost in your posted source code.
>
> POST is meant to provide data to a given resource/script/program on the
> server, while PUT is meant to provide the data as pointed out by the URL.
> That's basicly the whole difference. (See RFC2616 for details and more exact
> wording.)
>
> (Normal) POST data should be URL encoded, while PUT data is pure binary.
> Formpost multipart data is multipart (MIME) encoded.

-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
Received on 2003-01-16