$Web Hdr Len or $Web Hdr Parm Len: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
(Automatically generated page update)
Line 1: Line 1:
{{DISPLAYTITLE:$Web_Hdr_Len or $Web_Hdr_Parm_Len}}
{{DISPLAYTITLE:$Web_Hdr_Len or $Web_Hdr_Parm_Len}}
<span class="pageSubtitle"><section begin="desc" />Length of request header field<section end="desc" /></span>
<span class="pageSubtitle">Length of request header field</span>


<var>$Web_Hdr_Len</var> retrieves the length of a field in a request header.
<var>$Web_Hdr_Len</var> retrieves the length of a field in a request header.
Line 7: Line 7:


==Syntax==
==Syntax==
<p class="syntax"><section begin="syntax" /><span class="term">%rc</span> = $Web_Hdr_Len( fieldname, occurrence )
<p class="syntax"><span class="term">%rc</span> = $Web_Hdr_Len( fieldname, occurrence )
<section end="syntax" /></p>
</p>


===Syntax terms===
===Syntax terms===

Revision as of 15:57, 9 April 2013

Length of request header field

$Web_Hdr_Len retrieves the length of a field in a request header.

$Web_Hdr_Len takes two arguments and returns a number, or zero if the header does not exist.

Syntax

%rc = $Web_Hdr_Len( fieldname, occurrence )

Syntax terms

fieldname The name of the header field, returned by $Web_Hdr_Name. Required argument if occurrence not specified, otherwise optional.
occurrence The occurrence number of a header field, or the occurrence number of the header field matching fieldname, if fieldname is specified. Optional argument if fieldname is specified, otherwise it is required.


See also