molnarg / node-http2

An HTTP/2 client and server implementation for node.js
MIT License
1.79k stars 187 forks source link

`request()` does not actually have `plain` option #212

Closed thammi closed 7 years ago

thammi commented 7 years ago

The API page claims that request() has the additional plain option. This is not true as request() is actually requestTSL() which overwrites plain to false (see here). Raw requests are supported through exports.raw which does no seem to be documented at all.

nwgh commented 7 years ago

Indeed, the docs need fixed up & regenerated (which I am, obviously, too lazy to do). Dupe of #139