httprest 0.4.2__tar.gz → 0.4.3__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.
- {httprest-0.4.2 → httprest-0.4.3}/PKG-INFO +3 -4
- {httprest-0.4.2 → httprest-0.4.3}/httprest/http/urllib_client.py +1 -1
- {httprest-0.4.2 → httprest-0.4.3}/pyproject.toml +6 -6
- {httprest-0.4.2 → httprest-0.4.3}/LICENSE +0 -0
- {httprest-0.4.2 → httprest-0.4.3}/README.md +0 -0
- {httprest-0.4.2 → httprest-0.4.3}/httprest/__init__.py +0 -0
- {httprest-0.4.2 → httprest-0.4.3}/httprest/api.py +0 -0
- {httprest-0.4.2 → httprest-0.4.3}/httprest/http/__init__.py +0 -0
- {httprest-0.4.2 → httprest-0.4.3}/httprest/http/auth.py +0 -0
- {httprest-0.4.2 → httprest-0.4.3}/httprest/http/base.py +0 -0
- {httprest-0.4.2 → httprest-0.4.3}/httprest/http/cert.py +0 -0
- {httprest-0.4.2 → httprest-0.4.3}/httprest/http/errors.py +0 -0
- {httprest-0.4.2 → httprest-0.4.3}/httprest/http/fake_client.py +0 -0
- {httprest-0.4.2 → httprest-0.4.3}/httprest/http/requests_client.py +0 -0
- {httprest-0.4.2 → httprest-0.4.3}/httprest/http/response.py +0 -0
- {httprest-0.4.2 → httprest-0.4.3}/httprest/http/timeout.py +0 -0
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: httprest
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: A library for making simple REST-like HTTP requests
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
7
7
|
Author: Andrii Nechaiev
|
|
8
8
|
Author-email: andrewnech@gmail.com
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.11,<4.0
|
|
10
10
|
Classifier: Development Status :: 4 - Beta
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
12
|
Classifier: License :: OSI Approved :: MIT License
|
|
13
13
|
Classifier: Operating System :: POSIX :: Linux
|
|
14
14
|
Classifier: Programming Language :: Python
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
18
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
19
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
18
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
19
|
Classifier: Programming Language :: Python :: 3.14
|
|
22
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
23
22
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
24
23
|
Classifier: Topic :: Software Development :: Libraries
|
|
25
24
|
Classifier: Topic :: Utilities
|
|
@@ -33,7 +33,7 @@ class UrllibHTTPClient(HTTPClient):
|
|
|
33
33
|
data = urllib.parse.urlencode(data).encode() # type: ignore
|
|
34
34
|
headers["Content-Type"] = "application/x-www-form-urlencoded"
|
|
35
35
|
|
|
36
|
-
if json:
|
|
36
|
+
if json is not None:
|
|
37
37
|
headers["Content-Type"] = "application/json"
|
|
38
38
|
data = _jsonlib.dumps(json).encode()
|
|
39
39
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "httprest"
|
|
3
|
-
version = "0.4.
|
|
3
|
+
version = "0.4.3"
|
|
4
4
|
description = "A library for making simple REST-like HTTP requests"
|
|
5
5
|
authors = ["Andrii Nechaiev <andrewnech@gmail.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -26,19 +26,19 @@ classifiers=[
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
[tool.poetry.dependencies]
|
|
29
|
-
python = "^3.
|
|
29
|
+
python = "^3.11"
|
|
30
30
|
requests = {version = "^2", optional = true}
|
|
31
31
|
|
|
32
32
|
[tool.poetry.extras]
|
|
33
33
|
requests-client = ["requests"]
|
|
34
34
|
|
|
35
35
|
[tool.poetry.group.test.dependencies]
|
|
36
|
-
pytest = "^
|
|
37
|
-
pytest-cov = "^
|
|
38
|
-
responses = "^0.
|
|
36
|
+
pytest = "^9"
|
|
37
|
+
pytest-cov = "^7"
|
|
38
|
+
responses = "^0.26"
|
|
39
39
|
|
|
40
40
|
[tool.poetry.group.lint.dependencies]
|
|
41
|
-
black = {version = "^
|
|
41
|
+
black = {version = "^26", python = "3.11"}
|
|
42
42
|
pylint = {version = "^4", python = "3.11"}
|
|
43
43
|
flake8 = {version = "^7.1.1", python = "3.11"}
|
|
44
44
|
flake8-bugbear = {version = "^25", python = "3.11"}
|
|
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
|