JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrJFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr D,bi+] SrSSKrSSKrSSKrSSKrSSKJr SSK r /SQr /SQr Sq Sq"SS5rSS jrS S .S jrSS jrSSjrSSjrSSjrSrSr\"5 Sr\S:Xa\"5 gg!\a SrNdf=f!\a Sr Nmf=f)aGuess the MIME type of a file. This module defines two useful functions: guess_type(url, strict=True) -- guess the MIME type and encoding of a URL. guess_extension(type, strict=True) -- guess the extension for a given MIME type. It also contains the following, for tuning the behavior: Data: knownfiles -- list of files to parse inited -- flag set when init() has been called suffix_map -- dictionary mapping suffixes to suffixes encodings_map -- dictionary mapping suffixes to encodings types_map -- dictionary mapping suffixes to types Functions: init([files]) -- parse a list of files, default knownfiles (on Windows, the default values are taken from the registry) read_mime_types(file) -- parse one file, return a dictionary or None N) _mimetypes_read_windows_registry) knownfilesinited MimeTypes guess_typeguess_file_typeguess_all_extensionsguess_extensionadd_typeinitread_mime_types suffix_map encodings_map types_map common_types) z/etc/mime.typesz/etc/httpd/mime.typesz/etc/httpd/conf/mime.typesz/etc/apache/mime.typesz/etc/apache2/mime.types$/usr/local/etc/httpd/conf/mime.typesz"/usr/local/lib/netscape/mime.typesrz/usr/local/etc/mime.typesFc\rSrSrSrSSjrSSjrSSjrSS.SjrS r SS jr SS jr SS jr SS jr SSjr\S5rSrg)r@zMIME-types datastore. This datastore can handle information from mime.types-style files and supports basic determination of MIME type from a filename or URL, and can guess a reasonable extension given a MIME type. Tc[(d [5 [R5Ul[ R5Ul004Ul004Ul[R5Hup4URXCS5 M [R5Hup4URXCS5 M UHnURXR5 M gNTF)rr _encodings_map_defaultcopyr_suffix_map_defaultrr types_map_inv_types_map_defaultitemsr _common_types_defaultread)self filenamesstrictexttypenames 0/opt/alt/python313/lib64/python3.13/mimetypes.py__init__MimeTypes.__init__Hsv F388:-224b "X-335KS MM$T *60668KS MM$U +9D IId #cU(dgXRUU'URURU/5nX$;aURU5 gg)IAdd a mapping between a type and an extension. When the extension is already known, the new type will replace the old one. When the type is already known the extension will be added to the list of known extensions. If strict is true, information will be added to list of standard types, else to the list of non-standard types. N)rr setdefaultappend)rr#r"r!extss r%r MimeTypes.add_typeVsN &*vs#!!&)44T2> ? KK  r(c[R"U5n[RR U5nUR (a2[ UR 5S:aUR nURnOURXS9$US:XaNURS5nUS:agURSSU5nUS:aUSUnOUSUnS U;dS U;aS nUS4$URX[R5$) aGuess the type of a file which is either a URL or a path-like object. Return value is a tuple (type, encoding) where type is None if the type can't be guessed (no or unknown suffix) or a string of the form type/subtype, usable for a MIME Content-type header; and encoding is None for no encoding or the name of the program used to encode (e.g. compress or gzip). The mappings are table driven. Encoding suffixes are case sensitive; type suffixes are first tried case sensitive, then case insensitive. The suffixes .tgz, .taz and .tz (case sensitive!) are all mapped to '.tar.gz'. (This is table-driven too, using the dictionary suffix_map.) Optional `strict' argument when False adds a bunch of commonly found, but non-standard types. r!data,r)NN;N=/ text/plain) osfspathurllibparseurlparseschemelenpathrfind_guess_file_type posixpathsplitext)rurlr!pr=commasemir#s r%rMimeTypes.guess_typeis(iin LL ! !# & 88AHH )XXF&&C'''; ; V HHSMEqy!88CE*Dqy5Dz6E{d{co#: $$S)2D2DEEr(r1c[R"U5n[RRU5SnUR X[RR 5$)iGuess the type of a file based on its path. Similar to guess_type(), but takes file path istead of URL. r0)r8fsdecoder? splitdriverArC)rr?r!s r%rMimeTypes.guess_file_typesH {{4 ww!!$'*$$T2773C3CDDr(cU"U5upEUR5=o`R;a:U"X@RU-5upEUR5=o`R;aM:XPR;aURUnU"U5upEOSnUR5nURSnXX;aXU4$U(aSU4$URSnXX;aXU4$SU4$r)lowerrrr) rr?r!rCbaser" ext_lowerencodingrs r%rAMimeTypes._guess_file_typesTN IIK'yOO;  (B!BCID IIK'yOO; $$ $))#.H ID#HiikNN4(  >8+ + > !NN5)  >8+ +> !r(cUR5n[URSRU/55nU(d>URSRU/5HnXC;dM UR U5 M U$)aGuess the extensions for a file based on its MIME type. Return value is a list of strings giving the possible filename extensions, including the leading dot ('.'). The extension is not guaranteed to have been associated with any particular data stream, but would be mapped to the MIME type `type' by guess_type(). Optional `strict' argument when false adds a bunch of commonly found, but non-standard types. TF)rOlistrgetr,)rr#r! extensionsr"s r%r MimeTypes.guess_all_extensionssrzz|$,,T266tR@A ))%044T2>(%%c*?r(c>URX5nU(dgUS$)aGuess the extension for a file based on its MIME type. Return value is a string giving a filename extension, including the leading dot ('.'). The extension is not guaranteed to have been associated with any particular data stream, but would be mapped to the MIME type `type' by guess_type(). If no extension can be guessed for `type', None is returned. Optional `strict' argument when false adds a bunch of commonly found, but non-standard types. Nr)r )rr#r!rWs r%r MimeTypes.guess_extensions$..t< !}r(cn[USS9nURX25 SSS5 g!,(df  g=f)z Read a single mime.types-format file, specified by pathname. If strict is true, information will be added to list of standard types, else to the list of non-standard types. utf-8rRN)openreadfp)rfilenamer!fps r%rMimeTypes.reads((W - KK #. - -s& 4c@UR5=n(aUR5n[[U55HnXESS:XdMXES2 O U(dM\USUSSpvUHnUR USU-U5 M UR5=n(aMgg)z Read a single mime.types-format file. If strict is true, information will be added to list of standard types, else to the list of non-standard types. r#Nr0.)readlinesplitranger>r ) rrar!linewordsir#suffixessuffs r%r_MimeTypes.readfpskkm#d#JJLE3u:&8A;#%b '"1XuQRy(  dC$J7!kkm#d##r(c^[(d [(dgTRnU(aU4Sjn[(a [U5 g[(aTRU5 gg)z Load the MIME types database from Windows registry. If strict is true, information will be added to list of standard types, else to the list of non-standard types. Nc(>TRXS5$)NT)r )r#r"rs r%1MimeTypes.read_windows_registry.. st$)Gr()r_winregr _read_windows_registry)rr!r s` r%read_windows_registryMimeTypes.read_windows_registrysK0/ == GH , + ,X 6 W  ' ' 1r(cSn[R"[RS5nU"U5Hn[R"X45nURS5(d SSS5 M<[R"US5upgU[R :wa SSS5 MtU"Xd5 SSS5 M SSS5 g!,(df  M=f![ a Mf=f!,(df  g=f)Nc3# Sn[R"X5nSU;aUv US- nM(![a gf=f7f)Nrr0)rsEnumKeyOSError)mimedbrkctypes r% enum_types4MimeTypes._read_windows_registry..enum_typessPA$#OOF6E5(# Qs>.> ;>;>rez Content Type)rsOpenKeyHKEY_CLASSES_ROOT startswith QueryValueExREG_SZr{)clsr r~hkcr subkeynamesubkeymimetypedatatypes r%rt MimeTypes._read_windows_registrys __W66 ;t(.   :f)44S99$;: .5-A-A"N.4*#w~~5$;:!6;:/< ;;:< ;sv C&C C$C,C&..CC$C&&C.C6C& C CC&C C#C&"C##C&& C4)rrrrN)TT)__name__ __module__ __qualname____firstlineno____doc__r&r rrrAr r rr_ru classmethodrt__static_attributes__rr(r%rr@sU $&.F`/3E",&$ $8(2,r(rTcN[c [5 [RX5$)aGuess the type of a file based on its URL. Return value is a tuple (type, encoding) where type is None if the type can't be guessed (no or unknown suffix) or a string of the form type/subtype, usable for a MIME Content-type header; and encoding is None for no encoding or the name of the program used to encode (e.g. compress or gzip). The mappings are table driven. Encoding suffixes are case sensitive; type suffixes are first tried case sensitive, then case insensitive. The suffixes .tgz, .taz and .tz (case sensitive!) are all mapped to ".tar.gz". (This is table-driven too, using the dictionary suffix_map). Optional `strict' argument when false adds a bunch of commonly found, but non-standard types. )_dbr r)rDr!s r%rr0s$ {  >># &&r(r1cJ[c [5 [RXS9$)rJr1)rr r)r?r!s r%rrGs"  {    t  33r(cN[c [5 [RX5$)aGuess the extensions for a file based on its MIME type. Return value is a list of strings giving the possible filename extensions, including the leading dot ('.'). The extension is not guaranteed to have been associated with any particular data stream, but would be mapped to the MIME type `type' by guess_type(). If no extension can be guessed for `type', None is returned. Optional `strict' argument when false adds a bunch of commonly found, but non-standard types. )rr r r#r!s r%r r Qs {   # #D 11r(cN[c [5 [RX5$)aGuess the extension for a file based on its MIME type. Return value is a string giving a filename extension, including the leading dot ('.'). The extension is not guaranteed to have been associated with any particular data stream, but would be mapped to the MIME type `type' by guess_type(). If no extension can be guessed for `type', None is returned. Optional `strict' argument when false adds a bunch of commonly found, but non-standard types. )rr r rs r%r r bs {    t ,,r(cP[c [5 [RXU5$)r*)rr r )r#r"r!s r%r r rs {  <<6 **r(cSqUb[c7[5nUR5 Uc[nO[[ U5-nO[nUH:n[ RRU5(dM)URU5 M< URq URq URSq URSq Uqgr)rrrrurrUr8r?isfilerrrrr)filesdbfiles r%r r sF } [   " =Ee,E  77>>$   GGDM$$MJ T"I<<&L Cr(c[USS9nU [5nURUS5 URSsSSS5 $![a gf=f!,(df  g=f)Nr\r]T)r^r{rr_r)rfrs r%r r sZ  ( [ !T||D!   s A+A AA A!c 4SSSSSSS.=qqSSSS S S .=qq0S S _SS _SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_S S_S!S_S"S_S#S$_0S%S&_S'S(_S)S*_S+S*_S,S*_S-S._S/S0_S1S0_S2S3_S4S3_S5S6_S7S6_S8S6_S9S6_S:S6_S;S<_S=S>_E0S?S@_SASB_SCSD_SESF_SGSH_SISJ_SKSL_SMSN_SOSP_SQSP_SRSS_STSS_SUSV_SWSX_SYSX_SZS[_S\S]_E0S^S__S`Sa_SbSc_SdSe_SfSg_ShSi_SjSk_SlSk_SmSn_SoSn_SpSn_SqSr_SsSt_SuSv_SwSx_SySz_S{S|_E0S}S|_S~S|_SS|_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_E0SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_E0SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_E0SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_E0SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_GSGS_GSGS_GSGS_GSGS_EGSGS0E=qqGS GS GS GS GS GS GS GS GS.=qqg(Nz.svg.gzz.tar.gzz.tar.bz2z.tar.xz)z.svgzz.tgzz.tazz.tzz.tbz2z.txzgzipcompressbzip2xzbr)z.gzz.Zz.bz2z.xzz.brz.jsztext/javascriptz.mjsz.jsonzapplication/jsonz .webmanifestzapplication/manifest+jsonz.doczapplication/mswordz.dotz.wizz.nqzapplication/n-quadsz.ntzapplication/n-triplesz.binzapplication/octet-streamz.az.dllz.exez.oz.objz.soz.odazapplication/odaz.pdfzapplication/pdfz.p7czapplication/pkcs7-mimez.pszapplication/postscriptz.aiz.epsz.trigzapplication/trigz.m3uzapplication/vnd.apple.mpegurlz.m3u8z.xlszapplication/vnd.ms-excelz.xlbz.pptzapplication/vnd.ms-powerpointz.potz.ppaz.ppsz.pwzz.wasmzapplication/wasmz.bcpiozapplication/x-bcpioz.cpiozapplication/x-cpioz.cshzapplication/x-cshz.dvizapplication/x-dviz.gtarzapplication/x-gtarz.hdfzapplication/x-hdfz.h5zapplication/x-hdf5z.latexzapplication/x-latexz.mifzapplication/x-mifz.cdfzapplication/x-netcdfz.ncz.p12zapplication/x-pkcs12z.pfxz.ramzapplication/x-pn-realaudioz.pyczapplication/x-python-codez.pyoz.shzapplication/x-shz.sharzapplication/x-sharz.swfzapplication/x-shockwave-flashz.sv4cpiozapplication/x-sv4cpioz.sv4crczapplication/x-sv4crcz.tarzapplication/x-tarz.tclzapplication/x-tclz.texzapplication/x-texz.texizapplication/x-texinfoz.texinfoz.roffzapplication/x-troffz.tz.trz.manzapplication/x-troff-manz.mezapplication/x-troff-mez.mszapplication/x-troff-msz.ustarzapplication/x-ustarz.srczapplication/x-wais-sourcez.xslzapplication/xmlz.rdfz.wsdlz.xpdlz.zipzapplication/zipz.3gpz audio/3gppz.3gppz.3g2z audio/3gpp2z.3gpp2z.aacz audio/aacz.adtsz.loasz.assz.auz audio/basicz.sndz.mp3z audio/mpegz.mp2z.opusz audio/opusz.aifz audio/x-aiffz.aifcz.aiffz.razaudio/x-pn-realaudioz.wavz audio/x-wavz.avifz image/avifz.bmpz image/bmpz.gifz image/gifz.iefz image/ief.jpgz image/jpegz.jpez.jpegz.heicz image/heicz.heifz image/heifz.pngz image/pngz.svgz image/svg+xmlz.tiffz image/tiffz.tifz.icozimage/vnd.microsoft.iconz.webpz image/webpz.raszimage/x-cmu-rasterz.pnmzimage/x-portable-anymapz.pbmzimage/x-portable-bitmapz.pgmzimage/x-portable-graymapz.ppmzimage/x-portable-pixmapz.rgbz image/x-rgbz.xbmzimage/x-xbitmapz.xpmzimage/x-xpixmapz.xwdzimage/x-xwindowdumpz.emlzmessage/rfc822z.mhtz.mhtmlz.nwsz.cssztext/cssz.csvztext/csvz.htmlz text/htmlz.htmz.mdz text/markdownz .markdownz.n3ztext/n3z.txtr7z.batz.cz.hz.kshz.plz.srtz.rtxz text/richtext.rtfztext/rtfz.tsvztext/tab-separated-valuesz.vttztext/vttz.pyz text/x-pythonz.rstz text/x-rstz.etxz text/x-setextz.sgmz text/x-sgmlz.sgmlz.vcfz text/x-vcardz.xmlztext/xmlz.mp4z video/mp4z.mpegz video/mpegz.m1vz.mpaz.mpez.mpgz.movzvideo/quicktimez.qtz.webmz video/webmz.avizvideo/x-msvideoz.moviezvideo/x-sgi-moviezapplication/rtfz audio/midiz image/jpgz image/pictztext/xul)rz.midiz.midrz.pictz.pctz.picz.xul)rrrrrrrrrr(r%_default_mime_typesrs  (  J$ .  M*[&  %[& %[&  &[&  3 [& ( [& ( [&  ([&  )[&  +[&  .[&  .[&  .[&  .[&  .[&  .[& .![& " %#[& $ %%[& & ,'[& ( ,)[& * ,+[& , ,-[& . &/[& 0 31[& 2 33[& 4 .5[& 6 .7[& 8 39[& : 3;[& < 3=[& > 3?[& @ 3A[& B &C[& D )E[& F (G[& H 'I[& J 'K[& L (M[& N 'O[& P (Q[& R )S[& T 'U[& V *W[& X *Y[& Z *[[& \ *][& ^ 0_[& ` /a[& b /c[& d &e[& f (g[& h 3i[& j +k[& l *m[& n 'o[& p 'q[& r 's[& t +u[& v +w[& x )y[& z ){[& | )}[& ~ -[& @ ,A[& B ,C[& D )E[& F /G[& H %I[& J %K[& L %M[& N %O[& P %Q[& R LS[& T LU[& V MW[& X MY[& Z K[[& \ K][& ^ K_[& ` Ka[& b Mc[& d Me[& f Lg[& h Li[& j Lk[& l Nm[& n No[& p Nq[& r *s[& t Mu[& v Lw[& x Ky[& z K{[& | K}[& ~ L[& @ LA[& B LC[& D LE[& F LG[& H KI[& J OK[& L LM[& N LO[& P .Q[& R LS[& T (U[& V -W[& X -Y[& Z .[[& \ -][& ^ M_[& ` %a[& b %c[& d )e[& f $g[& h $i[& j $k[& l $m[& n Jo[& p Jq[& r Ks[& t Ku[& v Ow[& x _y[& z I{[& | L}[& ~ L[& @ LA[& B LC[& D LE[& F LG[& H LI[& J OK[& L JM[& N /O[& P JQ[& R OS[& T LU[& V OW[& X MY[& Z M[[& \ N][& ^ J_[& ` Ka[& b Lc[& d Le[& f Lg[& h Li[& j Lk[& l %m[& n %o[& p Lq[& r %s[& t 'u[& [ I"D# ,  L(r(c^ SSKnSm S U 4SjjnUR[RSSS/SQ5up#SnSnWH)upxUS;a U"S5 MUS;aSnMUS ;dM'SnM+ WHgn U(a-[ X5n U (d[ S U 5 M*[ U 5 M7[ X5upU (d[ S U 5 MY[ S U S U 5 Mi g!URanU"SU5 SnANSnAff=f)Nra4Usage: mimetypes.py [options] type Options: --help / -h -- print this message and exit --lenient / -l -- additionally search of some common, but non-standard types. --extension / -e -- guess extension instead of type More than one type argument may be given. cl>[T5 U(a [U5 [R"U5 gN)printsysexit)codemsgUSAGEs r%usage_main..usages e c  r(r0hle)helplenient extension)z-hz--help)z-lz --lenient)z-ez --extensionz I don't know anything about typeztype:z encoding:)r)getoptrargverrorr rr) rroptsargsrr!roptarggtypeguessrRrs @r%_mainrxs E ]]388AB<#CE  FI " " !H ' 'F ) )I  #E2E% BEJ,(7OE% BEJ X> << a s(CC=* C88C=__main__rr)rr8rrB urllib.parser:_winapir ImportErrorwinregrs__all__rrrrrrr r r r r rrrrr(r%rs2 ,8     nn`'.%)42"- +" 8"H V+?\ z GK,'+$, Gs"A4B4A?>A?B  B