Added option to add Content-Type header