GetMIMEHeaderParameter (open)

This function will get a parameter from a MIME header (like "attachment; filename=image.jpg")

Syntax

LOADLIB "wh::internet/mime.whlib";

STRING FUNCTION GetMIMEHeaderParameter(STRING data, STRING keyword)

Parameters

STRING data

Field to decode

STRING keyword

Keyword to look up, or empty to get the main field

Return value

STRING

String with the value belonging to field, with any mime words decoded