Home
last modified time | relevance | path

Searched refs:headers (Results 1 – 25 of 443) sorted by relevance

12345678910>>...18

/plugin/davcal/vendor/sabre/http/lib/
H A DMessage.php30 protected $headers = []; variable in Sabre\\HTTP\\Message
154 if (isset($this->headers[$name])) {
176 if (isset($this->headers[$name])) {
177 return $this->headers[$name][1];
209 * @param array $headers
212 function setHeaders(array $headers) { argument
236 $this->headers[$lName][1],
240 $this->headers[$lName] = [
253 * @param array $headers
256 function addHeaders(array $headers) { argument
[all …]
H A DSapi.php101 $headers = [];
127 $headers['Content-Type'] = $value;
130 $headers['Content-Length'] = $value;
137 … $headers['Authorization'] = 'Basic ' . base64_encode($value . ':' . $serverArray['PHP_AUTH_PW']);
143 $headers['Authorization'] = 'Digest ' . $value;
149 $headers['Authorization'] = $value;
154 $headers['Host'] = $value;
176 $headers[$header] = $value;
186 $r = new Request($method, $url, $headers);
/plugin/webdav/vendor/sabre/http/lib/
H A DMessage.php30 protected $headers = []; variable in Sabre\\HTTP\\Message
158 if (isset($this->headers[$name])) {
180 if (isset($this->headers[$name])) {
181 return $this->headers[$name][1];
213 * @param array $headers
216 function setHeaders(array $headers) { argument
240 $this->headers[$lName][1],
244 $this->headers[$lName] = [
257 * @param array $headers
260 function addHeaders(array $headers) { argument
[all …]
H A DSapi.php109 $headers = [];
135 $headers['Content-Type'] = $value;
138 $headers['Content-Length'] = $value;
145 … $headers['Authorization'] = 'Basic ' . base64_encode($value . ':' . $serverArray['PHP_AUTH_PW']);
151 $headers['Authorization'] = 'Digest ' . $value;
157 $headers['Authorization'] = $value;
162 $headers['Host'] = $value;
184 $headers[$header] = $value;
194 $r = new Request($method, $url, $headers);
/plugin/openid/Auth/Yadis/
H A DPlainHTTPFetcher.php52 $headers = [];
86 $headers = [
102 $headers[] = $h;
128 $headers = explode("\r\n", $headers);
145 foreach ($headers as $header) {
168 $headers = [];
176 $headers[] = "Host: " . $parts['host'];
182 $headers = array_merge($headers, $extra_headers);
235 $headers = explode("\r\n", $headers);
240 $http_code = explode(" ", $headers[0]);
[all …]
H A DHTTPFetcher.php30 public $headers = []; variable in Auth_Yadis_HTTPResponse
33 $headers = null, $body = null) argument
37 $this->headers = $headers;
132 * @param array $headers
136 function _findRedirect($headers, $url) argument
138 foreach ($headers as $line) {
180 * @param array $headers
183 function get($url, $headers = null) argument
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/Handler/
H A DEasyHandle.php23 public $headers = []; variable in GuzzleHttp\\Handler\\EasyHandle
47 if (empty($this->headers)) {
52 $startLine = explode(' ', array_shift($this->headers), 3);
53 $headers = \GuzzleHttp\headers_from_lines($this->headers);
54 $normalizedKeys = \GuzzleHttp\normalize_header_keys($headers);
59 $headers['x-encoded-content-encoding']
60 = $headers[$normalizedKeys['content-encoding']];
61 unset($headers[$normalizedKeys['content-encoding']]);
63 $headers['x-encoded-content-length']
64 = $headers[$normalizedKeys['content-length']];
[all …]
/plugin/swiftmail/Swift/Plugin/
H A DMailSend.php124 $bcc_orig = $message->headers->has("Bcc") ? $message->headers->get("Bcc") : null;
125 $subject_orig = $message->headers->has("Subject") ? $message->headers->get("Subject") : null;
126 $to_orig = $message->headers->has("To") ? $message->headers->get("To") : null;
136 … $subject_enc = $message->headers->has("Subject") ? $message->headers->getEncoded("Subject") : "";
138 $message->headers->set("To", null);
139 $message->headers->set("Subject", null);
143 …if ($message->headers->has("Return-Path")) $this->returnPath = $message->headers->get("Return-Path…
148 $message->headers->set("To", $to_orig);
149 $message->headers->set("Subject", $subject_orig);
150 $message->headers->set("Bcc", $bcc_orig);
[all …]
/plugin/fedauth/Auth/Yadis/
H A DPlainHTTPFetcher.php78 $headers = array(
93 $headers[] = $h;
119 $headers = explode("\r\n", $headers);
136 foreach ($headers as $header) {
159 $headers = array();
167 $headers[] = "Host: " . $parts['host'];
173 $headers = array_merge($headers, $extra_headers);
177 $all_headers = implode("\r\n", $headers);
226 $headers = explode("\r\n", $headers);
231 $http_code = explode(" ", $headers[0]);
[all …]
/plugin/authgooglesheets/vendor/guzzlehttp/psr7/src/
H A DMultipartStream.php55 private function getHeaders(array $headers) argument
58 foreach ($headers as $key => $value) {
99 list($body, $headers) = $this->createElement(
117 $disposition = $this->getHeader($headers, 'content-disposition');
129 $length = $this->getHeader($headers, 'content-length');
132 $headers['Content-Length'] = (string) $length;
137 $type = $this->getHeader($headers, 'content-type');
140 $headers['Content-Type'] = $type;
144 return [$stream, $headers];
147 private function getHeader(array $headers, $key) argument
[all …]
H A DMessageTrait.php13 private $headers = []; variable
42 return $this->headers;
60 return $this->headers[$header];
79 $new->headers[$header] = $value;
93 $new->headers[$header] = array_merge($this->headers[$header], $value);
96 $new->headers[$header] = $value;
138 private function setHeaders(array $headers) argument
140 $this->headerNames = $this->headers = [];
141 foreach ($headers as $header => $value) {
152 $this->headers[$header] = array_merge($this->headers[$header], $value);
[all …]
/plugin/swiftmail/Swift/
H A DMessage.php185 return $this->headers->has("Message-ID") ? $this->headers->get("Message-ID") : null;
229 if ($this->headers->has("From")) return $this->headers->get("From");
245 $this->headers->set("To", $to);
253 if ($this->headers->has("To"))
255 $to = $this->headers->get("To");
303 $this->headers->set("Cc", $cc);
311 if ($this->headers->has("Cc"))
313 $cc = $this->headers->get("Cc");
332 $this->headers->set("Bcc", $bcc);
340 if ($this->headers->has("Bcc"))
[all …]
H A DBatchMailer.php43 protected $headers = array(); variable in Swift_BatchMailer
160 $this->headers["To"] = $message->headers->has("To") ?
161 $message->headers->get("To") : null;
162 $this->headers["Reply-To"] = $message->headers->has("Reply-To") ?
163 $message->headers->get("Reply-To") : null;
164 $this->headers["Return-Path"] = $message->headers->has("Return-Path") ?
165 $message->headers->get("Return-Path") : null;
166 $this->headers["From"] = $message->headers->has("From") ?
167 $message->headers->get("From") : null;
175 foreach ($this->headers as $name => $value)
[all …]
/plugin/mantis/lib/
H A Dnusoapmime.php218 * @param array $headers The HTTP headers
223 function parseResponse($headers, $data) { argument
229 foreach ($headers as $k => $v) {
248 $info['contenttype'] = $part->headers['content-type'];
249 $info['cid'] = $part->headers['content-id'];
263 return parent::parseResponse($headers, $data);
459 * @param array $headers The HTTP headers
464 function parseRequest($headers, $data) { argument
470 foreach ($headers as $k => $v) {
489 $info['cid'] = $part->headers['content-id'];
[all …]
/plugin/authgoogle/google/io/
H A DGoogle_HttpRequest.php50 $this->setRequestHeaders($headers);
118 * @param array $headers The HTTP response headers
121 public function setResponseHeaders($headers) { argument
122 $headers = Google_Utils::normalize($headers);
124 $headers = array_merge($this->responseHeaders, $headers);
127 $this->responseHeaders = $headers;
214 * @param array $headers The HTTP request headers
217 public function setRequestHeaders($headers) { argument
218 $headers = Google_Utils::normalize($headers);
220 $headers = array_merge($this->requestHeaders, $headers);
[all …]
/plugin/authgooglesheets/vendor/ralouphie/getallheaders/src/
H A Dgetallheaders.php12 $headers = array();
25 $headers[$key] = $value;
28 $headers[$copy_server[$key]] = $value;
32 if (!isset($headers['Authorization'])) {
34 $headers['Authorization'] = $_SERVER['REDIRECT_HTTP_AUTHORIZATION'];
37 …$headers['Authorization'] = 'Basic ' . base64_encode($_SERVER['PHP_AUTH_USER'] . ':' . $basic_pass…
39 $headers['Authorization'] = $_SERVER['PHP_AUTH_DIGEST'];
43 return $headers;
/plugin/swiftmail/Swift/Message/
H A DAttachment.php84 $this->headers->setAttribute("Content-Type", "name", $name);
86 if ($this->headers->has("Content-Disposition"))
88 $this->headers->setAttribute("Content-Disposition", "filename", $name);
98 if ($this->headers->hasAttribute("Content-Type", "name"))
100 return $this->headers->getAttribute("Content-Type", "name");
110 $this->headers->set("Content-Description", $desc);
118 if ($this->headers->has("Content-Description"))
120 return $this->headers->get("Content-Description");
130 $this->headers->set("Content-Disposition", $disposition);
138 if ($this->headers->has("Content-Disposition"))
[all …]
/plugin/upgrade/HTTP/
H A DHTTPClient.php30 public $header_regexp; // if set this RE must match against the headers, else abort
31 public $headers; variable in dokuwiki\\plugin\\upgrade\\HTTP\\HTTPClient
76 $this->headers = array();
81 if(extension_loaded('zlib')) $this->headers['Accept-encoding'] = 'gzip';
82 $this->headers['Accept'] = 'text/xml,application/xml,application/xhtml+xml,'.
84 $this->headers['Accept-Language'] = 'en-us';
151 * builds the request headers, follows redirects and parses the response.
177 isset($this->headers['Accept-encoding']) &&
178 $this->headers['Accept-encoding'] == 'gzip'){
179 unset($this->headers['Accep
800 buildHeaders($headers) global() argument
[all...]
/plugin/authfacebook/lib/Http/
H A DGraphRawResponse.php36 protected $headers; variable in Facebook\\Http\\GraphRawResponse
51 * @param string|array $headers The headers as a raw string or array.
55 public function __construct($headers, $body, $httpStatusCode = null) argument
61 if (is_array($headers)) {
62 $this->headers = $headers;
64 $this->setHeadersFromString($headers);
77 return $this->headers;
133 $this->headers[$key] = $value;
/plugin/elwikiupgrade/
H A DHTTPClient.php41 var $headers; variable in dokuwiki\\plugin\\elwikiupgrade\\HTTPClient
86 $this->headers = array();
222 $headers = $this->headers;
760 $headers = array();
773 $headers[$key] = array($headers[$key],$val);
779 return $headers;
787 * @param array $headers
807 $headers = '';
811 $headers = substr($headers, 0, -2);
812 if ($headers) $headers = "Cookie: $headers".HTTP_NL;
[all …]
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
H A DNativeMailerHandler.php41 protected $headers = []; variable in Monolog\\Handler\\NativeMailerHandler
85 * @param string|string[] $headers Custom added headers
87 public function addHeader($headers): self argument
89 foreach ((array) $headers as $header) {
93 $this->headers[] = $header;
122 $headers = ltrim(implode("\r\n", $this->headers) . "\r\n", "\r\n");
123 $headers .= 'Content-type: ' . $contentType . '; charset=' . $this->getEncoding() . "\r\n";
124 if ($contentType === 'text/html' && false === strpos($headers, 'MIME-Version:')) {
125 $headers .= 'MIME-Version: 1.0' . "\r\n";
136 mail($to, $subject, $content, $headers, $parameters);
/plugin/zip/pear/File/Archive/Writer/
H A DMail.php63 var $headers; variable in File_Archive_Writer_Mail
87 * @param array $headers The headers that will be passed to the Mail_mime
91 function File_Archive_Writer_Mail($to, $headers, $message, &$mail) argument
105 $this->headers = $headers;
188 $headers = $this->mime->headers($this->headers);
192 $headers,
/plugin/authfacebook/lib/HttpClients/
H A DFacebookCurlHttpClient.php67 public function send($url, $method, $body, array $headers, $timeOut) argument
69 $this->openConnection($url, $method, $body, $headers, $timeOut);
90 * @param array $headers The request headers.
93 public function openConnection($url, $method, $body, array $headers, $timeOut) argument
97 CURLOPT_HTTPHEADER => $this->compileRequestHeaders($headers),
135 * @param array $headers The request headers.
139 public function compileRequestHeaders(array $headers) argument
143 foreach ($headers as $key => $value) {
/plugin/authgooglesheets/vendor/google/apiclient/src/Http/
H A DBatch.php107 $headers = '';
117 $headers,
127 $headers = array(
135 $headers,
167 $headers = $this->parseRawHeaders($rawHeaders);
181 $key = $headers['content-id'];
203 $headers = array();
209 if (isset($headers[$header])) {
210 $headers[$header] = array_merge((array)$headers[$header], (array)$value);
212 $headers[$header] = $value;
[all …]
/plugin/html2pdf/html2pdf/html2ps/
H A Dfetched_data.url.class.php4 var $headers; variable in FetchedDataURL
15 foreach ($this->headers as $header) {
29 function FetchedDataURL($content, $headers, $url) { argument
31 $this->headers = $headers;
38 foreach ($this->headers as $header) {

12345678910>>...18