On Thu, 2005-09-15 at 19:39 +0800, James Henstridge wrote: > Ruben Vermeersch wrote: > > >Hi all, > > > >I'm porting a piece of code from libcurl to libsoup, but there's very > >little docs about libsoup available. How does one make a HTTP GET > >request using libsoup? Does anyone have an example of that? > > > >Also, the URL parameter should be escaped, similar to what char > >*curl_escape( char *url, int length ); (if you have dev pkgs for libcurl > >installed: man 3 curl_escape), how does one do such a thing using > >libcurl? > > > > > The libsoup/tests/get.c example should demonstrate enough to do simple > GET requests. > > For encoding/decoding a URI component, see soup_uri_encode() and > soup_uri_decode().
Thanks James! We should really have a central library of examples etc. I wonder what happened to the library.gnome.org idea? Ruben -- Ruben Vermeersch (rubenv) http://www.Lambda1.be/ Now playing: Dj Lucca - May Nights 2005 _______________________________________________ gnome-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-devel-list
