{% extends 'base_mt.html' %} {% load static %} {% load cut_bold %} {% load add_space %} {% load reducing_str %} {% load strip_len %} {% load local_ip_mt %} {% load i18n %} {% block leftbar %}
{% endblock %} {% block content %}| {% trans 'BT' context 'model_tuning' %} | {% trans 'Info' context 'model_tuning' %} | {% trans 'Act.' context 'model_tuning' %} | {% trans 'MZ details' context 'model_tuning' %} | |
|---|---|---|---|---|
|
{{ key.vhost }},
{% if key.method %}
{{ key.method }}
{% endif %}
{% if key.request_type %}
{% if key.request_type == 'ws' %}WebSocket
{% elif key.request_type == 'grpc' %}gRPC
{% elif key.request_type == 'generic' %}Generic
{% else %}{{ key.request_type }}
{% endif %}
{% endif %}
{{ key.request_id|reducing }}
|
{% if key.uri %}
{{ key.uri }}
{% endif %}
{% if key.args %}
{% if '[cutted]' in key.args %}
{{ key.args|cut_bold }}[cutted]
{% else %}
{{ key.args }}
{% endif %}
{% endif %}
{% if key.cookie %}
{% endif %}
{% if key.ua %}
{% if '[cutted]' in key.ua %}
{{ key.ua|cut_bold }}[cutted]
{% else %}
{{ key.ua }}
{% endif %}
{% endif %}
{% if key.body %}
{% if key.body_is_large %}
{% trans "Content is too large" %}
{% elif '[cutted]' in key.body %}
{% if key.body|cut_bold|count_lines > 15 %}
{% endif %}
{% if key.other_headers %}
{{ key.body|cut_bold|strip_lines_len:15|linebreaks }}
{% elif key.body|cut_bold|length > 1500 %}
{{ key.body|cut_bold|strip_len:1500|linebreaks }}
{% else %}
{{ key.body|cut_bold|linebreaks }}[cutted]
{% endif %}
{% elif key.body|count_lines > 15 %}
{{ key.body|strip_lines_len:15|linebreaks }}
{% elif key.body|length > 1500 %}
{{ key.body|strip_len:1500|linebreaks }}
{% else %}
{{ key.body|linebreaks }}
{% endif %}
{{ key.other_headers|add_space|linebreaksbr }}
{% endif %}
{% if key.referer %}
{{ key.referer }}
{% endif %}
|