Re: [soap]about compress
| From: | Thijs Lensselink | Date: | Fri, 25 Jul 2008 07:02:16 +0000 |
| Subject: | Re: [soap]about compress | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-277289@lists.php.net to get a copy of this message | ||
Quoting 付兴林 <sunnycoolboy85@hotmail.com>:
I have an issue about soap. Is the data returned from servier compressed by gzip, When using soap in php5 to creat web service? Can we set for compress lever or not compress? _________________________________________________________________ 这里好多好玩的视频,用鼠标点到视频看看,有惊喜! http://cnweb.search.live.com/video/results.aspx?q=%E5%A5%A5%E8%BF%90%E5%9C%A3%E7%81%AB&mkt=zh-cn&FORM=WLMTWCFor the SOAPClient you can pass some settings in the $options parameter. $options = array('compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP | 9);