
    h                         S r SSKrSSKJr  \R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\\4r	\\4r
\\
\\	0rSS	 jrS
 rg)z
requests._internal_utils
~~~~~~~~~~~~~~

Provides utility functions that are consumed internally by Requests
which depend on extremely few external helpers (such as compat)
    N   )builtin_strs   ^[^:\s][^:\r\n]*$z^[^:\s][^:\r\n]*$s   ^\S[^\r\n]*$|^$z^\S[^\r\n]*$|^$c                 Z    [        U [        5      (       a  U nU$ U R                  U5      nU$ )zGiven a string object, regardless of type, returns a representation of
that string in the native string type, encoding and decoding where
necessary. This assumes ASCII unless told otherwise.
)
isinstancer   decode)stringencodingouts      J/var/www/html/env/lib/python3.13/site-packages/requests/_internal_utils.pyto_native_stringr      s2    
 &+&& J mmH%J    c                 v    [        U [        5      (       d   e U R                  S5        g! [         a     gf = f)zDetermine if unicode string only contains ASCII characters.

:param str u_string: unicode string to check. Must be unicode
    and not Python 2 `str`.
:rtype: bool
asciiTF)r   strencodeUnicodeEncodeError)u_strings    r   unicode_is_asciir   &   s=     h$$$$  s   + 
88)r   )__doc__recompatr   compile_VALID_HEADER_NAME_RE_BYTE_VALID_HEADER_NAME_RE_STR_VALID_HEADER_VALUE_RE_BYTE_VALID_HEADER_VALUE_RE_STR_HEADER_VALIDATORS_STR_HEADER_VALIDATORS_BYTEbytesr   HEADER_VALIDATORSr   r    r   r   <module>r"      s    
 ZZ(=> JJ';<  jj)<= ZZ(:; 35OP 57RS 	"	 
r   