Skip to content

Commit fdc4e31

Browse files
committed
Merge branch '7.1' into 7.2
* 7.1: Fix resolve enum in string type resolver [PropertyInfo] Upmerge #59012 [BeanstalkMessenger] Round delay to an integer to avoid deprecation warning [PropertyInfo] Fix interface handling in `PhpStanTypeHelper` [HttpClient] Test POST to GET redirects [HttpKernel] Denormalize request data using the csv format when using "#[MapQueryString]" or "#[MapRequestPayload]" (except for content data) fix: preserve and nowrap in profiler code highlighting
2 parents 43d8b63 + 82bc8ee commit fdc4e31

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: HttpClient/Test/Fixtures/web/index.php

+10
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,16 @@
199199
]);
200200

201201
exit;
202+
203+
case '/custom':
204+
if (isset($_GET['status'])) {
205+
http_response_code((int) $_GET['status']);
206+
}
207+
if (isset($_GET['headers']) && is_array($_GET['headers'])) {
208+
foreach ($_GET['headers'] as $header) {
209+
header($header);
210+
}
211+
}
202212
}
203213

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

0 commit comments

Comments
 (0)