-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix the wrong Content-Length in 952282712204824.bin, which leads to , and this test should fail but actually not because of there is not detection in unit test for it. * add unit test for gzipped http body and add detection for it. Signed-off-by: ruitianzhong <ruitian-zhong@outlook.com>
- Loading branch information
1 parent
e07cf53
commit 987b3f5
Showing
6 changed files
with
35 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
GET / HTTP/1.1 | ||
Host: www.baidu.com | ||
User-Agent: Wget/1.21.2 | ||
Accept: */* | ||
Accept-Encoding: gzip | ||
Connection: Keep-Alive | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
HTTP/1.1 200 OK | ||
Content-Encoding: gzip | ||
Content-Length: 1145 | ||
Server: bfe | ||
Date: Fri, 01 Mar 2024 08:24:27 GMT | ||
Content-Type: text/html;charset=UTF-8 | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters