• v0.7.3 c299b63f63

    v0.7.3 Stable

    yumauri released this 2022-06-26 14:51:34 +08:00 | 5 commits to master since this release

    🐛 Fixes

    • Change condition for success response from strict 200 equality to [200; 300) range

    Context: Gotenberg 7 uses different headers, and responses with code 204 from Webhook module (see documentation). While changing headers themselves is possible via custom function inside pipe (see this comment for reference), changing bundled HTTP client to recognize response code 204 as successful response is not that easy. Well, it is easy in some cases — you can define your own HTTP client, check this comment, — but I decided it will not break anything, if I change condition to recognize any 2×× code as successful one. So, this shouldn't break compatibility with Gotenberg 6, and it will be a little less painful to use this library with Gotenberg 7.
    Check issue #47 for more details.

    Downloads