Skip to content

Releases: mccutchen/go-httpbin

v2.9.2

27 Jun 13:31
499044e
Compare
Choose a tag to compare

What's Changed

  • fix: include Transfer-Encoding when echoing request headers by @mccutchen in #130

Full Changelog: v2.9.1...v2.9.2

v2.9.1

21 Jun 17:32
69e0f18
Compare
Choose a tag to compare

What's Changed

  • fix: use https schema if r.TLS is not nil by @llimllib in #126
  • fix: populate files slice on multipart/form submission by @llimllib in #127

Full Changelog: v2.9.0...v2.9.1

v2.9.0

18 Jun 15:48
a70a847
Compare
Choose a tag to compare

What's Changed

⚠️ Response format changes ⚠️

To improve compatibility with the original httpbin.org implementation:

  • Endpoints that return metadata about the incoming HTTP request now include the request method
  • Endpoints that return a data field containing the incoming HTTP request's body will now return an empty string for requests with empty bodies

New Contributors

Full Changelog: v2.8.0...v2.9.0

v2.8.0

05 May 21:43
7e81a93
Compare
Choose a tag to compare

What's Changed

⚠️ Response format changes ⚠️

As of #119, the /base64 endpoint:

  • Properly handles padded inputs instead of returning trailing null bytes (see #118)
  • Only accepts and returns URL-safe base64 encodings instead of standard base64 encodings, to match the original httpbin's behavior

Full Changelog: v2.7.0...v2.8.0

v2.7.0

02 May 16:11
f981f94
Compare
Choose a tag to compare

What's Changed

⚠️ 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

v2.6.0

13 Mar 14:35
cbbc296
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.5.6...v2.6.0

v2.5.6

15 Feb 21:48
8d82c0d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.5.5...v2.5.6

v2.5.5

31 Jan 14:26
f1f2de9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.5.4...v2.5.5

v2.5.4

17 Jan 13:37
67ddb1f
Compare
Choose a tag to compare

What's Changed

  • Improve tests for streaming response endpoints by @mccutchen in #105
  • feat: ensure that 404 responses indicate that they originate from go-httpbin by @chinaran in #107

New Contributors

Full Changelog: v2.5.3...v2.5.4

v2.5.3

16 Nov 21:57
5fffb29
Compare
Choose a tag to compare

What's Changed

  • More helpful error when allowed redirect domains are defined by @mccutchen in #104

Full Changelog: v2.5.2...v2.5.3