Getting and Setting mime types.
I am attempting to do two things with the mime types.
Collect the mime type from a stream(%FileBinaryStream) using this syntax: myCONTENTTYPE=stream.GetAttribute("Content-Type")
However, myCONTENTTYPE always comes in empty.
Set the CONTENTTYPE PARAMETER in the OnPage ClassMethod of a ZEN page, using this syntax: s ..#CONTENTTYPE=myCONTENTTYPE
However, I cannot seem to get the correct syntax.
I would appreciate any and all help. Thank you.