http: add Object.freeze for status code
A mutable http.STATUS_CODES
maybe cause some undefined behavior in userland. This change is to freeze the status codes for robustness.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
http