tsNetCustom and HTTP/0.9 error
Posted: Mon Oct 13, 2025 10:58 pm
I'm building my first LiveCode app with tsNet networking. I have success sending commands to other devices using tsNetCustom (and the device responds to the request sent via TCP). But, the response coming back to the ResponseHandler has both an error code and I can't figure out how to process and display the returned data.
tsneterr: (1) Received HTTP/0.9 when not allowed
Server returned: [blank]
The device is supposed to send back to me "ACK" followed by a double-return when the command is received and processed successfully. But I can't figure out how to get that returned text so I can log success (instead of failure will return "NAK" along with a error description).
Do I need to send headers to force tsNet to operate in HTTP/1.1 mode? And how I can receive and view the returned data?
Thanks, guys!!
tsneterr: (1) Received HTTP/0.9 when not allowed
Server returned: [blank]
The device is supposed to send back to me "ACK" followed by a double-return when the command is received and processed successfully. But I can't figure out how to get that returned text so I can log success (instead of failure will return "NAK" along with a error description).
Do I need to send headers to force tsNet to operate in HTTP/1.1 mode? And how I can receive and view the returned data?
Thanks, guys!!