added Content-Type header support.