14 Commits

Author SHA1 Message Date
Andrew Ruthven
658bd4e786 Use request ID 2024-03-11 00:41:37 +13:00
Florian Schlichting
8239519ca3 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
2021-02-03 00:42:58 +08:00
Florian Schlichting
1301b2c494 Apache 2.4.35 stops sending Content-Type headers for 204 No Content responses
Normalize results so tests work with newer and older versions

This change is similar to e565cc0a5e4af0330fe5a1ab6f2476be7fb10df4 and
following

From the Apache 2.4.35 changelog:

  *) http: Enforce consistently no response body with both 204 and 304
     statuses.  [Yann Ylavic]
2018-12-22 00:12:54 +01:00
Florian Schlichting
e565cc0a5e Apache 2.4.24 doesn't send Content-Length: 0 headers for 204 No Content responses
...and is more strict parsing HTTP. Let tests pass on both old and new
versions.
2017-01-01 16:28:37 +01:00
Andrew McMillan
811af721ac Ignore chunked encoding header. 2010-04-29 16:06:46 +12:00
Andrew McMillan
507827a052 Don't report Connection: and Keep-alive: headers. 2010-04-15 18:18:30 +12:00
Andrew McMillan
ac2faa8b9a Not every Apache returns the version number in the header. 2010-03-31 13:51:25 +13:00
Andrew McMillan
3a91abfa1a Skip the 'Vary:' header. 2009-10-06 13:51:43 +13:00
Andrew McMillan
ec8b51ef99 Normalise when the server says it's DAViCal also. 2008-07-12 23:10:53 +12:00
Andrew McMillan
95306605e7 Some Apache installations will send an X-Pad in some circumstances, but
we should always ignore if it happens.
2007-03-05 14:40:01 +13:00
Andrew McMillan
8e3265a52c Substitute all HTTP Standard format dates. 2006-12-10 19:06:00 +13:00
Andrew McMillan
a57c043163 Normalise lock tokens before comparison. 2006-12-06 15:38:25 +13:00
Andrew McMillan
6f1ff7c67d Normalise the Server, X-Powered-By and X-RSCDS-Version headers. 2006-12-02 11:32:46 +13:00
Andrew McMillan
99719ddbfc Real regression testing, using parts of the framework developed earlier. 2006-10-26 00:29:47 +13:00