命令行http服务器http-server.zip

上传者: 39841856 | 上传时间: 2021-08-01 11:15:43 | 文件大小: 162KB | 文件类型: ZIP
http-server 是简单的零配置命令行 http 服务器。提供的选项:-p Port to use (defaults to 8080)-a Address to use (defaults to 0.0.0.0)-d Show directory listings (defaults to 'True')-i Display autoIndex (defaults to 'True')-e or --ext Default file extension if none supplied (defaults to 'html')-s or --silent Suppress log messages from output--cors Enable CORS via the Access-Control-Allow-Origin header-o Open browser window after staring the server-c Set cache time (in seconds) for cache-control max-age header, e.g. -c10 for 10 seconds (defaults to '3600'). To disable caching, use -c-1.-P or --proxy Proxies all requests which can't be resolved locally to the given url. e.g.: -P http://someurl.com-S or --ssl Enable https.-C or --cert Path to ssl cert file (default: cert.pem).-K or --key Path to ssl key file (default: key.pem).-r or --robots Provide a /robots.txt (whose content defaults to 'User-agent: *\nDisallow: /')-h or --help Print this list and exit.


标签:httpserver

文件下载

资源详情

[{"title":"( 22 个子文件 162KB ) 命令行http服务器http-server.zip","children":[{"title":"http-server-master","children":[{"title":".travis.yml <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"http-server <span style='color:#111;'> 5.93KB </span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":".github","children":[{"title":"PULL_REQUEST_TEMPLATE <span style='color:#111;'> 663B </span>","children":null,"spread":false},{"title":"ISSUE_TEMPLATE <span style='color:#111;'> 659B </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"http-server-test.js <span style='color:#111;'> 10.99KB </span>","children":null,"spread":false},{"title":"fixtures","children":[{"title":"root","children":[{"title":"compression","children":[{"title":"index.html.br <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":"index.html.gz <span style='color:#111;'> 52B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 20B </span>","children":null,"spread":false}],"spread":true},{"title":"canYouSeeMe <span style='color:#111;'> 35B </span>","children":null,"spread":false},{"title":"file <span style='color:#111;'> 25B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"screenshots","children":[{"title":"directory.png <span style='color:#111;'> 7.00KB </span>","children":null,"spread":false},{"title":"public.png <span style='color:#111;'> 58.22KB </span>","children":null,"spread":false},{"title":"start.png <span style='color:#111;'> 7.17KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 88.22KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 44B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"http-server.js <span style='color:#111;'> 4.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"public","children":[{"title":"404.html <span style='color:#111;'> 148B </span>","children":null,"spread":false},{"title":"img","children":[{"title":"turtle.png <span style='color:#111;'> 53.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"index.html <span style='color:#111;'> 210B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明