Re: libsoup HTTP GET request
- From: Ruben Vermeersch <ruben Lambda1 be>
- To: James Henstridge <james jamesh id au>
- Cc: gnome-devel-list gnome org
- Subject: Re: libsoup HTTP GET request
- Date: Thu, 15 Sep 2005 13:50:09 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]