zendframework/zf2 — pull request #774 by hnw (2012-02-05 18:55:53+00:00)
Title: [Zend_Http_Client] fixed double encoding problem about cookie value when...

Currently, Zend_Http_Client has problem with cookie value urlencoding. I think the cookie value should be urlencoded once when "encodecookies" is true. However, current Zend_Http_Client sends twice urlencoded value in request headers.

The same problem is also found when "encodecookies" is false. In this case, the raw value should be sent as cookie value, I think.

I added 2 test cases. For detail, please check them.