I think Espruino expects the server to close the socket.
My guess is that because you've added your own headers, you haven't put a Connection: close header on the REST request?
Connection: close
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I think Espruino expects the server to close the socket.
My guess is that because you've added your own headers, you haven't put a
Connection: close
header on the REST request?