Oh, and one more change: I've also made a change in revision 5713 in regards to how headers are saved and sent: from now on headers should be sent in their original case (ie. if you set a header 'X-MyHeader' it will be sent as such, and not as 'X-myheader' as it used to be). It seems that some services are sensitive to header case. I guess you can't force Amazon to follow the RFC strictly... :(
This should fix ZF-1689 - please let me know if it causes any troubles. Please note that Zend_Http_Response was not changed - so response headers are still manipulated. I didn't think it was worth any trouble in this case - let me know if you think different. Shahar. On Mon, 2007-07-16 at 14:54 +0300, Shahar Evron wrote: > Hi all, > > I made a small change in Zend_Http_Client revision 5712, adding a > default Accept-Encoding header to the request. Unless the user manually > specifies Accept-Encoding header, the client will now send requests with > 'gzip, deflate' if zlib is available, or 'identity' (which means no > encoding) if zlib is not available. > > Please test your code if you are using HEAD to make sure it doesn't > break anything, and let me know if you encounter problems. > > Shahar.
signature.asc
Description: This is a digitally signed message part
