On Wednesday, October 31, 2018 5:01:25 AM CDT Lcfvs wrote:
> Hi all,
>
> I just sent a proposal to add an interface to describe a late stream, which
> doesn't requires an already opened resource.
>
> For the proposal, see
https://github.com/php-fig/http-message/pull/82
>
> As said by Jean85:
>
> This is a completely non-trivial change to the spec, and also not an
>
> > errata. I would say that you should push for this change opening a
> > discussion on the PHP-FIG mailing list...
>
> ... then I'm here. :D
>
> My motivation is about the
>
> - server limitations (max opened files)
> - performances in case of unused streams
> - the ability to get a stream of broken uploaded file
> - ...
>
> Indeed, it isn't an errata, I made it to avoid any breaking changes, it's
> why a new interface.
>
> What do you think about it?
This is a very non-trivial change, and thus out of scope for the spec. This
will never be part of PSR-7. It would require a new PSR to add it.
--Larry Garfield