Firstsawyou commented on a change in pull request #4331:
URL: https://github.com/apache/apisix/pull/4331#discussion_r641339857
##########
File path: t/cli/test_main.sh
##########
@@ -621,3 +621,21 @@ if ! grep "keepalive_timeout 6s;" conf/nginx.conf >
/dev/null; then
fi
echo "passed: found the keepalive related parameter in nginx.conf"
+
+# check the charset setting
+git checkout conf/config.yaml
+
+echo '
+nginx_config:
+ http:
+ charset: utf-8
Review comment:
Updated.
##########
File path: conf/config-default.yaml
##########
@@ -196,6 +196,8 @@ nginx_config: # config for render the
template to generate n
# After the maximum number of requests is
made, the connection is closed.
keepalive_timeout: 60s # Sets a timeout during which an idle
keepalive connection to an upstream server will stay open.
+ charset: utf-8 # Adds the specified charset to the
"Content-Type" response header field.
Review comment:
Updated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]