On Sun, 20 Jun 2010, Ignac Vucko wrote:
Hi Thomas,
How did you disable the useragent?
I tried -useragent="", but that didn't work either.
That's because there are two checks. An empty useragent normally sends
a default user-agent string, but there's an additional feature that I
added about a year ago
2009-05-25 (2.8.7pre.3)
which suppresses that entirely.
There's no command-line option (I'm probably going to add one - was also
exploring a problem with my configure script...). It can be turned off in
the options menu with this checkbox - but note that the corresponding
feature (send_useragent) is normally not saved to .lynxrc:
Send User-Agent header (!) : [X]
To allow it to be saved to .lynxrc, you'd add
ENABLE_LYNXRC:send_useragent:ON
to lynx.cfg
Thanks,
Ignac
- Lynx Version 2.8.7pre.6 (23 Jun 2009)
libwww-FM 2.14, SSL-MM 1.4.1, ncurses 5.7.20090803(wide)
Built on linux-gnu Jun 25 2009 07:27:29
- FORCE_SSL_PROMPT:YES is being used in /etc/lynx-cur/lynx.cfg to ignore
SSL cert issues
- Setting -useragent="firefox user agent" does not resolve the issue
- wget and curl -sk and Firefox work fine
Anyone have any ideas?
I got it to accept the connection by disabling the user-agent entirely.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
_______________________________________________
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev