1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0//EN">
6 <style type=
"text/css">
9 font-family: verdana
, sans-serif
;
29 text-decoration:underline
;
34 text-decoration: none
;
47 border-bottom-width:1px;
48 border-bottom-style:dotted
;
64 <table width=
"90%" border=
"0" cellspacing=
"1" cellpadding=
"5">
67 <big><tt>Global.helma.Http.prototype.setUserAgent
(agent)
</tt></big><br>
73 Sets the HTTP
"User-Agent" header field to the string passed as argument
<br><br>
76 <li><b>Parameter
</b> <code>{String}
</code>:
<br/>
77 agent The string to use as value of the
"User-Agent" header field (defaults to
"Helma Http Client")
80 <li><b>See also
</b><br>
90 <table width=
"90%" border=
"0" cellspacing=
"1" cellpadding=
"5">
92 <td>Sourcecode in /root/helma-
1.6.1/modules/helma/Http.js:
93 <pre><font color=
"#aaaaaa">374:
</font> this.setUserAgent = function(agent) {
94 <font color=
"#aaaaaa">375:
</font> userAgent = agent;
95 <font color=
"#aaaaaa">376:
</font> return;
96 <font color=
"#aaaaaa">377:
</font> }