Response content type applicator

[io/http/server/utils/Response content type applicator]


Adds content type header to the received response.


Keywords: content type, server, rest, api, response, add, insert

Input ports

  • response:

    {"status": number, "headers": {string: string}, "body": string}
  • params: {optional "contentType": ("text" or "json")}

Output ports

  • response:

    {"status": number, "headers": {string: string}, "body": string}

Last updated