Repository URL to install this package:
Version:
0.1.1-1 ▾
|
odigos
/
etc
/
odigos-vmagent
/
instrumentations
/
python
/
urllib3
/
__pycache__
/
request.cpython-311.pyc
|
---|
§ ÞEqf# ã óÒ d dl mZ d dlZddlmZ ddlmZ ddlmZ dgZ G d de ¦ « Zej s2 G d d ej e j ¦ « Zeej e _ dS dS )é )Úabsolute_importNé )Úencode_multipart_formdata)Úsix)Ú urlencodeÚRequestMethodsc óR e Zd ZdZh d£Zd dZ ddZddZddZ dd Z dS ) r a· Convenience mixin for classes who implement a :meth:`urlopen` method, such as :class:`urllib3.HTTPConnectionPool` and :class:`urllib3.PoolManager`. Provides behavior for making common types of HTTP request methods and decides which type of request field encoding to use. Specifically, :meth:`.request_encode_url` is for sending requests whose fields are encoded in the URL (such as GET, HEAD, DELETE). :meth:`.request_encode_body` is for sending requests whose fields are encoded in the *body* of the request using multipart or www-form-urlencoded (such as for POST, PUT, PATCH). :meth:`.request` is for making any kind of request, it will look up the appropriate encoding format and use one of the above two methods to make the request. Initializer parameters: :param headers: Headers to include with all requests, unless other headers are given explicitly. > ÚGETÚHEADÚDELETEÚOPTIONSNc ó |pi | _ d S ©N)Úheaders)Úselfr s ú6/tmp/pip-target-asg8frr5/lib/python/urllib3/request.pyÚ__init__zRequestMethods.__init__+ s Ø} "ó Tc ó t d¦ « )NzMClasses extending RequestMethods must implement their own ``urlopen`` method.)ÚNotImplementedError)r ÚmethodÚurlÚbodyr Úencode_multipartÚmultipart_boundaryÚkws r ÚurlopenzRequestMethods.urlopen. s õ "ð ,ñ ô ð r c ó | ¦ « }||d<