The functionality of resolveBodyOnly is nonexistent in the current version on NPM.
There are no references to resolveBodyOnly in any of the files in the got package, but I can see it in the GitHub source.
If there's advertised functionality in the README it should work...
...
Closing my own issue, because I've just seen the line This readme reflects the next major version that is currently in development. You probably want the v9 readme. on the README.
Apologies.
Glad there are actually people who read the readme closely :) There many issues like this. You've just saved us another few minutes to explain things :P
It is a bit annoying that the readme displays in development features that haven't been pushed to the package..!
It is a bit annoying that the readme displays in development features that haven't been pushed to the package..!
I'm surprised you have no been affected by that before. That's pretty much how all projects on GitHub operate.
Anyway, we have an alpha version of v10 out now if you wanna help us test: https://github.com/sindresorhus/got/releases/tag/v10.0.0-alpha.1 :)
Most helpful comment
I'm surprised you have no been affected by that before. That's pretty much how all projects on GitHub operate.