Skip to content

Commit 0bddefe

Browse files
committed
Add missing Content-Type headers in test files.
1 parent 1efeb7f commit 0bddefe

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

tests/server/php-curl-test/post_file_path_upload.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,6 @@
1818
$response['mime_content_type'] = 'ERROR';
1919
}
2020

21+
header('Content-Type: application/json');
22+
2123
echo json_encode($response);
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
<?php
22

33
$http_raw_post_data = file_get_contents('php://input');
4+
5+
header('Content-Type: text/plain');
6+
47
echo $http_raw_post_data;

0 commit comments

Comments
 (0)