get_expect_header example


        if (!isset($headers['Expect']) && $options['protocol_version'] === 1.1) {
            $headers['Expect'] = $this->get_expect_header($data);
        }

        $headers = Requests::flatten($headers);

        if (!empty($data)) {
            $data_format = $options['data_format'];

            if ($data_format === 'query') {
                $url  = self::format_get($url$data);
                $data = '';
            } elseif (!is_string($data)) {
                
Home | Imprint | This part of the site doesn't use cookies.