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
35
36
37
38
39
40
41
42
43
44
45
46
Ë
¸^i¾ã óø—ddlZddlmZmZmZmZddlmZmZddl    m
Z
m Z ddl m Z ddlmZddlmZd    Zerdd
lmZed «Zd e d edeee ffd„Zdedefd„Zddde dœdedededee
def
d„Zdddefd„Zy)éN)Ú TYPE_CHECKINGÚTupleÚTypeÚTypeVaré)ÚHandlerÚ
Middleware)ÚHTTPMoveÚHTTPPermanentRedirect)ÚRequest)ÚStreamResponse)Ú SystemRoute)Ú
middlewareÚnormalize_path_middleware)Ú ApplicationÚ_FuncÚrequestÚpathÚreturncƒóÂK—|j|¬«}|jjj|«ƒd{–—†}||_|j
€d|fSd|fS7Œ­w)N)Úrel_urlTF)ÚcloneÚappÚrouterÚresolveÚ _match_infoÚhttp_exception)rrÚ alt_requestÚ
match_infos    õjH:\项目\archive\测试组\脚本\Change_password\venv_build\Lib\site-packages\aiohttp/web_middlewares.pyÚ_check_request_resolvesr!saèø€Ø—-‘-¨-Ó-€Kà—{‘{×)Ñ)×1Ñ1°+Ó>×>€JØ(€KÔà× Ñ Ð(ؐ[Ð Ð à 'ˆ>Ðð ?ús‚;A½A¾ AÚfcó—d|_|S)Nr)Ú__middleware_version__)r"s r rr!s€Ø €AÔØ €HóTF)Ú append_slashÚ remove_slashÚ merge_slashesÚredirect_classr&r'r(r)cóv‡‡‡‡—‰xr‰ }|sJd«‚tdtdtdtfˆˆˆˆfd„ «}|S)a€Factory for producing a middleware that normalizes the path of a request.
 
    Normalizing means:
        - Add or remove a trailing slash to the path.
        - Double slashes are replaced by one.
 
    The middleware returns as soon as it finds a path that resolves
    correctly. The order if both merge and append/remove are enabled is
        1) merge slashes
        2) append/remove slash
        3) both merge slashes and append/remove slash.
    If the path resolves with at least one of those conditions, it will
    redirect to the new path.
 
    Only one of `append_slash` and `remove_slash` can be enabled. If both
    are `True` the factory will raise an assertion error
 
    If `append_slash` is `True` the middleware will append a slash when
    needed. If a resource is defined with trailing slash and the request
    comes without it, it will append it automatically.
 
    If `remove_slash` is `True`, `append_slash` must be `False`. When enabled
    the middleware will remove trailing slashes and redirect if the resource
    is defined
 
    If merge_slashes is True, merge multiple consecutive slashes in the
    path into one.
    z#Cannot both remove and append slashrÚhandlerrc“óh•K—t|jjt«rug}d|jvr%|jj dd«\}}d|z}nd}|j}‰r&|j tjdd|««‰r/|jjd«s|j |dz«‰
r/|jjd«r|j |dd«‰r+‰r)|j tjdd|dz««‰r-‰
r+tjdd|«}|j |dd«|D]G}tjdd|«}t||«ƒd{–—†\}}|sŒ4‰    |j|z«‚||«ƒd{–—†S7Œ07Œ­w)Nú?rÚz//+ú/éÿÿÿÿz^//+) Ú
isinstancerÚrouterÚraw_pathÚsplitÚappendÚreÚsubrÚendswithr!) rr+Úpaths_to_checkrÚqueryÚmerged_slashesÚresolvesr&r(r)r's        €€€€r Úimplz'normalize_path_middleware.<locals>.implLsøèø€ä g×(Ñ(×.Ñ.´ Õ <؈Nؐg×&Ñ&Ñ&Ø%×.Ñ.×4Ñ4°S¸!Ó<‘ eؘe™ ‘àØ×'Ñ'áØ×%Ñ%¤b§f¡f¨U°C¸Ó&>Ô?Ù G§L¡L×$9Ñ$9¸#Ô$>Ø×%Ñ% d¨S¡jÔ1Ù § ¡ × 5Ñ 5°cÔ :Ø×%Ñ% d¨3¨B iÔ0Ù¡Ø×%Ñ%¤b§f¡f¨U°C¸À¹Ó&DÔEÙ¡Ü!#§¡¨¨s°DÓ!9Ø×%Ñ% n°S°bÐ&9Ô:à&ò CÜ—v‘v˜f c¨4Ó0Ü*AÀ'È4Ó*P×$PÑ!˜'ÚÙ(¨×)9Ñ)9¸EÑ)AÓBÐBð     Cñ ˜WÓ%×%Ð%ð    %Qøð&ús*ƒE:F2Å=F.Å>    F2Æ!F2Æ)F0Æ*F2Æ0F2©rr rr )r&r'r(r)Úcorrect_configurationr=s````  r rr&sQû€ðF".Ò!>°,Ð?ÐÙ  ÐGÐ"GÓGÐ  äð&œGð&¬gð&¼.÷&óð&ð< €Kr%rrcóJ‡—tdtdtdtfˆfd„ «}|S)Nrr+rc“ó–•K—|j}|j}‰|_    ||«ƒd{–—†||_S7Œ #||_wxYw­w)N)rÚ current_app)rr+rÚprevrs    €r r=z&_fix_request_current_app.<locals>.implosKøèø€à×'Ñ'ˆ
Ø×%Ñ%ˆØ!$ˆ
Ôð    *Ù  Ó)×)à%)ˆJÕ "ð*ùà%)ˆJÕ "üs%ƒ A    ¤ =¯;°=³A    »=½    AÁA    r>)rr=s` r Ú_fix_request_current_apprDns1ø€Üð*œGð*¬gð*¼.ô*óð*ð €Kr%)r6ÚtypingrrrrÚtypedefsrr    Úweb_exceptionsr
r Ú web_requestr Ú web_responser Úweb_urldispatcherrÚ__all__Úweb_apprrÚstrÚboolr!rrrD©r%r ú<module>rPsÍðÛ    ß6Ó6ç)ß;Ý Ý(Ý*ð €ñ
Ý$áÓ€ð    ¨7ð    ¸#ð    À%ÈÈgÈ ÑBVó    ð %ð ˜Eó ðØØØ%:ò EàðEððEðð    Eð
˜‘Nð Eð ó EðP  -ð °Jô r%