Skip to contents

Sets the content type of a response

Usage

set_content_type(res, content_type)

Arguments

res

A response builder object

content_type

The content type to set

Value

The response builder object