{% macro format_response(r) %} {% set header_levels = r|header_levels %}
  • HTTP/{{ r.version }} {{ r.status_code_str }} {{ r.status_phrase }}
  • {% for hdr in r.headers.text %}
  • {{ hdr[0] }}: {{ hdr|header_present -}} {{- hdr[0]|header_description }}
  • {% endfor %} {%- endmacro %}
    {% for nonfinal_response in resource.nonfinal_responses %} {% endfor %} {% if resource.fetch_error %}

    {{ resource.fetch_error.desc }}

    {% endif %} {% if resource.response.version %} {% endif %}
    {{ _("response headers") }}: {{ resource.response_header_length|f_num }} {{ _("bytes") }} {{ _("content") }}: {{ resource.response.content_length|f_num }} {{ _("bytes") }} {% if resource.response.transfer_length - resource.response.content_length > 0 -%} {{ _("transfer overhead") }}: {{ (resource.response.transfer_length - resource.response.content_length)|f_num }} {{ _("bytes") }} {%- endif %}
    {% if is_resource %}
    {{ har_link }}
    {% endif %} {% if is_saved and save_mtime %}
    {{ _("Saved until {0} from now").format(save_mtime|relative_time(None,0)) }}
    {% endif %} {% if not is_saved %} {% if allow_save %} {% endif %} {% if validator_link %} {% endif %} {% if is_resource and resource.descendable() %}
    {{ descend_link }}
    {% endif %} {% endif %}
    {% for category in formatter.note_categories %} {% for note in resource.response.notes if note.category == category %} {% if loop.first %}

    {{ _(category.value) }}{{ category|subrequest_messages }}

      {% endif %}
    • {{ note.summary }}{{ note.detail }} {% if note.subnotes %}
        {% for subnote in note.subnotes %}
      • {{ subnote.summary }}{{ subnote.detail }}
      • {% endfor %}
      {% endif %}
    • {% if loop.last %}
    {% endif %} {% endfor %} {% endfor %}

    {% include 'footer.html' %}