in output types, please put any http response headers (such as the common 'Content-Type') into the parameter 'http_headers', now. closes #338