kingluo commented on issue #9625: URL: https://github.com/apache/apisix/issues/9625#issuecomment-1584773553
Ok, I think it's a bug. For empty xml value, it's represented as an empty table, so that's why the template renders it as table pointer. I'll submit the bugfix next week. And, it's werid that the first two responses could be not decoded as XML. In fact, I copy the content from error.log and uses xml2lua to decode it manually and it's successful. So does the two responses has no `Content-Type` header? If so, you need to specify `input_format` as `xml` explicitly. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
