This repository has been archived by the owner on Mar 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # httpolice/__metadata__.py
- Loading branch information
Showing
10 changed files
with
83 additions
and
11 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
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
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
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,21 @@ | ||
1005 1007 | ||
|
||
# The chunked stream is abruptly cut off before the indicated number of bytes. | ||
# This used to crash HTTPolice when generating an HTML report. | ||
|
||
======== BEGIN INBOUND STREAM ======== | ||
POST / HTTP/1.1 | ||
Host: example.com | ||
Content-Type: text/plain | ||
User-Agent: demo | ||
Transfer-Encoding: chunked | ||
|
||
1c | ||
foo bar foo bar | ||
======== BEGIN OUTBOUND STREAM ======== | ||
HTTP/1.1 200 OK | ||
Date: Thu, 31 Dec 2015 18:26:56 GMT | ||
Content-Type: text/plain | ||
Content-Length: 14 | ||
|
||
Hello world! |
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,16 @@ | ||
1039 | ||
|
||
# This used to crash HTTPolice. | ||
|
||
======== BEGIN INBOUND STREAM ======== | ||
GET / HTTP/1.1 | ||
Host: example.com | ||
User-Agent: demo | ||
|
||
======== BEGIN OUTBOUND STREAM ======== | ||
HTTP/1.1 200 OK | ||
Date: Thu, 31 Dec 2015 18:26:56 GMT | ||
Content-Type: text/xml | ||
Content-Length: 12 | ||
|
||
<resu�ts/> |
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,16 @@ | ||
1108 | ||
|
||
# This used to crash HTTPolice on Python 2.7. | ||
|
||
======== BEGIN INBOUND STREAM ======== | ||
GET / HTTP/1.1 | ||
Host: example.com | ||
User-Agent: demo | ||
|
||
======== BEGIN OUTBOUND STREAM ======== | ||
HTTP/1.1 200 OK | ||
Date: Fri, 02 Aug 1015 18:26:56 GMT | ||
Content-Type: text/plain | ||
Content-Length: 14 | ||
|
||
Hello world! |
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