summaryrefslogtreecommitdiff
path: root/src/mailman/rest/docs
diff options
context:
space:
mode:
authorBarry Warsaw2009-05-06 22:07:35 -0400
committerBarry Warsaw2009-05-06 22:07:35 -0400
commit374fbfef115c54f354b1fa823f0feef5c22c9d38 (patch)
treec3bcae5dbd3a17b2eceb49baecca8a6c23cb797c /src/mailman/rest/docs
parent3689c13b068735082c2dad9c6d4db1f4aacc3054 (diff)
downloadmailman-374fbfef115c54f354b1fa823f0feef5c22c9d38.tar.gz
mailman-374fbfef115c54f354b1fa823f0feef5c22c9d38.tar.zst
mailman-374fbfef115c54f354b1fa823f0feef5c22c9d38.zip
Several RESTful updates.
* Fix a typo in the runner * Add support for 404 Not Found exceptions * Suppress sha module deprecation warnings from lazr.restful
Diffstat (limited to 'src/mailman/rest/docs')
-rw-r--r--src/mailman/rest/docs/basic.txt13
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
-------