View Single Post
  #3  
Old 03-24-2007, 05:23 AM
gboudreau gboudreau is offline
Member
 
Join Date: Oct 2006
Location: Montr
Posts: 49
This PHP script returns compressed content, and a header which says it will return compressed content (using deflate, not gzip) is also sent back.

I can confirm that using LS 2.2.6:

powermac:~ gb$ curl -i "http://my.domain.com/dataservice.asmx/RequestProgramData?UUID=EGU7TZLA1JA94H679Z9WVV5ETE EG17&ProviderId=A_00001&DaysRequested=8"
HTTP/1.1 200 OK
X-AspNet-Version: 1.1.4322
X-Powered-By: InteSoft-ASPAccelerator/2.2
Cache-Control: private, max-age=0
Content-Type: text/xml; charset=utf-8
Content-Encoding: deflate
Transfer-Encoding: chunked
Server: LiteSpeed
??=T?Hsecy?졎ƗJ??t?V??bZ?????H~)?;???Ͳ??'?=S?AVf??? ^f}u?4??{Sf????֤?R8_&Jf?W?Hbc?ҥ?{C???*??NL_?D???D* ?d??=W??\OYny:??Z%???S^?2__.]?=?xf???uS?<uO???zi8<P?PID3?c??????
...

Returning the same thing under 3.0 doesn't work, with Dynamic Compression On or Off.

I don't think LS should try to uncompress content if the script returns compressed content.
Enabling Dynamic Compression should only affect uncompressed content, which LS would try to compress before returning it to the client.

Thanks.
__________________
- Guillaume Boudreau
Reply With Quote