append to non-absolute names. The default is the root name.
*idna_codec*, a ``dns.name.IDNACodec``, specifies the IDNA
- encoder/decoder. If ``None``, the default IDNA 2003 encoder/decoder
+ encoder/decoder. If ``None``, the default IDNA encoder/decoder
is used.
Returns a ``dns.name.Name``.
append to non-absolute names. The default is the root name.
*idna_codec*, a ``dns.name.IDNACodec``, specifies the IDNA
- encoder/decoder. If ``None``, the default IDNA 2003 encoder/decoder
+ encoder/decoder. If ``None``, the default IDNA encoder/decoder
is used.
Returns a ``dns.name.Name``.
filename: A filename that will be returned by the where() method.
idna_codec: A dns.name.IDNACodec, specifies the IDNA
- encoder/decoder. If None, the default IDNA 2003
+ encoder/decoder. If None, the default IDNA
encoder/decoder is used.
"""
will return.
idna_codec: A dns.name.IDNACodec, specifies the IDNA
- encoder/decoder. If None, the default IDNA 2003
+ encoder/decoder. If None, the default IDNA
encoder/decoder is used.
"""
assert filename is not None
self.filename = filename
if idna_codec is None:
- self.idna_codec: dns.name.IDNACodec = dns.name.IDNA_2003
+ self.idna_codec: dns.name.IDNACodec = dns.name.IDNA_DEFAULT
else:
self.idna_codec = idna_codec
``check_origin()`` method.
*idna_codec*, a ``dns.name.IDNACodec``, specifies the IDNA
- encoder/decoder. If ``None``, the default IDNA 2003 encoder/decoder
+ encoder/decoder. If ``None``, the default IDNA encoder/decoder
is used.
*allow_directives*, a ``bool`` or an iterable of `str`. If ``True``, the default,