summaryrefslogtreecommitdiff
path: root/src/mailman/rest/docs/basic.txt
diff options
context:
space:
mode:
authorBarry Warsaw2010-02-23 14:31:41 -0500
committerBarry Warsaw2010-02-23 14:31:41 -0500
commit0fa9260a3d23b7ba17de727e66bcc27a0aeacc29 (patch)
treebc45a5ba133e22eac478196436f9e5360c74ebfe /src/mailman/rest/docs/basic.txt
parent6ebd29504f204913a1c57f64d802151fc97bfb41 (diff)
downloadmailman-0fa9260a3d23b7ba17de727e66bcc27a0aeacc29.tar.gz
mailman-0fa9260a3d23b7ba17de727e66bcc27a0aeacc29.tar.zst
mailman-0fa9260a3d23b7ba17de727e66bcc27a0aeacc29.zip
Rip out lazr.restful and replace it with restish. This simpifies a lot of the
REST architecture, at the expense of a few features, and less support. So far so good though.
Diffstat (limited to 'src/mailman/rest/docs/basic.txt')
-rw-r--r--src/mailman/rest/docs/basic.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mailman/rest/docs/basic.txt b/src/mailman/rest/docs/basic.txt
index 79abbfde1..6d928ab85 100644
--- a/src/mailman/rest/docs/basic.txt
+++ b/src/mailman/rest/docs/basic.txt
@@ -26,8 +26,7 @@ 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')
+ >>> dump_json('http://localhost:8001/3.0/does-not-exist')
Traceback (most recent call last):
...
HTTPError: HTTP Error 404: Not Found