http: simple code refactoring
Some simple code hygiene cleanups.
- Use the more efficient
module.exports = {}
pattern, - Eliminate unnecessary uses of
self
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
http