Sets the MIME type in the HTTP response header from the given string. This is useful if you want to force a different MIME type than Lacewing would guess.


This will set the Content-Type response header, which is normally:

Content-Type: text/html; charset=UTF-8


If you want to set the character set, you can use On request > Set MIME type (with charset) action.

You can do so to force a download; for example, some browsers will play a video file instead of downloading to disk, so if you set the type to "application/octet-bytes", which means "generic binary file", it won't consider it a video and will download directly.