
    h                     4   S r SSKrSSKJr  SSKJr  SrSrS rS r	 \" \R                  \\5         SS	KJr  \(       d  \" S
5      e SSKr\" \SS5      (       d%  SSKJr  \R,                  " 5         SSKJ
r  \	" \5        SSKJr  \R6                  " S\5        SSKrSSKJr  SSKJrJ r   SSK
J!r!J"r"J#r#J$r$J%r%J&r&J'r'J(r(J)r)J
r
  SSK*J+r+J,r,J-r-J.r.J/r/J0r0J1r1J2r2  SSKJ3r3J4r4J5r5J6r6J7r7J8r8J9r9J:r:J;r;J<r<  SSK=J>r>J?r?J@r@  SSKAJBrBJCrC  SSKDJErE  \R                  " \G5      R                  \" 5       5        \R6                  " S\5SS9  g! \\4 a2    \R                  " SR                  \R                  \\5      \5         GNHf = f! \ a    Sr GN<f = f! \ a     GNf = f)a  
Requests HTTP Library
~~~~~~~~~~~~~~~~~~~~~

Requests is an HTTP library, written in Python, for human beings.
Basic GET usage:

   >>> import requests
   >>> r = requests.get('https://www.python.org')
   >>> r.status_code
   200
   >>> b'Python is a programming language' in r.content
   True

... or POST:

   >>> payload = dict(key1='value1', key2='value2')
   >>> r = requests.post('https://httpbin.org/post', data=payload)
   >>> print(r.text)
   {
     ...
     "form": {
       "key1": "value1",
       "key2": "value2"
     },
     ...
   }

The other HTTP methods are supported - see `requests.api`. Full documentation
is at <https://requests.readthedocs.io>.

:copyright: (c) 2017 by Kenneth Reitz.
:license: Apache 2.0, see LICENSE for more details.
    N)urllib3   )RequestsDependencyWarningc                 :   U R                  S5      n U S/:w  d   e[        U 5      S:X  a  U R                  S5        U u  p4n[        U5      [        U5      [        U5      pTnUS:  d   eUS:X  a  US:  d   eU(       aL  UR                  S5      S S u  p4n[        U5      [        U5      [        U5      pTnSX4U4s=::  a  S	:  d   e   eg U(       aL  UR                  S5      S S u  p4n[        U5      [        U5      [        U5      pTnS
X4U4s=::  a  S:  d   e   eg g )N.dev   0r         )r   r   r	   )   r   r   )r	   r   r   )   r   r   )splitlenappendint)urllib3_versionchardet_versioncharset_normalizer_versionmajorminorpatchs         rC:\Users\ROHAN GUPTA\OneDrive\Desktop\mathbuddy-assessment\venv\Lib\site-packages\pip/_vendor/requests/__init__.pycheck_compatibilityr   3   s0   %++C0Oug%%% ?q s# *E%e*c%j#e*%EA::z{{ -33C8!<e!%j#e*c%jeU51=I=====	#8>>sCBQGe!%j#e*c%jeU51=I===== 	    c                      [        [        [        U R                  " S5      5      5      n U / SQ:  a-  SR                  U 5      n[        R                  " U[        5        g g ! [         a     g f = f)Nr   )r   r   r   z4Old version of cryptography ({}) may cause slowdown.)	listmapr   r   
ValueErrorformatwarningswarnr   )cryptography_versionwarnings     r   _check_cryptographyr%   S   sl    #C-A-G-G-L$MN i'HOO 
 	g89	 (  s   )A! !
A.-A.zWurllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported version!)WINDOWSz3pip internals: don't import cryptography on WindowsHAS_SNIF)	pyopenssl)__version__)DependencyWarningignore)NullHandler)packagesutils)

__author____author_email__	__build____cake____copyright____description____license__	__title____url__r)   )deletegetheadoptionsr   postputrequest)
ConnectionErrorConnectTimeoutFileModeWarning	HTTPErrorJSONDecodeErrorReadTimeoutRequestExceptionTimeoutTooManyRedirectsURLRequired)PreparedRequestRequestResponse)Sessionsession)codesdefaultT)r   )I__doc__r!   pip._vendorr   
exceptionsr   r   r   r   r%   r)   AssertionErrorr   r"   r    pip._internal.utils.compatr&   ImportErrorsslgetattrpip._vendor.urllib3.contribr(   inject_into_urllib3cryptographyr#   pip._vendor.urllib3.exceptionsr*   simplefilterloggingr,    r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   apir8   r9   r:   r;   r   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   modelsrI   rJ   rK   sessionsrL   rM   status_codesrN   	getLogger__name__
addHandler r   r   <module>rg      s  !F   1! @:_.H	 3OPP 3	5))9%%' 	E01
 =   h 1 2      G F F   7 6 &    (  & &{} 5 	  i >[ 	
# MM	62L
 	"(    		sF   E F 	E> 4F 6E;:E;>F
F 	F

F FF