- Fix stream auto-end for empty PATCH/DELETE/OPTIONS 4d5168c
- The bug was introduced in b65b0e1, where it incorrectly auto-closed streams for empty PATCH/DELETE/OPTIONS when using streams. This broke the documented use case of piping data to a got stream for these methods.
- Docs:
got.streamdoes not auto-end forOPTIONS,DELETE, orPATCHso you can pipe or write a body without gettingwrite after end. Callstream.end()when you are not piping a body.