{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block toolbar %} {% if collector.requestCount %} {% set icon %} {{ include('@WebProfiler/Icon/http-client.svg') }} {% set status_color = '' %}
{% endset %} {% set text %} {% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status_color }) }} {% endif %} {% endblock %} {% block menu %} {{ include('@WebProfiler/Icon/http-client.svg') }} HTTP Client {% if collector.requestCount %} {{ collector.requestCount }} {% endif %} {% endblock %} {% block panel %}No HTTP requests were made.
No requests were made with the "{{ name }}" service.
{{ trace.method }} | {{ trace.url }} {% if trace.options is not empty %} {{ profiler_dump(trace.options, maxDepth=1) }} {% endif %} | {% if profiler_token and profiler_link %}Profile | {% endif %}
---|---|---|
{% if trace.http_code >= 500 %} {% set responseStatus = 'error' %} {% elseif trace.http_code >= 400 %} {% set responseStatus = 'warning' %} {% else %} {% set responseStatus = 'success' %} {% endif %} {{ trace.http_code }} | {{ profiler_dump(trace.info, maxDepth=1) }} | {% if profiler_token and profiler_link %}{{ profiler_token }} | {% endif %}