geventhttpclient 2.3.0__tar.gz → 2.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {geventhttpclient-2.3.0/geventhttpclient.egg-info → geventhttpclient-2.3.1}/PKG-INFO +1 -1
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/geventhttpclient/__init__.py +1 -1
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/geventhttpclient/useragent.py +12 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1/geventhttpclient.egg-info}/PKG-INFO +1 -1
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/pyproject.toml +1 -1
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/LICENSE-MIT +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/MANIFEST.in +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/README.md +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/ext/Python_compat.h +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/ext/_parser.c +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/geventhttpclient/api.py +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/geventhttpclient/client.py +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/geventhttpclient/connectionpool.py +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/geventhttpclient/header.py +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/geventhttpclient/httplib.py +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/geventhttpclient/httplib2.py +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/geventhttpclient/requests.py +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/geventhttpclient/response.py +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/geventhttpclient/url.py +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/geventhttpclient.egg-info/SOURCES.txt +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/geventhttpclient.egg-info/dependency_links.txt +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/geventhttpclient.egg-info/requires.txt +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/geventhttpclient.egg-info/top_level.txt +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/llhttp/LICENSE-MIT +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/llhttp/include/llhttp.h +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/llhttp/src/api.c +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/llhttp/src/http.c +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/llhttp/src/llhttp.c +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/setup.cfg +0 -0
- {geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# package
|
|
2
2
|
|
|
3
|
-
__version__ = "2.3.
|
|
3
|
+
__version__ = "2.3.1" # dont forget to update version in pyproject.toml as well
|
|
4
4
|
|
|
5
5
|
from geventhttpclient.api import delete, get, head, options, patch, post, put, request
|
|
6
6
|
from geventhttpclient.client import HTTPClient
|
|
@@ -534,6 +534,18 @@ class UserAgent:
|
|
|
534
534
|
self._handle_retries_exceeded(url, last_error=e)
|
|
535
535
|
return resp
|
|
536
536
|
|
|
537
|
+
def _make_request(self, url, method="GET", headers=None, payload=None, params=None, files=None):
|
|
538
|
+
"""Backwards compatibility for locust."""
|
|
539
|
+
return _make_request(
|
|
540
|
+
url,
|
|
541
|
+
method=method,
|
|
542
|
+
headers=headers,
|
|
543
|
+
payload=payload,
|
|
544
|
+
params=params,
|
|
545
|
+
files=files,
|
|
546
|
+
request_type=self.request_type,
|
|
547
|
+
)
|
|
548
|
+
|
|
537
549
|
|
|
538
550
|
def _make_request(
|
|
539
551
|
url, method, headers, payload=None, params=None, files=None, request_type=CompatRequest
|
|
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
|
|
|
5
5
|
|
|
6
6
|
[project]
|
|
7
7
|
name = "geventhttpclient"
|
|
8
|
-
version = "2.3.
|
|
8
|
+
version = "2.3.1" # dont forget to update version __init__.py as well
|
|
9
9
|
description = "HTTP client library for gevent"
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
requires-python = ">=3.9"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{geventhttpclient-2.3.0 → geventhttpclient-2.3.1}/geventhttpclient.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|