Re: Http User-Agent
- From: Arto Karppinen <arto karppinen mail suomi net>
- To: Dan Winship <danw gnome org>
- Cc: libsoup-list gnome org
- Subject: Re: Http User-Agent
- Date: Mon, 20 Oct 2008 12:33:49 +0300
Dan Winship wrote:
libsoup 2.2 is a little out of date now. 2.4 came out last spring, and
the current version is 2.24 (which, despite the massive version bump, is
really just a little bit more than 2.4).
I know, unfortunately the enviroment that i need to use does not have
libsoup 2.4. So :(
In 2.2 there was no explicit support for User-Agent, but you can
manually set it on each request:
msg = soup_message_new (...);
soup_message_add_header (msg, "User-Agent", "whatever/1.0");
...
Thanks for the instructions.
--
Arto Karppinen
------------------------------
arto karppinen iki fi
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]