Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 618cd80

Browse files
committed
Correctly remove trace level options for HttpCache
1 parent 7a6e3c0 commit 618cd80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/HttpClient/CachingHttpClient.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ public function __construct(HttpClientInterface $client, StoreInterface $store,
5555
unset($defaultOptions['allow_revalidate']);
5656
unset($defaultOptions['stale_while_revalidate']);
5757
unset($defaultOptions['stale_if_error']);
58+
unset($defaultOptions['trace_level']);
59+
unset($defaultOptions['trace_header']);
5860

5961
if ($defaultOptions) {
6062
[, $this->defaultOptions] = self::prepareRequest(null, null, $defaultOptions, $this->defaultOptions);

0 commit comments

Comments
 (0)