Hey Woody,

I think the docblock was intended to read:
>
> > The resource MUST be readable and may be writable.
>

Yep; it appears to be so by reading the original docblock, before splitting
the polymorphic method:
https://github.com/http-interop/http-factory/pull/16


> However, even if that was the case, how would it be enforced? I don't

know of a way to check if a resource is readable.
>

I guess with stream_get_meta_data ? That's an implementation detail, though.


> This may require an errata to PSR-17.
>

Yup.

-- 
You received this message because you are subscribed to the Google Groups "PHP 
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/CAFojS1tZaex-ArhUGKPhOJGfYJOF_8xGj0ReuHYCG-etgB3G9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to