I'm trying to assemble a header object for an api request. One of the headers is 'Content-Type'. The hyphen is causing a compile error. Flex is giving me:
1050 - Cannot assign to a non-reference value.
I find it spiteful that they enjoy the use of a hyphen in the error message while I hang my head and come here for answers.