Add include raw data option in request body.

This commit is contained in:
Debadutta Panda
2025-02-03 14:11:29 +05:30
parent bb01f26f06
commit 356c0c2416
13 changed files with 154 additions and 36 deletions

View File

@@ -65,6 +65,7 @@ var knownOpts = {
"version": Boolean,
"define": [String, Array]
};
var shortHands = {
"?":["--help"],
"p":["--port"],
@@ -286,7 +287,6 @@ httpsPromise.then(function(startupHttps) {
server = http.createServer(function(req,res) {app(req,res);});
}
server.setMaxListeners(0);
function formatRoot(root) {
if (root[0] != "/") {
root = "/" + root;