Skip to content

Instantly share code, notes, and snippets.

@cubiclabs
Created January 23, 2024 11:27
Show Gist options
  • Save cubiclabs/b7ebdc21e4f4f2cbd89feaebc1ee7490 to your computer and use it in GitHub Desktop.
Save cubiclabs/b7ebdc21e4f4f2cbd89feaebc1ee7490 to your computer and use it in GitHub Desktop.
returnFormat is missing from metaData when set to XML
<cfscript>
function testJSON() returnFormat="json"{
return "";
}
function testXML() returnFormat="xml"{
return "";
}
writeDump(getMetaData(testJSON));
writeDump(getMetaData(testXML));
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment