2bi! S SK Jr S SKrS SKrS SKrSSKJr SS jrS r SSS .r
\
R \" S S
5 V s0 s H, n U S; d M \R U 5 SR U 5 _M. sn 5 S
rS r\r " S S\5 rgs sn f ) )absolute_importN )sixc X U ( a" [ R " U 5 S =( d U$ U$ )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)filenamedefaults ڌ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_vendor/urllib3/fields.pyguess_content_typer
s' ##H-a0;G;N c ^ [ T[ R 5 ( a TR S5 m[ U4S jS 5 5 ( d U < ST< S3n UR S5 U$ [ R ( a TR S5 m[ R R TS5 mU < ST< 3m[ R ( a TR S5 mT$ ! [ [ 4 a Nf = f)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