http://serverkit.org/modules/contrib/shttp/
Shttp is a partial implementation of HTTP/1.1. It does not strictly follow the RFC but works well enough to serve static content for personal/experimental/educational use. The module consists of just over 1000 LoC making it an excellent example of what can be done with ServerKit with little effort and a great learning tool for those getting started with ServerKit programming.
虽然没有完全遵循 RFC 标准,但对于个人使用者来说是足够了。
当然,对我们来说,它所提供的 1000 多行源代码更有价值,有兴趣的同学不妨研究研究。
 |