cocos2d/cocos2d-x — pull request #2350 by randyv2zhurosoft (2013-04-10 18:33:19+00:00)
Title: Add support for cookies to HttpClient, and support for getting headers from HttpResponse

Add support for cookies to HttpClient. This relies on FileUtils being able to access a file to store the cookies themselves between instances of CURL.

This also adds support for getting headers from HttpResponse, in case someone wants to read those in addition to response data (e.g. to handle cookies manually).