Lines Matching refs:name
155 # translate month name to number
402 name = m.group(1)
417 pairs.append((name, value))
536 """Return True if text is a host domain name."""
558 Sometimes we compare one host name with another. (Such comparisons SHALL
559 be case-insensitive.) Host A's name domain-matches host B's if
561 * their host name strings string-compare equal; or
564 name string, B has the form .B', and B' is a HDN string. (So,
590 """Return True if text is a sort-of-like a host domain name.
637 """Return a tuple (request-host, effective request-host name).
694 The reach R of a host name H is defined as follows:
698 - H is the host domain name of a host; and,
761 def __init__(self, version, name, value,
780 self.name = name
803 def has_nonstandard_attr(self, name):
804 return name in self._rest
805 def get_nonstandard_attr(self, name, default=None):
806 return self._rest.get(name, default)
807 def set_nonstandard_attr(self, name, value):
808 self._rest[name] = value
821 namevalue = "%s=%s" % (self.name, self.value)
823 namevalue = self.name
828 for name in ("version", "name", "value",
834 attr = getattr(self, name)
835 args.append("%s=%s" % (name, repr(attr)))
956 _debug(" - checking cookie %s=%s", cookie.name, cookie.value)
958 assert cookie.name is not None
960 for n in "version", "verifiability", "name", "path", "domain", "port":
973 cookie.name, cookie.value)
999 cookie.name.startswith("$")):
1000 _debug(" illegal name (starts with '$'): '%s'", cookie.name)
1036 "info", "jobs", "mobi", "museum", "name", "pro",
1105 _debug(" - checking cookie %s=%s", cookie.name, cookie.value)
1179 _debug(" effective request-host name %s does not domain-match "
1336 attrs.append(cookie.name)
1338 attrs.append("%s=%s" % (cookie.name, value))
1395 Tuples are name, value, standard, rest, where name and value are the
1396 cookie name and value, standard is a dictionary containing the standard
1411 name, value = cookie_attrs[0]
1482 cookie_tuples.append((name, value, standard, rest))
1489 name, value, standard, rest = tup
1559 self.clear(domain, path, name)
1562 _debug("Expiring cookie, domain='%s', path='%s', name='%s'",
1563 domain, path, name)
1567 name, value,
1642 lookup[(cookie.domain, cookie.path, cookie.name)] = None
1645 key = ns_cookie.domain, ns_cookie.path, ns_cookie.name
1676 c3[cookie.name] = cookie
1692 def clear(self, domain=None, path=None, name=None):
1699 the cookie with the specified name, path and domain is removed.
1704 if name is not None:
1707 "domain and path must be given to remove a cookie by name")
1708 del self._cookies[domain][path][name]
1730 self.clear(cookie.domain, cookie.path, cookie.name)
1749 self.clear(cookie.domain, cookie.path, cookie.name)
1837 h = [(cookie.name, cookie.value),
1929 name, value = data[0]
1959 c = Cookie(h("version"), name, value,
2044 domain, domain_specified, path, secure, expires, name, value = \
2048 if name == "":
2050 # with no name, whereas http.cookiejar regards it as a
2052 name = value
2064 c = Cookie(0, name, value,
2114 # with no name, whereas http.cookiejar regards it as a
2116 name = ""
2117 value = cookie.name
2119 name = cookie.name
2125 secure, expires, name, value])+