Lines Matching refs:outgoing_headers
2018 var $outgoing_headers = array(); variable in soap_transport_http
2045 $this->outgoing_headers['User-Agent'] = $this->title.'/'.$this->version.' ('.$rev[1].')';
2046 $this->debug('set User-Agent: ' . $this->outgoing_headers['User-Agent']);
2077 $this->outgoing_headers['Host'] = $this->host;
2079 $this->outgoing_headers['Host'] = $this->host.':'.$this->port;
2081 $this->debug('set Host: ' . $this->outgoing_headers['Host']);
2177 $this->outgoing_headers['Connection'] = 'close';
2178 $this->debug('set Connection: ' . $this->outgoing_headers['Connection']);
2301 …$this->outgoing_headers['Authorization'] = 'Basic '.base64_encode(str_replace(':','',$username).':…
2342 …$this->outgoing_headers['Authorization'] = 'Digest username="' . $username . '", realm="' . $diges…
2352 if (isset($this->outgoing_headers['Authorization'])) {
2353 …$this->debug('set Authorization: ' . substr($this->outgoing_headers['Authorization'], 0, 12) . '..…
2366 $this->outgoing_headers['SOAPAction'] = '"' . $soapaction . '"';
2367 $this->debug('set SOAPAction: ' . $this->outgoing_headers['SOAPAction']);
2379 $this->outgoing_headers['Accept-Encoding'] = $enc;
2380 $this->debug('set Accept-Encoding: ' . $this->outgoing_headers['Accept-Encoding']);
2381 if (!isset($this->outgoing_headers['Connection'])) {
2382 $this->outgoing_headers['Connection'] = 'close';
2384 $this->debug('set Connection: ' . $this->outgoing_headers['Connection']);
2406 …$this->outgoing_headers['Proxy-Authorization'] = ' Basic '.base64_encode($proxyusername.':'.$proxy…
2407 $this->debug('set Proxy-Authorization: ' . $this->outgoing_headers['Proxy-Authorization']);
2475 $this->outgoing_headers['Content-Length'] = strlen($data);
2476 $this->debug('set Content-Length: ' . $this->outgoing_headers['Content-Length']);
2484 foreach($this->outgoing_headers as $k => $v){
2526 foreach($this->outgoing_headers as $k => $v){
2900 $this->outgoing_headers['Content-Type'] = $type . ($charset ? '; charset=' . $charset : '');
2901 $this->debug('set Content-Type: ' . $this->outgoing_headers['Content-Type']);
2905 if (isset($this->outgoing_headers['Accept-Encoding'])) {
2910 $this->outgoing_headers['Connection'] = 'Keep-Alive';
2911 $this->debug('set Connection: ' . $this->outgoing_headers['Connection']);
3117 var $outgoing_headers = array(); variable in soap_server
3718 $this->outgoing_headers[] = "HTTP/1.0 500 Internal Server Error";
3719 $this->outgoing_headers[] = "Status: 500 Internal Server Error";
3732 $this->outgoing_headers[] = "Server: $this->title Server v$this->version";
3734 $this->outgoing_headers[] = "X-SOAP-Server: $this->title/$this->version (".$rev[1].")";
3740 $this->outgoing_headers[] = "Content-Type: $type" . ($charset ? '; charset=' . $charset : '');
3750 $this->outgoing_headers[] = "Content-Encoding: gzip";
3765 $this->outgoing_headers[] = "Content-Encoding: deflate";
3775 $this->outgoing_headers[] = "Content-Length: ".strlen($payload);
3776 reset($this->outgoing_headers);
3777 foreach($this->outgoing_headers as $hdr){
3781 $this->response = join("\r\n",$this->outgoing_headers)."\r\n\r\n".$payload;