I was wondering what the best practices where for adding gzip compression support to ZF Servers such as SOAP, XML-RPC and in my case AMF. Right now no headers are sent from the Zend_Amf_Server and the bootstrap just returns a string which is the AMF data and the bootstrap echo's out the data. From a design decision my gut tells me that the best place to handle if gzip compression should be used is in the bootstrap after a result is received from Zend_Amf_Server. I also don't want to add 15 lines of code that users of Zend Amf have to keep copying into their bootstrap just to get the envelope compressed. In that case I thought that I could add a Zend_Amf_Server->setGzipCrompression(true). Adding this now makes a ZF Server set output headers? Torn on where I should release this code and would appreciate any feedback!
Wade Arnold -- View this message in context: http://www.nabble.com/gzip-compression-for-AMF-server--tp21707841p21707841.html Sent from the Zend Framework mailing list archive at Nabble.com.
