Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

Collect and let profiler show proxy request option #262

Open
rvanlaak opened this issue Feb 13, 2020 · 1 comment
Open

Collect and let profiler show proxy request option #262

rvanlaak opened this issue Feb 13, 2020 · 1 comment

Comments

@rvanlaak
Copy link
Contributor

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.

@csarrazi
Copy link
Owner

Great idea!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants