/dokuwiki/_test/tests/inc/ |
D | mailer.test.php | 35 $headers = $mail->prop('headers'); 36 $this->assertArrayNotHasKey('X-Dokuwiki-User',$headers); 40 $headers = $mail->prop('headers'); 41 $this->assertArrayHasKey('X-Dokuwiki-User',$headers); 48 $headers = $mail->prop('headers'); 49 $this->assertArrayHasKey('X-Mailer',$headers); 50 $this->assertArrayHasKey('X-Dokuwiki-Title',$headers); 51 $this->assertArrayHasKey('X-Dokuwiki-Server',$headers); 52 $this->assertArrayHasKey('X-Auto-Response-Suppress',$headers); 53 $this->assertArrayHasKey('List-Id',$headers); [all …]
|
D | httpclient_http.test.php | 262 $data = $http->get($this->server . '/response-headers?baz=&foo=bar');
|
/dokuwiki/_test/core/ |
D | TestResponse.php | 14 protected $headers; variable in TestResponse 29 function __construct($content, $headers, $data = array()) { argument 31 $this->headers = $headers; 50 return $this->headers; 61 foreach($this->headers as $header) { 79 $headers = $this->getHeader('Status'); 82 if($headers) { 84 $status = is_array($headers) ? array_pop($headers) : $headers;
|
/dokuwiki/inc/ |
D | actions.php | 21 $headers = ['Content-Type: text/html; charset=utf-8']; 22 Event::createAndTrigger('ACTION_HEADERS_SEND', $headers, 'act_sendheaders'); 26 unset($headers); 38 * @param array $headers The headers that shall be sent 40 function act_sendheaders($headers) argument 42 foreach ($headers as $hdr) header($hdr);
|
D | Mailer.class.php | 22 protected $headers = []; variable in Mailer 168 if (isset($this->headers[$header])) unset($this->headers[$header]); 170 $this->headers[$header] = $value; 339 $this->headers['Subject'] = $subject; 380 $headers = ''; 437 if ($headers != '') { 438 $headers .= ', '; 440 $headers .= $text . ' ' . $addr; 443 $headers = trim($headers); 444 if (empty($headers)) return false; [all …]
|
D | auth.php | 193 $headers = []; 197 $headers = getallheaders(); 198 if (is_array($headers)) { 199 $headers = array_change_key_case($headers); 204 if (!$headers) { 207 $headers[strtolower(substr($key, 5))] = $value; 213 if (isset($headers['authorization'])) { 214 [$type, $token] = sexplode(' ', $headers['authorization'], 2); 219 if (isset($headers['x-dokuwiki-token'])) { 220 $token = $headers['x-dokuwiki-token'];
|
/dokuwiki/vendor/simplepie/simplepie/src/ |
D | File.php | 63 public $headers = []; variable in SimplePie\\File 71 …public function __construct($url, $timeout = 10, $redirects = 5, $headers = null, $useragent = nul… argument 86 if (!is_array($headers)) { 87 $headers = []; 93 foreach ($headers as $key => $value) { 112 $this->headers = curl_exec($fp); 115 $this->headers = curl_exec($fp); 127 …$this->headers = \SimplePie\HTTP\Parser::prepareHeaders($this->headers, $info['redirect_count'] + … 128 $parser = new \SimplePie\HTTP\Parser($this->headers); 130 $this->headers = $parser->headers; [all …]
|
D | SimplePie.php | 1595 [$headers, $sniffed] = $fetched; 1619 …if (isset($headers['content-type']) && preg_match('/;\x20?charset=([^;]*)/i', $headers['content-ty… 1625 …if (isset($headers['content-type']) && preg_match('/;\x20?charset=([^;]*)/i', $headers['content-ty… 1660 if (isset($headers)) { 1661 $this->data['headers'] = $headers; 1765 $headers = [ 1769 $headers['if-modified-since'] = $this->data['headers']['last-modified']; 1772 $headers['if-none-match'] = $this->data['headers']['etag']; 1775 …registry->create(File::class, [$this->feed_url, $this->timeout / 10, 5, $headers, $this->useragent… 1814 $headers = [ [all …]
|
D | Locator.php | 225 $headers = [ 228 …$feed = $this->registry->create(File::class, [$href, $this->timeout, 5, $headers, $this->useragent… 332 $headers = [ 335 …$feed = $this->registry->create(File::class, [$value, $this->timeout, 5, $headers, $this->useragen… 354 $headers = [
|
/dokuwiki/inc/Action/ |
D | Export.php | 47 $headers = []; 50 $headers['X-Robots-Tag'] = 'noindex'; 55 $headers['Content-Type'] = 'text/plain; charset=utf-8'; 56 $headers['Content-Disposition'] = 'attachment; filename=' . noNS($ID) . '.txt'; 78 $headers['Content-Type'] = 'text/html; charset=utf-8'; 86 $headers['Content-Type'] = 'text/html; charset=utf-8'; 94 $headers = p_get_metadata($ID, "format $mode"); 102 $data['headers'] = $headers;
|
/dokuwiki/inc/HTTP/ |
D | HTTPClient.php | 32 public $headers = []; variable in dokuwiki\\HTTP\\HTTPClient 72 if (extension_loaded('zlib')) $this->headers['Accept-encoding'] = 'gzip'; 73 $this->headers['Accept'] = 'text/xml,application/xml,application/xhtml+xml,' . 75 $this->headers['Accept-Language'] = 'en-us'; 173 isset($this->headers['Accept-encoding']) && 174 $this->headers['Accept-encoding'] == 'gzip' 176 unset($this->headers['Accept-encoding']); 211 $headers = $this->headers; 212 $headers['Host'] = $uri['host'] 214 $headers['User-Agent'] = $this->agent; [all …]
|
/dokuwiki/_test/tests/lib/exe/ |
D | fetch_statuscodes_external.test.php | 14 header('X-Test: check headers working'); 17 …$this->markTestSkipped('headers not returned, perhaps your sapi does not return headers, try xdebu…
|
/dokuwiki/inc/Feed/ |
D | FeedParserFile.php | 32 $this->headers = $this->http->resp_headers; 42 public function headers() function in dokuwiki\\Feed\\FeedParserFile 44 return $this->headers;
|
/dokuwiki/vendor/simplepie/simplepie/src/Content/Type/ |
D | Sniffer.php | 87 if (isset($this->file->headers['content-type'])) { 88 if (!isset($this->file->headers['content-encoding']) 89 && ($this->file->headers['content-type'] === 'text/plain' 90 || $this->file->headers['content-type'] === 'text/plain; charset=ISO-8859-1' 91 || $this->file->headers['content-type'] === 'text/plain; charset=iso-8859-1' 92 || $this->file->headers['content-type'] === 'text/plain; charset=UTF-8')) { 96 if (($pos = strpos($this->file->headers['content-type'], ';')) !== false) { 97 $official = substr($this->file->headers['content-type'], 0, $pos); 99 $official = $this->file->headers['content-type'];
|
/dokuwiki/inc/Subscriptions/ |
D | MediaSubscriptionSender.php | 37 $headers = ['Message-Id' => $this->getMessageID($id, @filemtime($file))]; 39 $headers['In-Reply-To'] = $this->getMessageID($id, $rev); 42 $this->send($subscriber_mail, 'upload', $id, $template, $trep, null, $headers);
|
D | SubscriptionSender.php | 56 * @param array $headers Additional mail headers in the form 'name' => 'value' 62 … function send($subscriber_mail, $subject, $context, $template, $trep, $hrep = null, $headers = []) argument 80 foreach ($headers as $header => $value) {
|
D | PageSubscriptionSender.php | 69 $headers = ['Message-Id' => $this->getMessageID($id)]; 71 $headers['In-Reply-To'] = $this->getMessageID($id, $rev); 81 $headers
|
/dokuwiki/vendor/kissifrot/php-ixr/src/Client/ |
D | Client.php | 29 protected $headers = []; variable in IXR\\Client\\Client 76 $this->headers['Host'] = $this->server; 77 $this->headers['Content-Type'] = 'text/xml'; 78 $this->headers['User-Agent'] = $this->useragent; 79 $this->headers['Content-Length'] = $length; 81 foreach ($this->headers as $header => $value) {
|
/dokuwiki/_test/mock/ |
D | MailerMock.php | 12 $this->mails[] = $this->headers;
|
/dokuwiki/vendor/simplepie/simplepie/src/HTTP/ |
D | Parser.php | 81 public $headers = []; variable in SimplePie\\HTTP\\Parser 190 $this->headers = []; 274 if (isset($this->headers[$this->name]) && $this->name !== 'content-type') { 275 $this->headers[$this->name] .= ', ' . $this->value; 277 $this->headers[$this->name] = $this->value; 432 if (!empty($this->headers['transfer-encoding'])) { 433 unset($this->headers['transfer-encoding']); 487 * @param string $headers Raw headers 492 public static function prepareHeaders($headers, $count = 1) argument 494 $data = explode("\r\n\r\n", $headers, $count);
|
/dokuwiki/_test/tests/general/ |
D | general_html.test.php | 44 $http->headers['Content-Type'] = 'text/html; charset=utf-8';
|
/dokuwiki/ |
D | README | 9 See COPYING and file headers for license info
|
/dokuwiki/_test/tests/test/ |
D | basic.test.php | 152 $headers = $response->getHeaders(); 153 $this->assertTrue(!empty($headers));
|
/dokuwiki/inc/parser/ |
D | renderer.php | 50 protected $headers = []; variable in Doku_Renderer 65 $this->headers = []; 874 return sectionID($title, $this->headers);
|
/dokuwiki/_test/ |
D | README | 37 The --stderr flag is needed to avoid a headers already sent error on some systems.
|