Unverified Commit d26f8538 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #67578 from chanjarster/issue-67561

Automatic merge from submit-queue (batch tested with PRs 67578, 68154, 68162, 65545). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md. Fixes #67561 Multiple same headers got wrong result on gcr.io/google-containers/echoserver:1.10 **What this PR does / why we need it**: Fix a bug of echoserver **Which issue(s) this PR fixes**: Fixes #67561 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
parents 68d22a87 cbd2faa8
......@@ -52,7 +52,14 @@ Request Information:
Request Headers:
{% for i, key in ipairs(keys) do %}
{{key}}={{headers[key]}}
{% local val = headers[key] %}
{% if type(val) == "table" then %}
{% for i = 1,#val do %}
{{key}}={{val[i]}}
{% end %}
{% else %}
{{key}}={{val}}
{% end %}
{% end %}
Request Body:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment