- From: Olga Antropova <olga@goliath.eai.com>
- Date: Mon, 04 Oct 1999 15:00:58 -0500 (CDT)
- To: oleg oksjuk <oksyuk@hotmail.com>
- Cc: www-lib@w3.org
Hi Oleg, In HTTPReq.c function HTTPMakeRequest there is code to generate that field: .... if (request_mask & HT_C_USER_AGENT) { PUTS("User-Agent: "); PUTS(HTLib_appName()); PUTC('/'); PUTS(HTLib_appVersion()); PUTC(' '); PUTS(HTLib_name()); PUTC('/'); PUTS(HTLib_version()); PUTBLOCK(crlf, 2); } Try to remove HTLib_name and HTLib_version: if (request_mask & HT_C_USER_AGENT) { PUTS("User-Agent: "); PUTS(HTLib_appName()); PUTC('/'); PUTS(HTLib_appVersion()); PUTBLOCK(crlf, 2); } Olga Antropova. On 04-Oct-99 oleg oksjuk wrote: > When I perform GET request libwww sends to the server User Agent field in > the header of the request like > appName/appVersion libwww/5.2.8 > May I perform GET request with User Agent field like > appName/appVersion (without the second part)? > > Is anybody can advise me anything? > > > ______________________________________________________ > Get Your Private, Free Email at http://www.hotmail.com
Received on Monday, 4 October 1999 16:01:38 UTC