没有合适的资源?快使用搜索试试~ 我知道了~
web-server:用JavaScript编写的Web服务器
共4个文件
js:1个
gitignore:1个
md:1个
需积分: 13 2 下载量 149 浏览量
2021-04-08
02:42:34
上传
评论
收藏 2KB ZIP 举报
温馨提示
网络服务器 用JavaScript编写的Web服务器。 运行服务器:“ node webserver.js” 要在服务器运行后连接到服务器:“ telnet localhost 9999” You should see the server log "Listening" 返回运行telnet的终端:“ GET /test.txt HTTP / 1.1” This returns a 200 ok because the file "test.txt" exists in the server's directory. "GET /testing.txt HTTP/1.1" This returns a 404 Not Found because "testing.txt" does not exist in the server's directory.
资源推荐
资源详情
资源评论
收起资源包目录
web-server-main.zip (4个子文件)
web-server-main
.gitignore 2KB
README.md 495B
test.txt 3B
webserver.js 791B
共 4 条
- 1
资源评论
可吸不是泥
- 粉丝: 24
- 资源: 4552
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功