t.w.p.j.x.NamePrep : class documentation

Part of twisted.words.protocols.jabber.xmpp_stringprep View Source View In Hierarchy

Implements preparation of internationalized domain names.

This class implements preparing internationalized domain names using the rules defined in RFC 3491, section 4 (Conversion operations).

We do not perform step 4 since we deal with unicode representations of domain names and do not convert from or to ASCII representations using punycode encoding. When such a conversion is needed, the idna standard library provides the ToUnicode() and ToASCII() functions. Note that idna itself assumes UseSTD3ASCIIRules to be false.

The following steps are performed by prepare():

Method prepare Undocumented
Method check_prohibiteds Undocumented
Method nameprep Undocumented
def prepare(self, string): (source)
Undocumented
def check_prohibiteds(self, string): (source)
Undocumented
def nameprep(self, label): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.