We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2121ab commit 72febfdCopy full SHA for 72febfd
test/parallel/test-http-extra-response.js
@@ -32,7 +32,7 @@ const net = require('net');
32
const body = 'hello world\r\n';
33
const fullResponse =
34
'HTTP/1.1 500 Internal Server Error\r\n' +
35
- 'Content-Length: ' + body.length + '\r\n' +
+ `Content-Length: ${body.length}\r\n` +
36
'Content-Type: text/plain\r\n' +
37
'Date: Fri + 18 Feb 2011 06:22:45 GMT\r\n' +
38
'Host: 10.20.149.2\r\n' +
0 commit comments