MessageHeaders.setContentType

Sets the "Content-Type" header in @hdrs to @content_type, optionally with additional parameters specified in @params.

class MessageHeaders
void
setContentType
(,
HashTable params
)

Parameters

contentType string

the MIME type

params HashTable

additional parameters, or %NULL

Meta

Since

2.26