httpware 0.6.0__tar.gz → 0.7.0__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.
- {httpware-0.6.0 → httpware-0.7.0}/PKG-INFO +3 -1
- {httpware-0.6.0 → httpware-0.7.0}/README.md +2 -0
- {httpware-0.6.0 → httpware-0.7.0}/pyproject.toml +1 -1
- {httpware-0.6.0 → httpware-0.7.0}/src/httpware/__init__.py +0 -0
- {httpware-0.6.0 → httpware-0.7.0}/src/httpware/_internal/__init__.py +0 -0
- {httpware-0.6.0 → httpware-0.7.0}/src/httpware/_internal/import_checker.py +0 -0
- {httpware-0.6.0 → httpware-0.7.0}/src/httpware/_internal/observability.py +0 -0
- {httpware-0.6.0 → httpware-0.7.0}/src/httpware/client.py +0 -0
- {httpware-0.6.0 → httpware-0.7.0}/src/httpware/decoders/__init__.py +0 -0
- {httpware-0.6.0 → httpware-0.7.0}/src/httpware/decoders/msgspec.py +0 -0
- {httpware-0.6.0 → httpware-0.7.0}/src/httpware/decoders/pydantic.py +0 -0
- {httpware-0.6.0 → httpware-0.7.0}/src/httpware/errors.py +0 -0
- {httpware-0.6.0 → httpware-0.7.0}/src/httpware/middleware/__init__.py +0 -0
- {httpware-0.6.0 → httpware-0.7.0}/src/httpware/middleware/chain.py +0 -0
- {httpware-0.6.0 → httpware-0.7.0}/src/httpware/middleware/resilience/__init__.py +0 -0
- {httpware-0.6.0 → httpware-0.7.0}/src/httpware/middleware/resilience/_backoff.py +0 -0
- {httpware-0.6.0 → httpware-0.7.0}/src/httpware/middleware/resilience/budget.py +0 -0
- {httpware-0.6.0 → httpware-0.7.0}/src/httpware/middleware/resilience/bulkhead.py +0 -0
- {httpware-0.6.0 → httpware-0.7.0}/src/httpware/middleware/resilience/retry.py +0 -0
- {httpware-0.6.0 → httpware-0.7.0}/src/httpware/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: httpware
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: Resilience-first async HTTP client framework for Python
|
|
5
5
|
Keywords: http,async,client,resilience,retry,circuit-breaker,middleware,httpx,pydantic
|
|
6
6
|
Author: Artur Shiriev
|
|
@@ -91,6 +91,8 @@ async def main() -> None:
|
|
|
91
91
|
user = await client.get("/users/1", response_model=User)
|
|
92
92
|
```
|
|
93
93
|
|
|
94
|
+
Need a custom middleware (auth, tracing, request-ID propagation, etc.)? See the [Middleware guide](docs/middleware.md).
|
|
95
|
+
|
|
94
96
|
### Streaming responses
|
|
95
97
|
|
|
96
98
|
For large responses or server-sent events, stream the body chunk-by-chunk. `stream()` is an async context manager:
|
|
@@ -61,6 +61,8 @@ async def main() -> None:
|
|
|
61
61
|
user = await client.get("/users/1", response_model=User)
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
+
Need a custom middleware (auth, tracing, request-ID propagation, etc.)? See the [Middleware guide](docs/middleware.md).
|
|
65
|
+
|
|
64
66
|
### Streaming responses
|
|
65
67
|
|
|
66
68
|
For large responses or server-sent events, stream the body chunk-by-chunk. `stream()` is an async context manager:
|
|
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
|
|
File without changes
|
|
File without changes
|