Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core) returning appropriate headers in error pages #1567

Merged
merged 1 commit into from
Sep 2, 2016
Merged

Conversation

subnetmarco
Copy link
Member

Full changelog

  • Properly return the correct Kong headers on 40x and 50x errors.

Issues resolved

Fix #1552 and #1553.

@subnetmarco subnetmarco added this to the 0.9.1 milestone Aug 27, 2016
@subnetmarco subnetmarco changed the title Closes #1553 and #1552 fix(core) returning appropriate headers in error pages Aug 29, 2016
@@ -358,5 +358,6 @@ describe("Resolver", function()
}
})
assert.res_status(414, res)
assert.match("kong", res.headers["server"])
Copy link
Member

Choose a reason for hiding this comment

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

needs to come from the meta module just like other tests

@subnetmarco
Copy link
Member Author

@thibaultcha using meta in test now.

@thibaultcha thibaultcha added pr/ready (but hold merge) No more concerns, but do not merge yet (probably a conflict of interest with another PR or release) and removed pr/status/needs review labels Sep 1, 2016
@thibaultcha thibaultcha merged commit ba5998c into next Sep 2, 2016
@thibaultcha thibaultcha deleted the fix/errors branch September 2, 2016 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/ready (but hold merge) No more concerns, but do not merge yet (probably a conflict of interest with another PR or release)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants