Lines Matching refs:headers

674 …function serializeEnvelope($body,$headers=false,$namespaces=array(),$style='rpc',$use='encoded',$e…  argument
3431 var $headers = array(); variable in nusoap_server
3714 $headers = getallheaders();
3715 foreach($headers as $k=>$v){
3717 $this->headers[$k] = $v;
3722 if(isset($this->headers['soapaction'])){
3723 $this->SOAPAction = str_replace('"','',$this->headers['soapaction']);
3726 if(isset($this->headers['content-type']) && strpos($this->headers['content-type'],'=')){
3727 $enc = str_replace('"','',substr(strstr($this->headers["content-type"],'='),1));
3767 $this->headers[$k] = $v;
3801 $this->headers[$k] = $v;
3838 if (isset($this->headers['content-encoding']) && $this->headers['content-encoding'] != '') {
3839 $this->debug('got content encoding: ' . $this->headers['content-encoding']);
3840 …if ($this->headers['content-encoding'] == 'deflate' || $this->headers['content-encoding'] == 'gzip…
3843 if ($this->headers['content-encoding'] == 'deflate' && $degzdata = @gzuncompress($data)) {
3845 …} elseif ($this->headers['content-encoding'] == 'gzip' && $degzdata = gzinflate(substr($data, 10))…
3858 $data = $this->parseRequest($this->headers, $data);
4172 …if (strlen($payload) > 1024 && isset($this->headers) && isset($this->headers['accept-encoding'])) …
4173 if (strstr($this->headers['accept-encoding'], 'gzip')) {
4185 } elseif (strstr($this->headers['accept-encoding'], 'deflate')) {
4236 * @param array $headers The HTTP headers
4241 function parseRequest($headers, $data) { argument
4242 …ing parseRequest() for data of length ' . strlen($data) . ' and type ' . $headers['content-type']);
4243 if (!strstr($headers['content-type'], 'text/xml')) {
4247 if (strpos($headers['content-type'], '=')) {
4248 $enc = str_replace('"', '', substr(strstr($headers["content-type"], '='), 1));
7216 …* @param mixed $headers optional string of XML with SOAP header content, or array of soapval objec…
7236 $this->appendDebug('headers=' . $this->varDump($headers));
7546 * @param array $headers The HTTP headers
7551 function parseResponse($headers, $data) { argument
7553 $this->appendDebug($this->varDump($headers));
7554 if (!strstr($headers['content-type'], 'text/xml')) {
7555 $this->setError('Response not of type text/xml: ' . $headers['content-type']);
7558 if (strpos($headers['content-type'], '=')) {
7559 $enc = str_replace('"', '', substr(strstr($headers["content-type"], '='), 1));
7623 …* @param mixed $headers String of XML with SOAP header content, or array of soapval objects for SO…
7626 function setHeaders($headers){ argument
7628 $this->appendDebug($this->varDump($headers));
7629 $this->requestHeaders = $headers;