code: def from_request(cls, header_data, ignore_bad_cookies=False):
          "Construct a Cookies object from request header data."
          cookies = cls()
          cookies.parse_request(
              header_data, ignore_bad_cookies=ignore_bad_cookies)
          return cookief from_request(cls, header_data, ignore_bad_cookies=False):
          "Construct a Cookies object from request header data."
          cookies = cls()
          cookies.parse_request(
              header_data, ignore_bad_cookies=ignore_bad_cookies)
          return cookies
docs: Construct a Cookies object from request header data.