]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Add 'fork' to auto backend (#614) 0.9.3
authorTom Christie <tom@tomchristie.com>
Sat, 7 Dec 2019 09:07:33 +0000 (09:07 +0000)
committerGitHub <noreply@github.com>
Sat, 7 Dec 2019 09:07:33 +0000 (09:07 +0000)
* Add 'fork' to auto backend

* Version 0.9.3

CHANGELOG.md
httpx/__version__.py
httpx/concurrency/auto.py

index 5caa14ada8d9e323a6930096bf00a7006636e2f8..179aed16747e2a4db67bef30e9f51d3503ffa870 100644 (file)
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
 
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
 
+## 0.9.3 (December 7th, 2019)
+
+### Fixed
+
+- Fixed HTTP/2 with autodetection backend. (Pull #614)
+
 ## 0.9.2 (December 7th, 2019)
 
 * Released due to packaging build artifact.
index 64beab18501a53f5bb25e9ff4e055c9c18f7a100..2ab855719a4782bb3e4a6b5856281aead92c02e3 100644 (file)
@@ -1,3 +1,3 @@
 __title__ = "httpx"
 __description__ = "A next generation HTTP client, for Python 3."
-__version__ = "0.9.2"
+__version__ = "0.9.3"
index 3b57e5674dde029d01019ad3da115722f5865ae0..ed85806e7a3361062f2403e2eb1cae43388198e9 100644 (file)
@@ -51,3 +51,12 @@ class AutoBackend(ConcurrencyBackend):
 
     def create_event(self) -> BaseEvent:
         return self.backend.create_event()
+
+    async def fork(
+        self,
+        coroutine1: typing.Callable,
+        args1: typing.Sequence,
+        coroutine2: typing.Callable,
+        args2: typing.Sequence,
+    ) -> None:
+        return await self.backend.fork(coroutine1, args1, coroutine2, args2)