diff options
author | Loïc Hoguin <[email protected]> | 2016-01-14 20:00:50 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-01-14 20:00:50 +0100 |
commit | 394b4f0bf7f2a4d496ffe69c8e30cff153d69532 (patch) | |
tree | 82c3d7634f93596ec42b41050b4130805a359359 /examples/static_world/README.md | |
parent | 4023e7f4e429179fd9c2cce4487c33646c6bd327 (diff) | |
download | cowboy-394b4f0bf7f2a4d496ffe69c8e30cff153d69532.tar.gz cowboy-394b4f0bf7f2a4d496ffe69c8e30cff153d69532.tar.bz2 cowboy-394b4f0bf7f2a4d496ffe69c8e30cff153d69532.zip |
Simplify example instructions and fix broken examples
Also convert to AsciiDoc while we're at it.
Diffstat (limited to 'examples/static_world/README.md')
-rw-r--r-- | examples/static_world/README.md | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/examples/static_world/README.md b/examples/static_world/README.md deleted file mode 100644 index aa72e89..0000000 --- a/examples/static_world/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Static file handler example -=========================== - -To try this example, you need GNU `make` and `git` in your PATH. - -To build the example, run the following command: - -``` bash -$ make -``` - -To start the release in the foreground: - -``` bash -$ ./_rel/static_world_example/bin/static_world_example console -``` - -The example will serve all the files found in the `priv` -directory. For example: - - * [Plain text file](http://localhost:8080/test.txt) - * [HTML5 video demo](http://localhost:8080/video.html) - -Example output --------------- - -``` bash -$ curl -i http://localhost:8080/test.txt -HTTP/1.1 200 OK -connection: keep-alive -server: Cowboy -date: Mon, 09 Sep 2013 13:49:50 GMT -content-length: 52 -content-type: text/plain -last-modified: Fri, 18 Jan 2013 16:33:31 GMT - -If you read this then the static file server works! -``` |