mimeEntityGetHeaderParameterNames

SYNOPSIS

varstrlst mimeEntityGetHeaderParameterNames(mimeEntity entityOrReader,
                                            varchar headerName)

Parameters:

  • entityOrReader - A mimeEntity or mimeReader object

  • headerName - The varchar name of the header

Returns:

  • varstrlst list of parameter names for header


DESCRIPTION
The mimeEntityGetHeaderParameterNames function returns the unique names of parameters of all header(s) named headerName in the entity, as a varstrlst list.


EXAMPLE

<$ret = (mimeEntityGetHeaderParameterNames($reader, "Content-Type" ))>
  Content-Type params are named: <loop $ret> $ret </loop><fmt "\n">


CAVEATS
The multi-value varstrlst return value will be split into multiple Vortex variable values that can be looped over, but only if <sqlcp arrayconvert> (here) is on (the default).


SEE ALSO
mimeEntityGetHeaderParameterValues


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.