v2.7.0
What's Changed
- Build & CI updates by @mccutchen in #116
- Encode binary request bodies as bas64 data URLs by @gab1one #117
⚠️ Response format changes ⚠️
As of #117, the incoming request body for the /post, /put (etc) endpoints will be returned as a base64-encoded data: URL to match the original httpbin's behavior.
Before
$ curl -sSL --data-binary @tiny.gif -H "Content-Type: image/gif" https://httpbingo.org/post | jq .data
"GIF89a\u0001\u0000\u0001\u0000�\u0000\u0000���\u0000\u0000\u0000!�\u0004\u0001\u0000\u0000\u0000\u0000,\u0000\u0000\u0000\u0000\u0001\u0000\u0001\u0000\u0000\u0002\u0002D\u0001\u0000;"After
$ curl -sSL --data-binary @tiny.gif -H "Content-Type: image/gif" localhost:8080/post | jq .data
"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="New Contributors
Full Changelog: v2.6.0...v2.7.0