avadev / AvaTax-REST-V2-PHP-SDK

Sales Tax API SDK for PHP and AvaTax REST
https://developer.avalara.com/sdk/
Apache License 2.0
48 stars 95 forks source link

AS-114: Handling response when content type is text/csv. Earlier it was resulting in unexpected error #176

Closed rahulv-dev closed 2 years ago

rahulv-dev commented 2 years ago

This fix will resolve the following: When content type is text/csv, then response parsing to json should not happen. Rather response body should be returned. This way based on Content Type and Body, the users at client would be able to download the file.