You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resp.close(force=False) is not safe: you should make sure that all response body has been read.
That can be done by yield from resp.release() call.
So let's change .close() to forcing close behavior. This simplifies response usage rules.
Appliying .close(force=False) should produce DeprecationWarning in next releases (say, until New Year). After that let's remove the parameter completely.
The text was updated successfully, but these errors were encountered:
resp.close(force=False)
is not safe: you should make sure that all response body has been read.That can be done by
yield from resp.release()
call.So let's change
.close()
to forcing close behavior. This simplifies response usage rules.Appliying
.close(force=False)
should produceDeprecationWarning
in next releases (say, until New Year). After that let's remove the parameter completely.The text was updated successfully, but these errors were encountered: