openresty / openresty/lua-nginx-module
Test Fail: TEST 19: get content-length header (proxy) in /t/016-resp-header.t
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11.8k
- Forks
- 2.1k
- Avg merge
- 6h 1m
- Merged PRs (30d)
- 6
Description
The ngx.header.content_length is empty if echo-nginx-module is compiled as a dynamic module.
The response_body is Hello rather than Hello5
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
Start with the failing test in /t/016-resp-header.t and reproduce it with echo-nginx-module compiled as a dynamic module. Compare the proxy response handling with the expected values: a populated content-length header and response body Hello5; the test should pass in the dynamic-module configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, nginx
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100