/opt/imunify360/venv/lib/python3.11/site-packages/urllib3/__pycache__
Edit: /opt/imunify360/venv/lib/python3.11/site-packages/urllib3/__pycache__/fields.cpython-311.pyc (11440B)
§
à](ÐdÛÐã óÌ — d dl mZ d dlZd dlZd dlZddlmZ dd„Zd„ Z dd d
œZ
e
d„ ed d¦ « D ¦ « ¦ « d
„ Z
d„ ZeZ G d„ de¦ « ZdS )é )Úabsolute_importNé )Úsixúapplication/octet-streamc óB — | rt j | ¦ « d p|S |S )zæ
Guess the "Content-Type" of a file.
:param filename:
The filename to guess the "Content-Type" of using :mod:`mimetypes`.
:param default:
If no "Content-Type" can be guessed, default to `default`.
r )Ú mimetypesÚ
guess_type)ÚfilenameÚdefaults ún/builddir/build/BUILD/imunify360-venv-2.6.3/opt/imunify360/venv/lib/python3.11/site-packages/urllib3/fields.pyÚguess_content_typer
s, € ð ð <ÝÔ# HÑ-Ô-¨aÔ0Ð;°GÐ;Ø€Nó c óÜ ‡— t ‰t j ¦ « r‰ d¦ « Št ˆfd„dD ¦ « ¦ « s7| ›d‰›d�} | d¦ « |S # t t f$ r Y nw xY wt j r‰ d¦ « Št j
‰d¦ « Š| ›d‰›�Št j r‰ d¦ « ЉS )a!
Helper function to format and quote a single header parameter using the
strategy defined in RFC 2231.
Particularly useful for header parameters which might contain
non-ASCII values, like file names. This follows
`RFC 2388 Section 4.4
`_.
:param name:
The name of the parameter, a string expected to be ASCII only.
:param value:
The value of the parameter, provided as ``bytes`` or `str``.
:ret:
An RFC-2231-formatted unicode string.
úutf-8c 3 ó •K — | ]}|‰v V — Œ d S ©N© )Ú.0ÚchÚvalues €r ú z.format_header_param_rfc2231..+ s' øè è € Ð/Ð/˜rˆr�Uˆ{Ð/Ð/Ð/Ð/Ð/Ð/r z"\
ú="ú"Úasciiz*=)Ú
isinstancer Úbinary_typeÚdecodeÚanyÚencodeÚUnicodeEncodeErrorÚUnicodeDecodeErrorÚPY2ÚemailÚutilsÚencode_rfc2231)Únamer Úresults ` r Úformat_header_param_rfc2231r( s
ø€ õ �%�œÑ)Ô)ð &Ø—’˜WÑ%Ô%ˆåÐ/Ð/Ð/Ð/ YÐ/Ñ/Ô/Ñ/Ô/ð Ø#˜t˜t U U UÐ+ˆð Ø�MŠM˜'Ñ"Ô"Ð"ð ˆMøõ #Õ$6Ð7ð ð ð ØˆDð øøøõ
„wð &Ø—’˜WÑ%Ô%ˆõ
ŒK×&Ò& u¨gÑ6Ô6€Eؘ˜˜e˜eÐ$€Eå
„wð &Ø—’˜WÑ%Ô%ˆà€Ls ÁA, Á,B Á?B z%22z\\)r ú\c óf — i | ].}|d v¯t j |¦ « d |¦ « “Œ/S ))é z%{:02X})r ÚunichrÚformat)r Úccs r ú
r/ J sE € ð ð ð àØ
�WÐÐõ Œ
�2‰Œ˜
×)Ò)¨"Ñ-Ô-àÐÐr é c óÄ ‡— ˆfd„}t j d d„ ‰ ¦ « D ¦ « ¦ « ¦ « }| || ¦ « }|S )Nc ó: •— ‰| d¦ « S )Nr )Úgroup)ÚmatchÚneedles_and_replacementss €r Úreplacerz#_replace_multiple..replacerS s ø€ Ø'¨¯ª°A©¬Ô7Ð7r ú|c ó6 — g | ]}t j |¦ « ‘ŒS r )ÚreÚescape)r Úneedles r ú
z%_replace_multiple..W s" € ÐSÐSÐS¨•2”9˜VÑ$Ô$ÐSÐSÐSr )r9 ÚcompileÚjoinÚkeysÚsub)r r5 r6 Úpatternr' s ` r Ú_replace_multiplerB R st ø€ ð8ð 8ð 8ð 8ð 8õ ŒjØ� Š ÐSÐSÐ3K×3PÒ3PÑ3RÔ3RÐSÑSÔSÑTÔTñô €Gð �[Š[˜ 5Ñ
)Ô
)€Fà€Mr c óš — t |t j ¦ « r| d¦ « }t |t
¦ « }| ›d|›d�S )a±
Helper function to format and quote a single header parameter using the
HTML5 strategy.
Particularly useful for header parameters which might contain
non-ASCII values, like file names. This follows the `HTML5 Working Draft
Section 4.10.22.7`_ and matches the behavior of curl and modern browsers.
.. _HTML5 Working Draft Section 4.10.22.7:
https://w3c.github.io/html/sec-forms.html#multipart-form-data
:param name:
The name of the parameter, a string expected to be ASCII only.
:param value:
The value of the parameter, provided as ``bytes`` or `str``.
:ret:
A unicode string, stripped of troublesome characters.
r r r )r r r r rB Ú_HTML5_REPLACEMENTS)r&