@@ -108,6 +108,7 @@ def _stream() -> typing.Iterator[bytes]:
108108 yield chunk
109109 finally :
110110 ctx .__exit__ (None , None , None )
111+
111112 return _stream ()
112113
113114 def post (
@@ -196,6 +197,7 @@ def _stream() -> typing.Iterator[bytes]:
196197 yield chunk
197198 finally :
198199 ctx .__exit__ (None , None , None )
200+
199201 return _stream ()
200202
201203 def put (
@@ -284,6 +286,7 @@ def _stream() -> typing.Iterator[bytes]:
284286 yield chunk
285287 finally :
286288 ctx .__exit__ (None , None , None )
289+
287290 return _stream ()
288291
289292 def delete (
@@ -363,6 +366,7 @@ def _stream() -> typing.Iterator[bytes]:
363366 yield chunk
364367 finally :
365368 ctx .__exit__ (None , None , None )
369+
366370 return _stream ()
367371
368372 def patch (
@@ -451,6 +455,7 @@ def _stream() -> typing.Iterator[bytes]:
451455 yield chunk
452456 finally :
453457 ctx .__exit__ (None , None , None )
458+
454459 return _stream ()
455460
456461
@@ -557,6 +562,7 @@ async def _stream() -> typing.AsyncIterator[bytes]:
557562 yield chunk
558563 finally :
559564 await ctx .__aexit__ (None , None , None )
565+
560566 return _stream ()
561567
562568 async def post (
@@ -653,6 +659,7 @@ async def _stream() -> typing.AsyncIterator[bytes]:
653659 yield chunk
654660 finally :
655661 await ctx .__aexit__ (None , None , None )
662+
656663 return _stream ()
657664
658665 async def put (
@@ -749,6 +756,7 @@ async def _stream() -> typing.AsyncIterator[bytes]:
749756 yield chunk
750757 finally :
751758 await ctx .__aexit__ (None , None , None )
759+
752760 return _stream ()
753761
754762 async def delete (
@@ -836,6 +844,7 @@ async def _stream() -> typing.AsyncIterator[bytes]:
836844 yield chunk
837845 finally :
838846 await ctx .__aexit__ (None , None , None )
847+
839848 return _stream ()
840849
841850 async def patch (
@@ -932,4 +941,5 @@ async def _stream() -> typing.AsyncIterator[bytes]:
932941 yield chunk
933942 finally :
934943 await ctx .__aexit__ (None , None , None )
944+
935945 return _stream ()
0 commit comments