chickadee » intarweb » header-param

header-param PARAM NAME HEADERS #!optional DEFAULTprocedure

This will return a specific parameter for the header, or DEFAULT if the parameter isn't present or the header does not exist. This also assumes there's only one header.