def parse_response(self, response):
try:<EOL><INDENT>for header in response.msg.get_all("<STR_LIT>"):<EOL><INDENT>cookie = header.split("<STR_LIT:;>", <NUM_LIT:1>)[<NUM_LIT:0>]<EOL>cookieKey, cookieValue = cookie.split("<STR_LIT:=>", <NUM_LIT:1>)<EOL>self._cookies[cookieKey] = cookieValue<EOL><DEDENT><DEDENT>finally:<EOL><INDENT>return Transport.parse_response(self, response)<EOL><DEDENT>
parse and store cookie