Skip to content

Commit

Permalink
Add missing Content-Type headers in test files.
Browse files Browse the repository at this point in the history
  • Loading branch information
amouhzi committed Apr 11, 2021
1 parent 1efeb7f commit 0bddefe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/server/php-curl-test/post_file_path_upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@
$response['mime_content_type'] = 'ERROR';
}

header('Content-Type: application/json');

echo json_encode($response);
3 changes: 3 additions & 0 deletions tests/server/php-curl-test/post_multidimensional.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php

$http_raw_post_data = file_get_contents('php://input');

header('Content-Type: text/plain');

echo $http_raw_post_data;

0 comments on commit 0bddefe

Please sign in to comment.