From 8466e4aef4f925c1bbd5c379c219c9f6a8494a47 Mon Sep 17 00:00:00 2001 From: httprunner Date: Fri, 3 Aug 2018 22:54:44 +0800 Subject: [PATCH] fix #330: display response headers in report --- httprunner/templates/report_template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httprunner/templates/report_template.html b/httprunner/templates/report_template.html index 03ba45f2..798b91f0 100644 --- a/httprunner/templates/report_template.html +++ b/httprunner/templates/report_template.html @@ -279,7 +279,7 @@ {{key}} {% if key == "headers" %} - {% for header_key, header_value in record.meta_data.request.headers.items() %} + {% for header_key, header_value in record.meta_data.response.headers.items() %}
{{ header_key }}: {{ header_value }}