javascript - How to avoid POST request response Unknown event codes -


i'm running nodejs server , client makes post requests server. on post response these "unknown event 72" etc in below screenshot of wireshark. these unnecessary data increase application bandwidth usage. how handle response. appreciate tips avoid these sending post response.

res.writehead(200, {'content-type': 'application/json'})  res.write(json.stringify(data));  res.end();

screenshot of wireshark

try this:

res.writehead(200, {'content-type': 'application/json'}) res.end(json.stringify(data)); 

Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -