From f6287e13d9ae7e33adf300f48c94b4001dcf75a7 Mon Sep 17 00:00:00 2001 From: Hubert Tarasiuk
Date: Mon, 22 Jun 2015 20:46:01 +0200 Subject: [PATCH 04/12] Support multiple headers with same name in Python test suite. * testenv/README: Describe how to use repeated header name. * testenv/server/http/http_server.py (finish_headers): Send all values from list if the header value is a Python list. --- testenv/README | 3 ++- testenv/server/http/http_server.py | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/testenv/README b/testenv/README index cf22f89..50baf3d 100644 --- a/testenv/README +++ b/testenv/README @@ -184,7 +184,8 @@ This section lists the currently supported File Rules and their structure. * SendHeader : This list of Headers will be sent in EVERY response to a request for the respective file. It follows the same value format as - ExpectHeader. + ExpectHeader. Additionally you can specify a list of strings as