CsaGuzzleBundle icon indicating copy to clipboard operation
CsaGuzzleBundle copied to clipboard

Collect and let profiler show `proxy` request option

Open rvanlaak opened this issue 4 years ago • 1 comments

Guzzle allows configuring proxy as option while doing a request.

What

  • let \Csa\GuzzleHttp\Middleware\History\History::mergeInfo middleware also collect options
  • let \Csa\Bundle\GuzzleBundle\DataCollector\InternalGuzzleCollector::doCollect store some options (start with proxy?) to the data collection
  • let vendor/csa/guzzle-bundle/src/Resources/views/Calls/list.html.twig show the collected requested options

Why

Showing this to the developer improves debugging capabilities. Without showing request options valuable information gets lost.

There are more Guzzle request options that might are useful to show.

rvanlaak avatar Feb 13 '20 12:02 rvanlaak

Great idea!

csarrazi avatar Feb 21 '20 10:02 csarrazi