code: def cookies(self) -> Dict[str, http.cookies.Morsel]:
          
          if not hasattr(self, "_cookies"):
              self._cookies = http.cookies.SimpleCookie()
              if "Cookie" in self.headers:
                  try:
                      parsed = parse_cookie(self.headers["Cookie"])
                  except Exception:
                      pass
                  else:
                      for k, v in parsed.items():
                          try:
                              self._cookies[k] = v
                          except Exception:
                              # SimpleCookie imposes some restrictions on keys;
                              # parse_cookie does not. Discard any cookies
                              # with disallowed keys.
                              pass
          return self._cookies
docs: A dictionary of ``http.cookies.Morsel`` objects.