Next: Hello World, Previous: Requests, Up: Top [Contents][Index]
These examples demonstrate usage.
| • Hello World: | Serve “Hello World” to every request | |
| • Hello World UTF8: | Serve “Hello World” w/UTF8 encoding | |
| • Hello World HTML: | Serve “Hello World” in HTML | |
| • File Server: | Serve files from a document root | |
| • URL Parameter Echo: | Echo parameters from a URL query string | |
| • POST Echo: | Echo POST parameters back | |
| • Basic Authentication: | BASIC HTTP authentication | |
| • Org-mode Export: | Export files to HTML and Tex | |
| • File Upload: | Upload files and return their sha1sum | |
| • Web Socket: | Web socket echo server | |
| • Gzipped Transfer Encoding: | Gzip content encoding | |
| • Chunked Transfer Encoding: | Chunked transfer encoding |