apisix-dashboard
apisix-dashboard copied to clipboard
bug: proxy-rewrite plugin's headers option is invalid
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [ ] Question or discussion
- [x] Bug
- [ ] Requirements
- [ ] Feature or performance improvement
- [ ] Other
Already set, but invalid

actual result:
127.0.0.1 - - [12/Nov/2020 16:29:50] "GET /test/home.html HTTP/1.1" 200 -
Host: 127.0.0.1
X-Real-IP: 127.0.0.1
X-Forwarded-For: 127.0.0.1
X-Forwarded-Proto: http
X-Forwarded-Host: 127.0.0.1
X-Forwarded-Port: 9080
User-Agent: curl/7.54.0
Accept: */*
Not sure what happened 😂
Is this data invalid when sending the request?

What's the expected data format?
headers should be format to
{
X-Api-version: 'v1'
}
let me check the related code😂
ok!
if that is a bug, should we remove checking label and add bug label?
@idbeta I think you can provide more information, especially information about warning or error messages. Then the developer can confirm this bug easier. Many thx for your report