#3 createContent method produces helpful data

A Map object may be passed in as a second parameter to the createContent
method.  If not null, it assigns several key/value pairs that may be
helpful outside the function, such as a "headerType" and "fileExtension"
for file-based GET requests.