⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
urllib3
/
__pycache__
/
View File Name :
request.cpython-310.pyc
o õ¬YhW ã @ s> d dl mZ ddlmZ d dlmZ dgZG dd„ deƒZdS )é )Úabsolute_importé )Úencode_multipart_formdata)Ú urlencodeÚRequestMethodsc @ sZ e Zd ZdZh d£Zddd„Z ddd„Zdd d „Zddd„Z dd d„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 C s |pi | _ d S ©N)Úheaders)Úselfr © r ú1/usr/lib/python3/dist-packages/urllib3/request.pyÚ__init__( s zRequestMethods.__init__Tc K s t dƒ‚)NzMClasses extending RequestMethods must implement their own ``urlopen`` method.)ÚNotImplementedError)r ÚmethodÚurlÚbodyr Úencode_multipartÚmultipart_boundaryÚkwr r r Úurlopen+ s ÿzRequestMethods.urlopenc K sN | ¡ }||d<