Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > edce90235d3141ac622d60d60f5d922e > files > 46

elinks-0.11.4-1mdv2008.1.x86_64.rpm

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>What User-Agent header does ELinks send?</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="The ELinks Manual"><link rel="up" href="ch02.html" title="Chapter 2. Frequently Asked Questions"><link rel="prev" href="ch02s08.html" title="How can I get 256 colors?"><link rel="next" href="ch03.html" title="Chapter 3. Introduction to the World of ELinks"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">What User-Agent header does ELinks send?</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s08.html">Prev</a> </td><th width="60%" align="center">Chapter 2. Frequently Asked Questions</th><td width="20%" align="right"> <a accesskey="n" href="ch03.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="useragent"></a>What User-Agent header does ELinks send?</h2></div></div></div><p>The older ELinks versions (up to 0.4.3) send:</p><pre class="literallayout">ELinks ($version; $osinfo; $textmode_dimensions)</pre><p>The new ELinks versions (from 0.9.0 on) send:</p><pre class="literallayout">ELinks/$version (textmode; $osinfo; $textmode_dimensions)</pre><p>You should therefore check against something like /^ELinks[\/ ]/, since more
fields can be added inside the parenthesis in subsequent versions.  Note that
users can change their User-Agent through the options system.</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s08.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">How can I get 256 colors? </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 3. Introduction to the World of ELinks</td></tr></table></div></body></html>