+
    ®¾jƒ!  ã            	       ó"  € ^ RI Ht ^ RIt^ RIt^ RIt^RIHt RR ltR t	RRRR	/t
]
P                  ]! ^ ^ 4       U u/ uF-  p V R9  g   K  ]P                  V 4      R
P                  V 4      bK/  	  up 4       R tR t]t ! R R]4      tR# u up i )é    )Úabsolute_importN)Úsixc                ód   € V '       d(   \         P                  ! V 4      ^ ,          ;'       g    T# V# )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`.
)Ú	mimetypesÚ
guess_type)ÚfilenameÚdefaults   &&ÚY/home/ralf/ical-fahrzeuge/venv/lib/python3.14/site-packages/pip/_vendor/urllib3/fields.pyÚguess_content_typer   
   s*   € ÷ Ü×#Ò# HÓ-¨aÕ0×;Ð;°GÐ;Ø€Nó    c                óB  a€ \        S\        P                  4      '       d   SP                  R4      o\        ;QJ d    V3R lR 4       F  '       g   K   RM	  RM! V3R lR 4       4      '       g   V : RS: R2p VP                  R4       V# \        P                  '       d   SP                  R4      o\        P                  P                  SR4      oV : R	S: 2o\        P                  '       d   SP                  R4      oS#   \        \        3 d     LŒi ; i)
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 <https://tools.ietf.org/html/rfc2388#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   ó,   <"  € T F	  qS9   x € K  	  R # 5i©N© )Ú.0ÚchÚvalues   & €r
   Ú	<genexpr>Ú.format_header_param_rfc2231.<locals>.<genexpr>+   s   øé € Ð/¡Y˜r�UŽ{£Yùs   ƒz"\
TFú="Ú"Úasciiz*=)Ú
isinstancer   Úbinary_typeÚdecodeÚanyÚencodeÚUnicodeEncodeErrorÚUnicodeDecodeErrorÚPY2ÚemailÚutilsÚencode_rfc2231)Únamer   Úresults   &f r
   Úformat_header_param_rfc2231r'      sÖ   ø€ ô  �%œŸ™×)Ò)Ø—‘˜WÓ%ˆç‹3Ô/¡YÓ/�3�3Š3Ô/¡YÓ/×/Ò/Û#£UÐ+ˆð	Ø�M‰M˜'Ô"ð ˆMä
‡w‡w€wØ—‘˜WÓ%ˆô �K‰K×&Ñ& u¨gÓ6€EÛšeÐ$€Eä
‡w‡w€wØ—‘˜WÓ%ˆà€Løô! #Ô$6Ð7ô 	Ùð	ús   Á>D
 Ä
DÄDr   z%22Ú\z\\z%{:02X}c           
      óî   a€ V3R  lp\         P                  ! RP                  SP                  4        Uu. uF  p\         P                  ! V4      NK  	  up4      4      pVP                  W 4      pV# u upi )c                 ó4   <€ SV P                  ^ 4      ,          # )r   )Úgroup)ÚmatchÚneedles_and_replacementss   &€r
   ÚreplacerÚ#_replace_multiple.<locals>.replacerS   s   ø€ Ø'¨¯©°A«Õ7Ð7r   Ú|)ÚreÚcompileÚjoinÚkeysÚescapeÚsub)r   r-   r.   ÚneedleÚpatternr&   s   &f    r
   Ú_replace_multipler9   R   sc   ø€ õ8ô �jŠjØ�	‰	Ð3K×3PÑ3PÔ3RÓSÑ3R¨”2—9’9˜VÖ$Ñ3RÑSÓTó€Gð �[‰[˜Ó)€Fà€Mùò Ts   µA2c                ó˜   € \        V\        P                  4      '       d   VP                  R4      p\	        V\
        4      pV : RV: R2# )ay  
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   r9   Ú_HTML5_REPLACEMENTS)r%   r   s   &&r
   Úformat_header_param_html5r<   _   s;   € ô& �%œŸ™×)Ò)Ø—‘˜WÓ%ˆä˜eÔ%8Ó9€Eã›uÐ%Ð%r   c                   óf   a € ] tR t^~t o RtRR]3R lt]]3R l4       tR t	R t
R tR
R ltR	tV tR# )ÚRequestFieldaá  
A data container for request body parameters.

:param name:
    The name of this request field. Must be unicode.
:param data:
    The data/value body.
:param filename:
    An optional filename of the request field. Must be unicode.
:param headers:
    An optional dict-like object of headers to initially use for the field.
:param header_formatter:
    An optional callable that is used to encode and format the headers. By
    default, this is :func:`format_header_param_html5`.
Nc                ót   € Wn         W0n        W n        / V n        V'       d   \	        V4      V n        WPn        R # r   )Ú_nameÚ	_filenameÚdataÚheadersÚdictÚheader_formatter)Úselfr%   rB   r   rC   rE   s   &&&&&&r
   Ú__init__ÚRequestField.__init__�   s.   € ð Œ
Ø!ŒØŒ	ØˆŒßÜ ›=ˆDŒLØ 0Ör   c                óÂ   € \        V\        4      '       d'   \        V4      ^8X  d   Vw  rEpMVw  rE\        V4      pMRpRpTpV ! WWCR7      pVP	                  VR7       V# )aS  
A :class:`~urllib3.fields.RequestField` factory from old-style tuple parameters.

