facebook/tornado — pull request #420 by kernel1983 (2011-12-15 10:57:48+00:00)
Title: Set-Cookie problem for mac safari

I found a bug when I trying to write a proxy using tornado

When fetch the page, the headers["Set-Cookie"] returns data like:
A=B,C=D

when I using it in self.set_header("Set-Cookie", "..."), mac safari will reject it.
So cookie is not set to the browser.

I made a little change, Set-Cookie should looks like:
A=B, C=D

So all the browser will accept it.