1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Ë
ê^i. ãóP—ddlmZddlmZddlmZmZddlm    Z    d    d„Z
d
d„Z d d„Z y) é)Ú annotationsN)Ú!MultipartInvariantViolationDefectÚStartBoundaryNotFoundDefecté)ÚHeaderParsingErrorcóʗ    |j«S#t$rYnwxYw    |jS#t$rYnwxYw    |jduS#t$r Yt    d«‚wxYw)zt
    Checks whether a given file-like object is closed.
 
    :param obj:
        The file-like object to check.
    Nz)Unable to determine whether fp is closed.)ÚisclosedÚAttributeErrorÚclosedÚfpÚ
ValueError)Úobjs õhH:\项目\archive\测试组\脚本\Change_password\venv_build\Lib\site-packages\urllib3/util/response.pyÚ is_fp_closedr    s{€ð ð|‰|‹~ÐøÜ ò Ù ð úð àz‰zÐøÜ ò Ù ð úð ðv‰v˜ˆ~ÐøÜ ò Ø ä
Ð@Ó
AÐAð ús)‚’    ¢ .®    :¹:¾ A Á     A"Á!A"cóf—t|tj«stdt    |«›d«‚d}|j «s(|j «}t|ttf«r|}|jDcgc]}t|ttf«s|‘Œ}}|s|r t||¬«‚ycc}w)a>
    Asserts whether all headers have been successfully parsed.
    Extracts encountered errors from the result of parsing headers.
 
    Only works on Python 3.
 
    :param http.client.HTTPMessage headers: Headers to verify.
 
    :raises urllib3.exceptions.HeaderParsingError:
        If parsing errors are found.
    zexpected httplib.Message, got ú.N)ÚdefectsÚ unparsed_data) Ú
isinstanceÚhttplibÚ HTTPMessageÚ    TypeErrorÚtypeÚ is_multipartÚ get_payloadÚbytesÚstrrrrr)ÚheadersrÚpayloadÚdefectrs     rÚassert_header_parsingr!(s¶€ô gœw×2Ñ2Ô 3ÜÐ8¼¸g»¸ÀqÐIÓJÐJà€Mð × Ñ Ô !Ø×%Ñ%Ó'ˆä g¤¤s˜|Ô ,Ø#ˆMð—o‘oöà ÜØ Ô0Ô2SÐTô
ò    ð€Gðñ‘-Ü ¨À ÔNÐNð ùòsÁ;B.có@—|j}|j«dk(S)zÐ
    Checks whether the request of a response has been a HEAD-request.
 
    :param http.client.HTTPResponse response:
        Response to check if the originating request
        used 'HEAD' as a method.
    ÚHEAD)Ú_methodÚupper)ÚresponseÚ
method_strs  rÚis_response_to_headr([s#€ð×!Ñ!€JØ × Ñ Ó  Ñ 'Ð'ó)rÚobjectÚreturnÚbool)rzhttplib.HTTPMessager+ÚNone)r&zhttplib.HTTPResponser+r,) Ú
__future__rÚ http.clientÚclientrÚ email.errorsrrÚ
exceptionsrrr!r(©r)rú<module>r4s#ðÝ"åßWå+óBó>0Oôf
(r)