Closed triadium closed 4 years ago
Code:
response.writeHead(200, { 'Content-Type': 'application/json;charset=utf-8' }); response.end(JSON.stringify(data)); // 'utf8' - default value
Expected values: response._isJSON() == true response._isUTF8() == true
Actual values: response._isJSON() == false response._isUTF8() == false
Stale issue message
Code:
Expected values: response._isJSON() == true response._isUTF8() == true
Actual values: response._isJSON() == false response._isUTF8() == false