diff options
author | Zhidao HONG <z.hong@f5.com> | 2024-03-18 15:16:17 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2024-04-10 23:21:21 +0800 |
commit | 2d7a84684312fc1c46043fa10af0ea336e73f11d (patch) | |
tree | 0164cb692c425dd7e87770410a7722424527da81 /go/nxt_cgo_lib.h | |
parent | a625a0b1f0d822b3224b7b29565fe9733b634afd (diff) | |
download | unit-2d7a84684312fc1c46043fa10af0ea336e73f11d.tar.gz unit-2d7a84684312fc1c46043fa10af0ea336e73f11d.tar.bz2 |
HTTP: Added variable validation to the response_headers option
This is to improve error messages for response headers configuration.
Take the configuration as an example:
{
"response_headers": {
"a": "$b"
}
}
Previously, when applying it the user would see this error message:
failed to apply previous configuration
After this change, the user will see this improved error message:
the previous configuration is invalid: Unknown variable "b" in the "a" value
Diffstat (limited to 'go/nxt_cgo_lib.h')
0 files changed, 0 insertions, 0 deletions