Skip to content

feat(lua): allow setting response body when the upstream response body is empty#14486

Merged
mattklein123 merged 13 commits intoenvoyproxy:masterfrom
spacewander:body
Jan 6, 2021
Merged

feat(lua): allow setting response body when the upstream response body is empty#14486
mattklein123 merged 13 commits intoenvoyproxy:masterfrom
spacewander:body

Conversation

@spacewander
Copy link
Contributor

@spacewander spacewander commented Dec 20, 2020

Commit Message: allow setting response body when the upstream response body is empty
Additional Description:
Risk Level: Medium
Testing: unit and integration tests
Docs Changes: TBA
Release Notes: Lua body() will no longer return nil when the response body is empty. Can be changed via runtime flag.
Platform Specific Features: N/A
Fixes #14226

Signed-off-by: spacewander spacewanderlzx@gmail.com

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create upstream response body in LUA when it is NIL

3 participants