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
{{ message }}
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.
All of the http client message factories that create requests turn bodies into Psr StreamInterface objects if they aren't one already. The string type hint on the this API call forces the dev to read the entire (potentially large) archive into memory as a string before calling the putContainerArchive() method, only for the message factories to turn it into a stream anyway. In 1.24, a string, file resource or StreamInterface object could be passed instead of a string.
The text was updated successfully, but these errors were encountered:
With the change in moby/moby#39248 applied to the spec file when generating the PHP code, the result is as expected.
@joelwurtz Is there any chance that this change is backported to docker-php-api? It looks like you currently have no time to maintain docker-php-api... maybe it would make sense to have one (or even more) additional maintainer. WDYT?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
All of the http client message factories that create requests turn bodies into Psr StreamInterface objects if they aren't one already. The string type hint on the this API call forces the dev to read the entire (potentially large) archive into memory as a string before calling the putContainerArchive() method, only for the message factories to turn it into a stream anyway. In 1.24, a string, file resource or StreamInterface object could be passed instead of a string.
The text was updated successfully, but these errors were encountered: