guzzle-log-middleware
guzzle-log-middleware copied to clipboard
StringHandler not compatible with kevinrob/guzzle-cache-middleware
The response bodies of cache hits are implemented as GuzzleHttp\Psr7\PumpStream, which is not seekable. This causes the following error:
StringHandler can not log request/response because the body is not seekable/readable.