Files
opencloud/tests/acceptance/TestHelpers
Pascal Bleser bae276fde6 test(acceptance): fail on responses that are cut off after their headers
When the transfer of a response broke off after its headers, e.g.
because the server aborted it, sendRequestOnce caught the exception and
passed the incomplete response on as if it were complete. Tests then
failed later, and misleadingly, e.g. with a JsonException on the cut-off
body, or passed when they only checked the status code.

Re-throw Guzzle's ResponseTransferException, so that such a test fails
at the request, with the transfer error (e.g. cURL error 18).

Refs #4008

Assisted-by: Claude Code:claude-opus-5-5
2026-11-16 12:01:55 +01:00
..
2025-05-05 10:21:11 +02:00
2026-01-27 09:57:30 +05:45
2025-08-08 10:16:57 +02:00