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();
try this:
res.writehead(200, {'content-type': 'application/json'}) res.end(json.stringify(data));
Comments
Post a Comment