Why it is stuck when I used Base64 mode and what is the best practice for the template with multi tags (one string contains {{expression}}, {expression}, {% lua code %} etc.).
Thanks.
Environment
APISIX version (run apisix version): 3.5.0
OpenResty / Nginx version (run openresty -V or nginx -V): openresty/1.21.4.2, built by gcc 10.2.1 20210110 (Debian 10.2.1-6)
Description
As mentioned in title, I tried two ways:
The template like this:
The rsp is
encode the file with base64
The result is It is stuck. About one minute later, return timeout message.
The log is (see the output the template render in the log):
Why it is stuck when I used Base64 mode and what is the best practice for the template with multi tags (one string contains {{expression}}, {expression}, {% lua code %} etc.).
Thanks.
Environment
apisix version
): 3.5.0openresty -V
ornginx -V
): openresty/1.21.4.2, built by gcc 10.2.1 20210110 (Debian 10.2.1-6)