code: public List<ICookie> getCookies() {
          String cookies = getHeader("Cookie");
          List<ICookie> output = new ArrayList<>();
  
          if (Utils.isEmpty(cookies)) {
              return output;
          }
  
          for (String cookieStr : cookies.split("[; ]+")) {
              String[] pair = cookieStr.split("=", 2);
              output.add(new Cookie(pair[0], pair[1]));
          }
          return output;
      }
docs: Gets the value of the Cookie header
  
  @return A list containing Cookie objects parsed from the internal string
  representation