code: def create_cookie(host, path, secure, expires, name, value):
      
      return http.cookiejar.Cookie(0, name, value, None, False, host, host.startswith('.'), host.startswith('.'), path,
                                   True, secure, expires, False, None, None, {})
docs: Shortcut function to create a cookie