I have a FLASK response object that I am preparing with two string values as follows:
vioAllScript = encode_utf8(vioAllScript)
vioAllDiv = encode_utf8(vioAllDiv)
vioTup = (vioAllDiv, vioAllScript,)
resp = make_response(vioTup)
return resp
However, whenever I retrieve this response on the front end, the second value always get trimmed out of the response leaving only the first value. I have tried other options such as resp = make_response(vioAllDiv, vioAllScript)
but the same thing always happens. Is there a way to get my response to contain two string values without concatenating them together?