Skip to content

v2.10.0

Choose a tag to compare

@mccutchen mccutchen released this 10 Jul 17:11
· 52 commits to main since this release
c9f4177

What's Changed

⚠️ Response format changes ⚠️

  • The behavior of the /drip endpoint has been adjusted slightly. In particular, the endpoint now waits until after the initial delay to start the response (i.e. write the status code), rather than starting the response immediately and then waiting for the initial delay to write the body.
  • The standard Content-Type used for JSON responses has been changed from the non-standard application/json; encoding=utf-8 to the standard application/json; charset=utf-8
  • Error responses generated by go-httpbin itself (e.g. due to invalid input) are returned as structured JSON:
    {
      "status_code": 400,
      "error": "Bad Request",
      "detail": "invalid status code: 1024 not in range [100, 599]"
    }

Full Changelog: v2.9.2...v2.10.0