Warning! You are currently reading the documentation for Requests 1.x.
It is recommended to upgrade to Requests 2.x at your earliest convenience.
Upgrading to Requests 2.x is fairly straight-forward.
A full list of the changes can be found in the Changelog.
Visit the documentation for Requests_IDNAEncoder
in Requests 2.x.
Class Requests_IDNAEncoder
IDNA URL encoder
Note: Not fully compliant, as nameprep does nothing yet.
Package: Requests\Utilities
See: https://tools.ietf.org/html/rfc3490 IDNA specification
See: https://tools.ietf.org/html/rfc3492 Punycode/Bootstrap specification
Located at Requests/IDNAEncoder.php
See: https://tools.ietf.org/html/rfc3490 IDNA specification
See: https://tools.ietf.org/html/rfc3492 Punycode/Bootstrap specification
Located at Requests/IDNAEncoder.php
public static
string
|
|
public static
string
|
|
protected static
boolean
|
|
protected static
string
|
|
protected static
array
|
|
public static
string
|
|
protected static
string
|
|
protected static
integer
|
string |
ACE_PREFIX
ACE prefix used for IDNA |
#
'xn--'
|
integer |
BOOTSTRAP_BASE
Bootstrap constant for Punycode |
#
36
|
integer |
BOOTSTRAP_TMIN
|
#
1
|
integer |
BOOTSTRAP_TMAX
|
#
26
|
integer |
BOOTSTRAP_SKEW
|
#
38
|
integer |
BOOTSTRAP_DAMP
|
#
700
|
integer |
BOOTSTRAP_INITIAL_BIAS
|
#
72
|
integer |
BOOTSTRAP_INITIAL_N
|
#
128
|