From a63e759d5b9d13ee791714e3bc7c362d94936e2d Mon Sep 17 00:00:00 2001 From: Ashim-Stha Date: Mon, 28 Jul 2025 12:19:16 +0545 Subject: [PATCH] test: add test for copying folder with Transfer-Encoding: chunked header Signed-off-by: Ashim-Stha --- tests/acceptance/features/apiContract/copy.feature | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/acceptance/features/apiContract/copy.feature b/tests/acceptance/features/apiContract/copy.feature index a727d81021e..e6b2dacc9ca 100644 --- a/tests/acceptance/features/apiContract/copy.feature +++ b/tests/acceptance/features/apiContract/copy.feature @@ -25,3 +25,14 @@ Feature: Copy test | Access-Control-Allow-Origin | /^%base_url%$/ | | X-Request-Id | %request_id_pattern% | + @issue-10809 + Scenario: copy a folder with Transfer-Encoding: chunked header + Given user "Alice" has created a folder "folder1" in space "new-space" + And user "Alice" has created a folder "folder2" in space "new-space" + When user "Alice" copies folder "folder2" from space "new-space" to "folder1/folder2" inside space "new-space" with following headers using the WebDAV API + | header | value | + # NOTE: requires system curl version >= 8.12.0 + | Transfer-Encoding | chunked | + Then the HTTP status code should be "201" + And for user "Alice" folder "folder1" of the space "new-space" should contain these entries: + | folder2 |