neotyk/http.async.client — pull request #30 by canassa (2012-02-24 05:51:59+00:00)
Title: Fixes issue when parsing some cookies

The current create-cookies function assumes that the 'set-cookie' header is always a vector.

I find out that this is not always true. If the response from the server contains a single 'set-cookie', the 'set-cookie' entry in the header map will be a string instead of a vector. This generates a java exception when the create-cookies function is called.

I wrote a new test to catch this scenario and changed the 'create-cookie' function to handle it.