Skip to content

v1.2.2

Choose a tag to compare

@jdwx jdwx released this 15 Jul 21:32
· 13 commits to main since this release
  • Add Response::jsonArray() for the common case where you expect the returned JSON to be an array (list or dictionary).
  • Fix a bug with reporting HTTP error codes
  • Add some logging support.
  • Reduce & isolate Guzzle depedency.
  • Provide options for handling multiple headers.

We hit a live case with a server returning multiple, conflicting Content-Type headers, so we have now modified the code to handle that case. (Previously it would just throw an exception and die.)