public function getHeaders(bool $originalCase = false): array {
        if (!$originalCase) {
            return $this->headers;
        }

        $headers = [];

        foreach ($this->headers as $header => $values) {
            $headers[$this->headerCaseMap[$header]] = $values;
        }

        return $headers;
    }