summaryrefslogtreecommitdiff
path: root/ewww.md
diff options
context:
space:
mode:
Diffstat (limited to 'ewww.md')
-rw-r--r--ewww.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/ewww.md b/ewww.md
index 6352c02..d1c9faf 100644
--- a/ewww.md
+++ b/ewww.md
@@ -92,7 +92,8 @@ for static content only. Every other method returns an error.
~~~scenario
given a self-signed certificate as snakeoil.pem, using key snakeoil.key
-and file webroot/foo.html with "this is your web page"
+and directory webroot
+and file webroot/foo.html from webpage.html
and a running server using config file smoke.yaml
when I request GET https://example.com/foo.html
then I get status code 200
@@ -110,6 +111,10 @@ tls_cert: snakeoil.pem
tls_key: snakeoil.key
~~~
+~~~{#webpage.html .file add-newline=no}
+this is your web page
+~~~
+
## Performance test
~~~scenario-disabled
@@ -147,11 +152,13 @@ template: python
bindings:
- subplot/ewww.yaml
- subplot/vendored/daemon.yaml
+ - subplot/vendored/files.yaml
- subplot/vendored/runcmd.yaml
functions:
- subplot/ewww.py
- subplot/http.py
- subplot/vendored/daemon.py
+ - subplot/vendored/files.py
- subplot/vendored/runcmd.py
classes:
- scenario-disabled