I have a server running in Node that responds to HTTP POSTs.
It's being invoked through PagePark using its ability to delegate requests. Here's the actual code that does the delegation.
The message is transmitted to the proper server, it handles it properly, responds as it's supposed to, and PagePark transmits the response, with one problem. It adds extra characters before and after the response.
Here's a gist containing the actual response.
The characters added at the beginning of the response: 1f7
And at the end: 0
I have to admit I don't understand what the piping is doing, and I haven't found a way to debug this. So I'm looking for either possible answers, or possible ways to debug.
I have a server running in Node that responds to HTTP POSTs.
It's being invoked through PagePark using its ability to delegate requests. Here's the actual code that does the delegation.
The message is transmitted to the proper server, it handles it properly, responds as it's supposed to, and PagePark transmits the response, with one problem. It adds extra characters before and after the response.
Here's a gist containing the actual response.
The characters added at the beginning of the response: 1f7
And at the end: 0
I have to admit I don't understand what the piping is doing, and I haven't found a way to debug this. So I'm looking for either possible answers, or possible ways to debug.