Lines Matching refs:headers

611 …function serializeEnvelope($body,$headers=false,$namespaces=array(),$style='rpc',$use='encoded',$e…  argument
3050 var $headers = array(); variable in soap_server
3327 $headers = getallheaders();
3328 foreach($headers as $k=>$v){
3330 $this->headers[$k] = $v;
3335 if(isset($this->headers['soapaction'])){
3336 $this->SOAPAction = str_replace('"','',$this->headers['soapaction']);
3339 if(isset($this->headers['content-type']) && strpos($this->headers['content-type'],'=')){
3340 $enc = str_replace('"','',substr(strstr($this->headers["content-type"],'='),1));
3380 $this->headers[$k] = $v;
3414 $this->headers[$k] = $v;
3451 if (isset($this->headers['content-encoding']) && $this->headers['content-encoding'] != '') {
3452 $this->debug('got content encoding: ' . $this->headers['content-encoding']);
3453 …if ($this->headers['content-encoding'] == 'deflate' || $this->headers['content-encoding'] == 'gzip…
3456 if ($this->headers['content-encoding'] == 'deflate' && $degzdata = @gzuncompress($data)) {
3458 …} elseif ($this->headers['content-encoding'] == 'gzip' && $degzdata = gzinflate(substr($data, 10))…
3471 $data = $this->parseRequest($this->headers, $data);
3744 …if (strlen($payload) > 1024 && isset($this->headers) && isset($this->headers['accept-encoding'])) …
3745 if (strstr($this->headers['accept-encoding'], 'gzip')) {
3757 } elseif (strstr($this->headers['accept-encoding'], 'deflate')) {
3807 * @param array $headers The HTTP headers
3812 function parseRequest($headers, $data) { argument
3813 …ing parseRequest() for data of length ' . strlen($data) . ' and type ' . $headers['content-type']);
3814 if (!strstr($headers['content-type'], 'text/xml')) {
3818 if (strpos($headers['content-type'], '=')) {
3819 $enc = str_replace('"', '', substr(strstr($headers["content-type"], '='), 1));
6535 …* @param mixed $headers optional string of XML with SOAP header content, or array of soapval objec…
6555 $this->appendDebug('headers=' . $this->varDump($headers));
6813 * @param array $headers The HTTP headers
6818 function parseResponse($headers, $data) { argument
6819 …ng parseResponse() for data of length ' . strlen($data) . ' and type ' . $headers['content-type']);
6820 if (!strstr($headers['content-type'], 'text/xml')) {
6824 if (strpos($headers['content-type'], '=')) {
6825 $enc = str_replace('"', '', substr(strstr($headers["content-type"], '='), 1));
6876 function setHeaders($headers){ argument
6877 $this->requestHeaders = $headers;