mustEncode sets Content-Type header if possible