您的位置:首页 > 编程语言 > Go语言

mongoose - Mongoose - easy to use web server - Google Project Hosting

2012-04-22 11:41 666 查看
mongoose - Mongoose - easy to use web server - Google Project Hosting

Overview

Mongoose is easy to use web server. It also can be used as embedded web server library to provide web interface to applications.

Mongoose executable does not depend on any external library or configuration. If it is copied to any directory and launched from there, it starts to serve that directory on port 8080 (so to access files, go to http://localhost:8080). If some additional config is required - for example, different listening port or IP-based access control, then a mongoose.conf file with respective options can be created in the same directory where executable lives. This makes Mongoose perfect for all sorts of demos, quick tests, file sharing, and Web programming.

Features

Crossplatform - works on Windows, MacOS and most flavors of UNIX
CGI, SSL, SSI, Digest (MD5) authorization, resumed download, aliases
IP-based ACL, Windows service, GET, POST, HEAD, PUT, DELETE methods
Small footprint: executable size is 40 kB on Linux 2.6 i386 system
Embeddable with simple and clean API. Source is in single .c file to make things easy. Minimalistic embedding example is in hello.c.
Python bindings

How to contribute

Create a repository clone where you can make changes:

Go to http://code.google.com/p/mongoose/source/clones , click 'Add clone'
Fill in name, summary, description, click 'Create repository clone'
Click on 'Administer', 'Source'. Enable 'Allow non-members to review code', click 'Save changes'
Make your changes:

Make your changes to the source code, then "hg commit", "hg push". This makes your change visible to everyone
I review your change, make some comments. You repeat previous step: make changes, commit and push
The process repeats until we are both happy. Then, I integrate your change in the main branch
You can delete your clone if it is not needed anymore
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