cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: m-post

From: Bryan Weingarten <Bryan.Weingarten_at_watchguard.com>
Date: Wed, 21 Aug 2002 08:26:15 -0700

The HTTP Extensions Framework (see
http://www.w3.org/Protocols/HTTP/ietf-http-ext/draft-frystyk-http-extensions
-03) defines a mechanism by which new HTTP headers can be introduced, and
provides a new form of verb (M-XXXX), which mandates that certain headers be
recognized and understood before processing a request for verb XXXX. By
preferring M-POST as opposed to plain old POST, a client is making every
possible effort to be up-front about its request. This allows filtering by
firewalls based on well-defined HTTP extension headers.

libcurl is a pretty flexable api, and easily allows you to add custom
headers. so most of the M-XXXX extension can easily be added by just adding
headers like you do now. the problem is that i don't see a way to customize
the command/request line. there doesn't seem to be a way to change libcurl
to stream out "M-POST" instead of "POST" and any differences in the format
of the line. i think this is extremely important since it's being quickly
adopted by the SOAP community and we won't be able to use libcurl to make
soap requests. (or XMLRPC requests) to servers that require M-POST.

i'm very new to libcurl so maybe the API already supports this even though
it isn't explicitly documented.

bryan

-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
Sent: Wednesday, August 21, 2002 6:19 AM
To: Bryan Weingarten
Cc: libcurl Mailing list
Subject: Re: m-post

On Tue, 20 Aug 2002, Bryan Weingarten wrote:

> is there a way to have curl create an http m-post instead of just a post?
> i don't see any mention of m-post in the documentation.

m-post? What's that? Is that a multipart formpost?

-- 
 Daniel Stenberg -- curl related mails on curl related mailing lists please
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Received on 2002-08-21