openresty / openresty/headers-more-nginx-module
Get header value using Lua before hiding header by clear_more_headers
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.8k
- Forks
- 236
- Avg merge
- 1h 34m
- Merged PRs (30d)
- 2
Description
Hi,
I have the scenario where I am receiving a response header in nginx and want to retrieve one value from the response header using lua in the http block.
Also, When I send this response header to user I want to remove that header from the response. When I do that using "clear_more_headers" in server block, Lua block also don't get the value for that response header.
I want to know is there a way I can get the value first and then clear that header.
thanks
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Reproduce the described nginx http/server configuration using Lua and clear_more_headers, then inspect the module's documented behavior and relevant request-processing path. Done when the supported ordering is established and demonstrated by a regression test or documentation change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, lua
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100