php-sdk
php-sdk copied to clipboard
[BUG] BlackfiredHttpClient does not support 'base_uri' specified in underlying HttpClientInterface
It seems that BlackfiredHttpClient does not account for 'base_uri' being present only in the default options of the underlying client that it's decorating, since it passes static::OPTIONS_DEFAULTS as default options and tries to create URL from that. This makes profiling requests that rely on 'base_uri' in underlying client impossible.
Our base URI is specified in RetryableHttpClient.
Hello, It should be fixed as of https://github.com/blackfireio/php-sdk/releases/tag/v2.5.2
Thanks for reporting!