Skip to content

Commit

Permalink
test: fix test description
Browse files Browse the repository at this point in the history
The request uses chunked transfer encoding and the HTTP response status
code is not 400 but 200.
  • Loading branch information
lpinca committed Oct 17, 2021
1 parent ed01811 commit 0321ad9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-http-chunked-smuggling.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const http = require('http');
const net = require('net');
const assert = require('assert');

// Verify that a request with a space before the content length will result
// in a 400 Bad Request.
// Verify that invalid chunk extensions cannot be used to perform HTTP request
// smuggling attacks.

const server = http.createServer(common.mustCall((request, response) => {
assert.notStrictEqual(request.url, '/admin');
Expand Down

0 comments on commit 0321ad9

Please sign in to comment.