the size of this response is more than 80k, ngx.location.capture return with status 200 and truncate false, but in fact it has been truncated, which i can get full response from upstream via directly curl.
i use json_decode(from cjosn) decode the response above, but it throw exceptions like " Expected comma or object end but found T_END at character 88993" or "Expected object key string but found unexpected end of string at character 91105", so I suspect it has been truncated.
the size of this response is more than 80k,
ngx.location.capture
return withstatus
200 andtruncate
false, but in fact it has been truncated, which i can get full response from upstream via directly curl. i usejson_decode
(from cjosn) decode the response above, but it throw exceptions like " Expected comma or object end but found T_END at character 88993" or "Expected object key string but found unexpected end of string at character 91105", so I suspect it has been truncated.