File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ test_ls_cmd() {
21
21
22
22
test_expect_success " Text encoded channel-streaming command output looks good" '
23
23
printf "HTTP/1.1 200 OK\r\n" >expected_output &&
24
+ printf "Access-Control-Allow-Headers: X-Stream-Output, X-Chunked-Output\r\n" >>expected_output &&
25
+ printf "Access-Control-Expose-Headers: X-Stream-Output, X-Chunked-Output\r\n" >>expected_output &&
24
26
printf "Content-Type: text/plain\r\n" >>expected_output &&
25
27
printf "Trailer: X-Stream-Error\r\n" >>expected_output &&
26
28
printf "Transfer-Encoding: chunked\r\n" >>expected_output &&
@@ -41,6 +43,8 @@ test_ls_cmd() {
41
43
42
44
test_expect_success " JSON encoded channel-streaming command output looks good" '
43
45
printf "HTTP/1.1 200 OK\r\n" >expected_output &&
46
+ printf "Access-Control-Allow-Headers: X-Stream-Output, X-Chunked-Output\r\n" >>expected_output &&
47
+ printf "Access-Control-Expose-Headers: X-Stream-Output, X-Chunked-Output\r\n" >>expected_output &&
44
48
printf "Content-Type: application/json\r\n" >>expected_output &&
45
49
printf "Trailer: X-Stream-Error\r\n" >>expected_output &&
46
50
printf "Transfer-Encoding: chunked\r\n" >>expected_output &&
You can’t perform that action at this time.
0 commit comments