Thanks for this Will, Which implementation have you tested this implementation in?
On Tue, Dec 31, 2024 at 4:13 PM <php-fig@googlegroups.com> wrote: > php-fig@googlegroups.com > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/php-fig/topics> > Google > Groups > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview> > [image: > Google Groups Logo] > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview> > Topic digest > View all topics > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/php-fig/topics> > > - PSR-7 "getContents" is NOT idempotent > <#m_8254399704496416955_group_thread_0> - 1 Update > > PSR-7 "getContents" is NOT idempotent > <http://groups.google.com/group/php-fig/t/a77dda1d240460c8?utm_source=digest&utm_medium=email> > William Entriken <w...@pacificmedicaltraining.com>: Dec 30 10:00AM -0800 > > The `getContents` function in PSR-7. Is not idempotent, calling changes > state. > > It is a dangerous function compared to its friendly name starting with > "get". > > It would be best to rename this with a more appropriate verb at the > beginning. But we are not considering backwards incompatible changes here. > > Instead, please recognize this break with best practice by updating > documentation to use loud uppercase letters to warn that this is not > idempotent. > Back to top <#m_8254399704496416955_digest_top> > You received this digest because you're subscribed to updates for this > group. You can change your settings on the group membership page > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/php-fig/join> > . > To unsubscribe from this group and stop receiving emails from it send an > email to php-fig+unsubscr...@googlegroups.com. > -- 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 php-fig+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/php-fig/CACB5p2tRCpTBhLZLprbXGuXWMLFLxrWvkk9fY7L6-Oz5BSQetg%40mail.gmail.com.