diff options
Diffstat (limited to 'src/mailman/rest/docs/basic.txt')
| -rw-r--r-- | src/mailman/rest/docs/basic.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mailman/rest/docs/basic.txt b/src/mailman/rest/docs/basic.txt index a3ee56568..40934ec1f 100644 --- a/src/mailman/rest/docs/basic.txt +++ b/src/mailman/rest/docs/basic.txt @@ -23,6 +23,19 @@ returned. self_link: https://localhost:8001/3.0/system +Non-existent links +------------------ + +when you try to access an admin link that doesn't exist, you get the +appropriate HTTP 404 Not Found error. + + >>> from urllib2 import urlopen + >>> urlopen('http://localhost:8001/3.0/does-not-exist') + Traceback (most recent call last): + ... + HTTPError: HTTP Error 404: Not Found + + Cleanup ------- |
