public function getOptions()
    {
        $options = [];
        if (sizeof($this->headers) > 0) {
            $options = [
                CURLOPT_HTTPHEADER => $this->getHeaders()
            ];
        }

        return $options + $this->options + $this->getDefaultOptions();
    }