Supports constructing :class:`~urllib3.fields.RequestField` from
parameter of key/value strings AND key/filetuple. A filetuple is a
(filename, data, MIME type) tuple where the MIME type is optional.
For example::

    'foo': 'bar',
    'fakefile': ('foofile.txt', 'contents of foofile'),
    'realfile': ('barfile.txt', open('realfile').read()),
    'typedfile': ('bazfile.bin', open('bazfile').read(), 'image/jpeg'),
    'nonamefile': 'contents of nonamefile field',

Field names and filenames must be unicode.
N)r   rE   )Úcontent_type)r   ÚtupleÚlenr   Úmake_multipart)ÚclsÚ	fieldnamer   rE   r   rB   rJ   Úrequest_params   &&&&    r
   Úfrom_tuplesÚRequestField.from_tuplesŸ   sn   € ô$ �eœU×#Ò#Ü�5‹z˜QŒØ/4Ñ,�¡à!&‘�Ü1°(Ó;‘àˆHØˆLØˆDáØ hô
ˆð 	×$Ñ$°,Ð$Ô?àÐr   c                ó$   € V P                  W4      # )a  
Overridable helper function to format a single header parameter. By
default, this calls ``self.header_formatter``.

:param name:
    The name of the parameter, a string expected to be ASCII only.
:param value:
    The value of the parameter, provided as a unicode string.
)rE   )rF   r%   r   s   &&&r
   Ú_render_partÚRequestField._render_partÃ   s   € ð ×$Ñ$ TÓ1Ð1r   c                óÚ   € . pTp\        V\        4      '       d   VP                  4       pV F+  w  rEVf   K  VP                  V P	                  WE4      4       K-  	  RP                  V4      # )a  
Helper function to format and quote a single header.

Useful for single headers that are composed of multiple items. E.g.,
'Content-Disposition' fields.

:param header_parts:
    A sequence of (k, v) tuples or a :class:`dict` of (k, v) to format
    as `k1="v1"; k2="v2"; ...`.
ú; )r   rD   ÚitemsÚappendrT   r3   )rF   Úheader_partsÚpartsÚiterabler%   r   s   &&    r
   Ú_render_partsÚRequestField._render_partsÐ   sc   € ð ˆØˆÜ�l¤D×)Ò)Ø#×)Ñ)Ó+ˆHã#‰KˆDØÔ Ø—‘˜T×.Ñ.¨tÓ;Ö<ñ $ð �z‰z˜%Ó Ð r   c                ó˜  € . p. ROpV FP  pV P                   P                  VR4      '       g   K'  VP                  V: RV P                   V,          : 24       KR  	  V P                   P                  4        F/  w  rEWB9  g   K  V'       g   K  VP                  V: RV: 24       K1  	  VP                  R4       RP	                  V4      # )z-
Renders the headers for this request field.
Fz: z
)úContent-DispositionúContent-TypeúContent-Location)rC   ÚgetrY   rX   r3   )rF   ÚlinesÚ	sort_keysÚsort_keyÚheader_nameÚheader_values   &     r
   Úrender_headersÚRequestField.render_headersæ   sž   € ð ˆâOˆ	Û!ˆHØ�|‰|×Ñ ¨%×0Ô0Ø—‘«(°D·L±LÀ×4JÐKÖLñ "ð *.¯©×);Ñ);Ö)=Ñ%ˆKØÖ+ß‘<Ø—L‘L«kº<Ð!HÖIñ *>ð
 	�‰�WÔØ�|‰|˜EÓ"Ð"r   c                ó"  € T;'       g    RV P                   R&   V P                   R;;,          RP                  RV P                  RV P                  3RV P                  334      .4      ,          uu&   W P                   R&   W0P                   R&   R	# )
a<  
Makes this request field into a multipart request field.

This method overrides "Content-Disposition", "Content-Type" and
"Content-Location" headers to the request parameter.

:param content_type:
    The 'Content-Type' of the request body.
:param content_location:
    The 'Content-Location' of the request body.

z	form-datar`   rW   Ú r%   r   ra   rb   N)rC   r3   r]   r@   rA   )rF   Úcontent_dispositionrJ   Úcontent_locations   &&&&r
   rM   ÚRequestField.make_multipartù   s‡   € ð /B×.QÐ.QÀ\ˆ�‰Ð*Ñ+Ø�‰Ð*×+¨u¯z©zàØ×"Ñ"Ø˜tŸz™zÐ*¨[¸$¿.¹.Ð,IÐJóðó0
õ 	
Ó+ð (4�‰�^Ñ$Ø+;�‰Ð'Ó(r   )rA   r@   rB   rE   rC   )NNN)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r<   rG   ÚclassmethodrQ   rT   r]   ri   rM   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r
   r>   r>   ~   sK   ø‡ € ñð( ØØ2ô1ð  Ø<Uó !ó ð!òF2ò!ò,#÷&<ò <r   r>   )zapplication/octet-stream)é   )Ú
__future__r   Úemail.utilsr"   r   r1   Úpackagesr   r   r'   r;   ÚupdateÚrangeÚunichrÚformatr9   r<   Úformat_header_paramÚobjectr>   )Úccs   0r
   Ú<module>r„      s¯   ðÝ &ã Û Û 	å ôò'ðV ˆvàˆðÐ ð × Ñ ñ ˜˜hÔ'óá'ˆBØ�WÑô 	.ˆ�
‰
�2‹˜
×)Ñ)¨"Ó-Ò-Ù'ñôò
ò&ð8 0Ð ôT<�6ö T<ùòis   ½	BÁ%B