Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Static Protected Member Functions | List of all members
pip._vendor.requests.models.RequestEncodingMixin Class Reference
Inheritance diagram for pip._vendor.requests.models.RequestEncodingMixin:
Inheritance graph
[legend]

Public Member Functions

 path_url (self)
 

Static Protected Member Functions

 _encode_params (data)
 
 _encode_files (files, data)
 

Member Function Documentation

◆ _encode_files()

pip._vendor.requests.models.RequestEncodingMixin._encode_files (   files,
  data 
)
staticprotected
Build the body for a multipart/form-data request.

Will successfully encode files when passed as a dict or a list of
tuples. Order is retained if data is a list of tuples but arbitrary
if parameters are supplied as a dict.
The tuples may be 2-tuples (filename, fileobj), 3-tuples (filename, fileobj, contentype)
or 4-tuples (filename, fileobj, contentype, custom_headers).

◆ _encode_params()

pip._vendor.requests.models.RequestEncodingMixin._encode_params (   data)
staticprotected
Encode parameters in a piece of data.

Will successfully encode parameters when passed as a dict or a list of
2-tuples. Order is retained if data is a list of 2-tuples but arbitrary
if parameters are supplied as a dict.

◆ path_url()

pip._vendor.requests.models.RequestEncodingMixin.path_url (   self)
Build the path URL to use.

The documentation for this class was generated from the following file: