diff options
| author | Barry Warsaw | 2010-02-23 14:31:41 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2010-02-23 14:31:41 -0500 |
| commit | 0fa9260a3d23b7ba17de727e66bcc27a0aeacc29 (patch) | |
| tree | bc45a5ba133e22eac478196436f9e5360c74ebfe /src/mailman/rest/docs/domains.txt | |
| parent | 6ebd29504f204913a1c57f64d802151fc97bfb41 (diff) | |
| download | mailman-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/domains.txt')
| -rw-r--r-- | src/mailman/rest/docs/domains.txt | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/mailman/rest/docs/domains.txt b/src/mailman/rest/docs/domains.txt index ed9c6bc2f..cbb9e9fce 100644 --- a/src/mailman/rest/docs/domains.txt +++ b/src/mailman/rest/docs/domains.txt @@ -126,17 +126,13 @@ lazr.restful requires us to use a 'named operation' instead of posting directly to the URL. >>> dump_json('http://localhost:8001/3.0/domains', { - ... 'ws.op': 'new', ... 'email_host': 'lists.example.com', ... }) URL: http://localhost:8001/3.0/domains content-length: 0 - content-type: text/plain;charset=utf-8 date: ... location: http://localhost:8001/3.0/domains/lists.example.com - server: WSGIServer/... Python/... - x-content-type-warning: guessed from content - x-powered-by: Zope (www.zope.org), Python (www.python.org) + ... Now the web service knows about our new domain. @@ -172,12 +168,9 @@ address. ... }) URL: http://localhost:8001/3.0/domains content-length: 0 - content-type: text/plain;charset=utf-8 date: ... location: http://localhost:8001/3.0/domains/my.example.com - server: WSGIServer/... Python/... - x-content-type-warning: guessed from content - x-powered-by: Zope (www.zope.org), Python (www.python.org) + ... >>> dump_json('http://localhost:8001/3.0/domains/my.example.com') base_url: http://allmy.example.com |
