We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7afa17 commit c4f21b3Copy full SHA for c4f21b3
test/parallel/test-http-extra-response.js
@@ -11,7 +11,7 @@ const net = require('net');
11
const body = 'hello world\r\n';
12
const fullResponse =
13
'HTTP/1.1 500 Internal Server Error\r\n' +
14
- 'Content-Length: ' + body.length + '\r\n' +
+ `Content-Length: ${body.length}\r\n` +
15
'Content-Type: text/plain\r\n' +
16
'Date: Fri + 18 Feb 2011 06:22:45 GMT\r\n' +
17
'Host: 10.20.149.2\r\n' +
0 commit comments