mikealmond / MusicBrainz

A PHP library to access MusicBrainz's Web Service v2
http://musicbrainz.org/doc/Development
MIT License
64 stars 26 forks source link

update guzzle client call to prevent overwriting existing config #28

Closed iainmullan closed 7 years ago

iainmullan commented 7 years ago

When creating a Guzzle Client to pass to the GuzzleHttpAdapter, the config and default options of that client were being overridden in the GuzzleHttpAdapter::call method.

I have updated the way the 'data' is set for the request, so that it preserves any existing config.