When I tried to get data from REST service, i meet the HPE_HEADER_OVERFLOW error as follow:
var options = {
host: "something.com",
port: 80,
path: "/somepath...",
method: 'POST'
};
var request = http.request(options, function(res) {
res.setEncoding('utf8');
res.on('data', function(chunk) {
// Do something
});
res.on('end', function() {
// Do something
});
request.on('error', function(e) {
// Do something
});
});
request.end();
The length of path parameter in the options is 413.
Does anyone meet this issue? Is this service-side issue or node-side issue?
Please give some idea about it, thanks a lot.