-
百行代码实现的WEB服务器
百行代码实现的WEB服务器
aardio开发环境
服务器响应后各种处理步骤:
第一步,通过获取到的 请求响应request对象的url属性,分解出url中的path。
第二步,将path传去路由函数,为了获取 目标路径、目标文件类型、错误标记、错误页面 等结果。
第三步,依据路由函数返回的结果。
回复对象的contentType属性设置为路由函数返回的目标文件类型。
回复对象的传送数据:错真就传错误页面,错假就传目标文件的二进制数据 。
回复对象的其他属性按simpleHttpServer内置默认的。
- 2022-05-27 22:20:36下载
- 积分:1
-
C语言程序,模拟UNIX磁盘空间管理中使用的分组链接法。程序内有主要要求...
C语言程序,模拟UNIX磁盘空间管理中使用的分组链接法。程序内有主要要求-a C program ,it simulates the method of space management grouping links in the unix disk space management.
- 2022-03-11 12:10:54下载
- 积分:1
-
一个可以运行DOS程序(正确的说法应该是Windows下的控制台程序)并且捕捉程序输出的源程序...
一个可以运行DOS程序(正确的说法应该是Windows下的控制台程序)并且捕捉程序输出的源程序-one can run DOS (The correct statement should be Windows console procedures) and procedures for capturing output of the source
- 2022-06-28 01:21:41下载
- 积分:1
-
宿舍管理VB程序
hostel managment vb program
- 2022-07-19 00:35:46下载
- 积分:1
-
源程序实现view窗口的动态切分,通过该源代码可以学习一下
源程序实现view窗口的动态切分,通过该源代码可以学习一下-View source window to achieve the dynamic segmentation, through which you can learn the source code
- 2023-05-16 12:20:03下载
- 积分:1
-
征途真彩客户端源代码
征途真彩客户端源代码,内测1.0版本,需要最早的内侧客户端-Journey of true color client source
code, closed beta version 1.0, the first inside the client needs
- 2023-08-12 03:00:04下载
- 积分:1
-
实用Visual C++6.0教程各章节(第三章)的源代码,很好地帮助初学者熟悉VC开发平台。...
实用Visual C++6.0教程各章节(第三章)的源代码,很好地帮助初学者熟悉VC开发平台。-Pratical Visual C++6.0 chapter examples
- 2022-03-26 14:19:38下载
- 积分:1
-
单字节/双字节;ASC编码和Unicode编码之间转换。
单字节/双字节;ASC编码和Unicode编码之间转换。-Single-byte/double byte ASC coding and conversion between Unicode encoding.
- 2022-04-12 05:00:40下载
- 积分:1
-
VB做的代理。源代码精简。很容易理解。
这个用VB做的代理服务器.源代码精简.很容易看懂.-the VB do proxy. Source code streamlining. Very easy to understand.
- 2022-02-02 02:05:27下载
- 积分:1
-
operate under csv document after document preservation excel
c#下操作csv文件,后保存excel文件-operate under csv document after document preservation excel
- 2022-02-01 19:32:50下载
- 积分:1