diff options
Diffstat (limited to 'ewww.md')
-rw-r--r-- | ewww.md | 21 |
1 files changed, 18 insertions, 3 deletions
@@ -100,7 +100,7 @@ then I get status code 404 when I create webroot/foo and I request GET http://example.com/.well-known/foo then I get status code 200 -and content-type is application/octet-stream +and content-type is "application/octet-stream" when I request HEAD http://example.com/.well-known/foo then I get status code 200 @@ -138,9 +138,24 @@ when I request files under https://example.com in random order 100000 times then I can do at least 100 requests per second ~~~ -# Unhappy scenarios +## Using POST, PUT, or DELETE fails -* not GET or HEAD +~~~scenario +given a self-signed certificate as snakeoil.pem, using key snakeoil.key +and a running server using config file smoke.yaml + +when I request POST https://example.com/ +then I get status code 405 +and allow is "GET HEAD" + +when I request PUT https://example.com/ +then I get status code 405 +and allow is "GET HEAD" + +when I request DELETE https://example.com/ +then I get status code 405 +and allow is "GET HEAD" +~~~ --- |