protected function configureType()
    {
        switch ($this->type) {
            case 'POST':
                $this->setOption(CURLOPT_POST, true);
                break;
            case 'DELETE':
            case 'PUT':
                $this->setOption(CURLOPT_CUSTOMREQUEST, $this->type);
                break;
        }
    }