{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block toolbar %} {% import _self as helper %} {% set request_handler %} {{ helper.set_handler(collector.controller) }} {% endset %} {% if collector.redirect %} {% set redirect_handler %} {{ helper.set_handler(collector.redirect.controller, collector.redirect.route, 'GET' != collector.redirect.method ? collector.redirect.method) }} {% endset %} {% endif %} {% if collector.forwardtoken %} {% set forward_profile = profile.childByToken(collector.forwardtoken) %} {% set forward_handler %} {{ helper.set_handler(forward_profile ? forward_profile.collector('request').controller : 'n/a') }} {% endset %} {% endif %} {% set request_status_code_color = (collector.statuscode >= 400) ? 'red' : (collector.statuscode >= 300) ? 'yellow' : 'green' %} {% set icon %}
{% if collector.route %} {% if collector.redirect %}{{ include('@WebProfiler/Icon/redirect.svg') }}{% endif %} {% if collector.forwardtoken %}{{ include('@WebProfiler/Icon/forward.svg') }}{% endif %} {% endif %} {% endset %} {% set text %} {% if redirect_handler is defined -%} {% endif %} {% if forward_handler is defined %} {% endif %} {% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url }) }} {% endblock %} {% block menu %} {{ include('@WebProfiler/Icon/request.svg') }} Request / Response {% endblock %} {% block panel %} {% import _self as helper %}No GET parameters
No POST parameters
No files were uploaded
No attributes
Request content not available (it was retrieved as a resource).
{{ prettyJson }}
{{ collector.content }}
No content
No flash messages were created.