Normalize "100 Continue" headers

apache2 in bullseye has stopped sending these for some reason, but we
want to be able to test in both newer and older environments
This commit is contained in:
Florian Schlichting 2021-02-02 23:11:30 +08:00
parent 18c19b8fad
commit 8239519ca3
26 changed files with 4 additions and 50 deletions

View File

@ -57,6 +57,10 @@ while( <STDIN> ) {
/^Content-Type: / && $no_content && do {
$_ = "";
};
/^HTTP\/1\.1 100 Continue/ && do {
my $swallow_next_line_as_well = <STDIN>;
next;
};
print;
}

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 201 Created
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 204 No Content
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 201 Created
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 201 Created
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 201 Created
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Dow, 01 Jan 2000 00:00:00 GMT
ETag: "2f9bb75f51266683f713f8d382a67bff"

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Dow, 01 Jan 2000 00:00:00 GMT
ETag: "2f9bb75f51266683f713f8d382a67bff"

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 201 Created
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 201 Created
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 201 Created
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 201 Created
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 201 Created
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule

View File

@ -1,5 +1,3 @@
HTTP/1.1 100 Continue
HTTP/1.1 204 No Content
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule