Skip to content

policy: direct response -- add response headers#769

Merged
istio-testing merged 1 commit intoistio:release-1.1from
kyessenov:direct_response2
Jan 22, 2019
Merged

policy: direct response -- add response headers#769
istio-testing merged 1 commit intoistio:release-1.1from
kyessenov:direct_response2

Conversation

@kyessenov
Copy link
Contributor

Follow-up to the previous PR.
We should treat error case separately from the normal case. The error case can supply headers directly as part of error details, while the normal case should rely on the rule action results. This avoids the problem of multiple rules contributing headers in the error case.

/assign @mandarjog

Signed-off-by: Kuat Yessenov kuat@google.com

Signed-off-by: Kuat Yessenov <kuat@google.com>
@googlebot googlebot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Jan 22, 2019
Copy link
Contributor

@mandarjog mandarjog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@istio-testing
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kyessenov, mandarjog

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [kyessenov,mandarjog]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@istio-testing istio-testing merged commit 0dd68ef into istio:release-1.1 Jan 22, 2019
hklai added a commit that referenced this pull request Jan 23, 2019
Signed-off-by: Kuat Yessenov <kuat@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. review/done

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants