|
|
@@ -14,7 +14,7 @@ class ExampleBackendConfigurationTest(BaseProxyTest):
|
|
|
# Host and port are used both by the HTTP backend and in the
|
|
|
# reverse proxy configuration
|
|
|
host="127.0.0.1",
|
|
|
- port="9999",
|
|
|
+ port=9999,
|
|
|
# Response headers, body and status are sent to the reverse proxy
|
|
|
# at each request
|
|
|
response_headers={
|
|
|
@@ -29,9 +29,7 @@ class ExampleBackendConfigurationTest(BaseProxyTest):
|
|
|
self.expected_headers = {
|
|
|
"x-test-2": "5678",
|
|
|
}
|
|
|
- self.forbidden_client_headers = {
|
|
|
- "x-test-3": "abcd",
|
|
|
- }
|
|
|
+ self.forbidden_client_headers = ["x-test-3"]
|
|
|
|
|
|
self.expected_header_patterns = {
|
|
|
"x-test-1": r"^[1-4]{4}$",
|