Returns the name of the given header field for the object referred to by the specified url connection object.
Syntax
getHeaderField( urlconnection , index )
urlconnection.getHeaderField( index )
getHeaderField( urlconnection , field )
urlconnection.getHeaderField( field )
Parameters
urlconnection
|
the url connection object to use.
|
index
|
the header field offset.
|
field
|
the header field name.
|
Returns
string
|
the value at the specified header field.
|
Example
header = ucon.getHeaderField( fld )
|