public function setPostParamsEncType($enctype) { $this->setCustomHeader(array('Content-Type: ' . $enctype)); }