|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/requests/packages/urllib3/ |
Upload File : |
�
�2{Yc @ s� d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d l
m Z e j d � d Z
d
� Z d � Z d � Z d d
� Z d S( i����N( t uuid4( t BytesIOi ( t six( t b( t RequestFields utf-8i c C s
t � j S( sM
Our embarassingly-simple replacement for mimetools.choose_boundary.
( R t hex( ( ( s_ /opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/requests/packages/urllib3/filepost.pyt choose_boundary s c c sg t | t � r! t j | � } n t | � } x3 | D]+ } t | t � rQ | Vq4 t j | � Vq4 Wd S( s�
Iterate over fields.
Supports list of (k, v) tuples and dicts, and lists of
:class:`~urllib3.fields.RequestField`.
N( t
isinstancet dictR t iteritemst iterR t from_tuples( t fieldst it field( ( s_ /opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/requests/packages/urllib3/filepost.pyt iter_field_objects s
c C s4 t | t � r&