def METHOD_NAME(self):
    try:
        rsp = super(WebConnection, self).METHOD_NAME()
        try:
            hdrs = [x.split(':', 1) for x in rsp.msg.headers]
        except AttributeError:
            hdrs = rsp.msg.items()
        for hdr in hdrs:
            if hdr[0] == 'Set-Cookie':
                c = Cookie.BaseCookie(hdr[1])
                for k in c:
                    self.cookies[k] = c[k].value
    except httplib.BadStatusLine:
        self.broken = True
        raise
    return rsp