Re: why not http-method POST yet?
- From: Frederic Crozat <fcrozat mandrakesoft com>
- To: gnome-vfs-list gnome org
- Subject: Re: why not http-method POST yet?
- Date: 12 Feb 2003 17:28:02 +0100
Le mer 12/02/2003 à 16:56, Chipzz a écrit :
> On Wed, 12 Feb 2003, Alexander Larsson wrote:
>
> > From: Alexander Larsson <alexl redhat com>
> > Subject: Re: why not http-method POST yet?
> >
> > On Tue, 11 Feb 2003, Jody Goldberg wrote:
> >
> > > On Tue, Feb 11, 2003 at 10:10:10AM -0500, Alexander Larsson wrote:
> > > > On Mon, 10 Feb 2003, Kang JeongHee wrote:
> > > >
> > > > > Hi.
> > > > >
> > > > > I've just read lines of code in modules/http-method.c
> > > > > and suprised with that make_request and the relatives have graceful structure
> > > > > to support POST method without any change.
> > > > >
> > > > > but AFAIK, there's no support for POST method yet.
> > > > > why not, with all those units available?
> > > > > what I missed?
> > > >
> > > > Nobody had the time to implement it.
> > >
> > > Has anyone considered using libcurl to handle these sorts of things
> > > rather than doing our own implementation ?
> >
> > I don't know if anyone has, but it might be interesting. One thing to note
> > here is that we support webdav, does libcurl do that?
>
> >From the curl FAQ: (http://curl.haxx.se/docs/faq.html)
>
> 3.10 What about SOAP, WebDAV, XML-RPC or similar protocols over HTTP?
>
> Curl adheres to the HTTP spec, which basically means you can play with *any*
> protocol that is built on top of HTTP. Protocols such as SOAP, WEBDAV and
> XML-RPC are all such ones. You can use -X to set custom requests and -H to
> set custom headers (or replace internally generated ones).
>
> Using libcurl or PHP's curl modules is just as fine and you'd just use the
> proper library options to do the same.
>
> Personnally I like the idea of using libcurl alot, not just for http but
> possibly also for ftp. It is quite a big library, but it does a lot, and
> chances are that it allready is on your system anyway. Plus the fact that
> it has been out there for quite a while. (And no, I'm not a curl develop-
> per ;)
>
> I don't know if the license is compatible thou, and it links with open-
> ssl (optionally).
Why not use libsoup, it is already in glib2 and support webdav ?
--
Frederic Crozat <fcrozat mandrakesoft com>
MandrakeSoft
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]