code: def from_response(cls, header_data, ignore_bad_cookies=False,
                        ignore_bad_attributes=True):
          "Construct a Cookies object from response header data."
          cookies = cls()
          cookies.parse_response(
              header_data,
              ignore_bad_cookies=ignore_bad_cookies,
              ignore_bad_attributes=ignore_bad_attributes)
          return cookief from_response(cls, header_data, ignore_bad_cookies=False,
                        ignore_bad_attributes=True):
          "Construct a Cookies object from response header data."
          cookies = cls()
          cookies.parse_response(
              header_data,
              ignore_bad_cookies=ignore_bad_cookies,
              ignore_bad_attributes=ignore_bad_attributes)
          return cookies
docs: Construct a Cookies object from response header data.