-
v0.7.3 Stable
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
200equality to[200; 300)range
Context: Gotenberg 7 uses different headers, and responses with code
204from Webhook module (see documentation). While changing headers themselves is possible via custom function insidepipe(see this comment for reference), changing bundled HTTP client to recognize response code204as 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 any2××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
- Change condition for success response from strict