Archive
guzzle
-
PSR-7, read twice, and what immutability costs you
I read the new PSR-7 HTTP message interfaces twice before they made sense. Notes on why withHeader() returns a new object, why getBody() is a stream, and why wrapping Symfony’s mutable request is awkward.