-
Hi, Probably, it's a bug. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I cannot reproduce this. const response = await ky.get('https://httpbin.org/status/500', { throwHttpErrors : false });
console.log(response.status); // 500 You will need to submit a full bug report if you believe this is a problem with Ky (and if so, please do so on the issue tracker). That said, I think we should update this test to explicitly check that a response is returned with the appropriate status. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer. Here is the code that reproduces the error:
|
Beta Was this translation helpful? Give feedback.
-
See #394 for any further updates. |
Beta Was this translation helpful? Give feedback.
See #394 for any further updates.