2019/5/31 Workers Release Notes

New this week:

  • Previously, attempting to read from a request body when the client was no longer connected threw an error: “TypeError: Can’t read from request stream after response has been sent.” This error message has been improved to distinguish between three separate cases where it might occur: when the client disconnected prematurely; when the Worker already returned a response; and when the Worker already threw an exception causing an error response to be sent.
  • Internal refactoring.
2 Likes