We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 783cf50 commit 802783dCopy full SHA for 802783d
test/parallel/test-http-multi-line-headers.js
@@ -32,7 +32,7 @@ const server = net.createServer(function(conn) {
32
const response =
33
'HTTP/1.1 200 OK\r\n' +
34
'Connection: close\r\n' +
35
- 'Content-Length: ' + body.length + '\r\n' +
+ `Content-Length: ${body.length}\r\n` +
36
'Content-Type: text/plain;\r\n' +
37
' x-unix-mode=0600;\r\n' +
38
' name="hello.txt"\r\n' +
0 commit comments