Skip to content

Conversation

ostrolucky
Copy link
Contributor

@ostrolucky ostrolucky commented May 13, 2020

Q A
Bug fix? no
New feature? no
BC breaks? yes
Deprecations? no
Related tickets fixes #126
Documentation -
License MIT

What's in this PR?

Makes handling for binary body similar to what CurlCommandFormatter does. I was initially playing with idea to use bin2hex, but then I realized people who actually want binary bodies logged will be minority, for majority this is something they are logging unintended by oversight.

Checklist

  • Updated CHANGELOG.md to describe BC breaks / deprecations | new feature | bugfix
  • Documentation pull request created (if not simply a bugfix)
Goes in line with CurlCommandFormatter. Makes this formatter safer to use
Copy link
Contributor

@dbu dbu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@dbu dbu merged commit 226ba9f into php-http:master May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants