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