node:_http_common
#Import
import _http_common from "nstdlib/node/_http_common";Note
The module loads, but its behavior hasn't been tested yet.
#Support
- nstd: Not measured in this environment.
- Browser: Loads with a minimal
processobject. 14 of Node's 14 exports are available. No behavior check covers it yet.
#Exports (14)
Every name Node.js exports from this module, and what you get when you read it, as a named import or as a property of the default import:
- ✅ A value, both ways. An export that throws an error naming the missing feature also counts.
- ⚠️ A value one way,
undefinedthe other. - ❔
undefinedboth ways. - ❌ Not exported at all.
- – Not measured.
| Export | Node.js | Browser |
|---|---|---|
CRLF | ✅ | ✅ |
HTTPParser | ✅ | ✅ |
_checkInvalidHeaderChar | ✅ | ✅ |
_checkIsHttpToken | ✅ | ✅ |
calculateLenientFlags | ✅ | ✅ |
chunkExpression | ✅ | ✅ |
continueExpression | ✅ | ✅ |
freeParser | ✅ | ✅ |
isLenient | ✅ | ✅ |
kIncomingMessage | ✅ | ✅ |
kSkipPendingData | ✅ | ✅ |
kSocket | ❌ | ❌ |
methods | ✅ | ✅ |
parsers | ✅ | ✅ |
prepareError | ✅ | ✅ |
#Diagnostics
nstdlib running inside Node.js. This isn't an environment it's meant for, so it isn't shown above, but it tells a library problem from an environment one:
coverage: 14/14 of the host's export names answer inside host node. Imports. Behaviour not exercised by the suite.smoke: Imports in a clean child process.