Skip to content

Commit

Permalink
Correctly remove trace level options for HttpCache
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Feb 14, 2020
1 parent 4219977 commit 688baac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CachingHttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ public function __construct(HttpClientInterface $client, StoreInterface $store,
unset($defaultOptions['allow_revalidate']);
unset($defaultOptions['stale_while_revalidate']);
unset($defaultOptions['stale_if_error']);
unset($defaultOptions['trace_level']);
unset($defaultOptions['trace_header']);

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

0 comments on commit 688baac

Please sign in to comment.