mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 04:01:47 +00:00
Add GET test handler for unit tests
This commit is contained in:
@@ -19,6 +19,10 @@ if ($test == 'http_basic_auth') {
|
||||
));
|
||||
exit;
|
||||
}
|
||||
else if ($test === 'get') {
|
||||
echo http_build_query($_GET);
|
||||
exit;
|
||||
}
|
||||
else if ($test === 'post') {
|
||||
echo http_build_query($_POST);
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user