diff --git a/setup.py b/setup.py index 40b9258..fd3963b 100644 --- a/setup.py +++ b/setup.py @@ -15,11 +15,15 @@ # You should have received a copy of the GNU Lesser General Public License # along with Postorius. If not, see . -import ez_setup -ez_setup.use_setuptools() +try: + import setuptools +except ImportError: + import ez_setup + ez_setup.use_setuptools() from setuptools import setup, find_packages + setup( name="postorius", version='1.0.0b1', diff --git a/src/postorius/tests/__init__.py b/src/postorius/tests/__init__.py index 5e822fb..b3bd492 100644 --- a/src/postorius/tests/__init__.py +++ b/src/postorius/tests/__init__.py @@ -21,9 +21,16 @@ from django.conf import settings -TEST_DIR = os.path.abspath(os.path.dirname(__file__)) -FIXTURES_DIR = os.path.join(TEST_DIR, 'fixtures', 'vcr_cassettes') +TEST_ROOT = os.path.abspath(os.path.dirname(__file__)) +FIXTURES_DIR = getattr( + settings, 'FIXTURES_DIR', + os.path.join(TEST_ROOT, 'fixtures')) -MM_VCR = vcr.VCR(cassette_library_dir=FIXTURES_DIR, - record_mode=getattr(settings, 'VCR_RECORD_MODE', 'once')) +VCR_RECORD_MODE = os.environ.get( + 'POSTORIUS_VCR_RECORD_MODE', + getattr(settings, 'VCR_RECORD_MODE', 'once')) + +MM_VCR = vcr.VCR( + cassette_library_dir=os.path.join(FIXTURES_DIR, 'vcr_cassettes'), + record_mode=VCR_RECORD_MODE) diff --git a/src/postorius/tests/fixtures/vcr_cassettes/list_members_access.yaml b/src/postorius/tests/fixtures/vcr_cassettes/list_members_access.yaml index 89b87c3..fe48e57 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/list_members_access.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/list_members_access.yaml @@ -856,4 +856,3428 @@ date: ['Mon, 09 Feb 2015 22:14:49 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:25 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: role=owner&subscriber=owner%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:25 GMT'] + location: ['http://localhost:9001/3.0/members/244797913804051143835853929351524636009'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: role=moderator&subscriber=moderator%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:25 GMT'] + location: ['http://localhost:9001/3.0/members/102525541390459730982869997486308770893'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:26 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:27 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: role=owner&subscriber=owner%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:27 GMT'] + location: ['http://localhost:9001/3.0/members/27819546667938930850026898577773480422'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: role=moderator&subscriber=moderator%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:27 GMT'] + location: ['http://localhost:9001/3.0/members/165168466525213416762016985258042414357'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:28 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:29 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: role=owner&subscriber=owner%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:29 GMT'] + location: ['http://localhost:9001/3.0/members/195182540630664540260015601260885860892'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: role=moderator&subscriber=moderator%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:29 GMT'] + location: ['http://localhost:9001/3.0/members/295278962255027832508590993989762615939'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:31 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:32 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: role=owner&subscriber=owner%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:32 GMT'] + location: ['http://localhost:9001/3.0/members/89724284534339699931919493678172076275'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: role=moderator&subscriber=moderator%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:32 GMT'] + location: ['http://localhost:9001/3.0/members/114045713333209570982757892390609762874'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"f500e323cc32c247e1caf3da1105f06f25bebc33\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/89724284534339699931919493678172076275"}], + "start": 0, "http_etag": "\"5210604650ed6b6d80bc320138972466e6a24f0f\"", "total_size": + 1}'} + headers: + content-length: ['510'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "http_etag": "\"a74c8a36b1973862251faef3cefc172f30548b8b\"", "role": "moderator", + "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/114045713333209570982757892390609762874"}], + "start": 0, "http_etag": "\"d2f73f2f395511479175a898f6ebab3cb5b9359e\"", "total_size": + 1}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"f500e323cc32c247e1caf3da1105f06f25bebc33\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/89724284534339699931919493678172076275"}], + "start": 0, "http_etag": "\"5210604650ed6b6d80bc320138972466e6a24f0f\"", "total_size": + 1}'} + headers: + content-length: ['510'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:35 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:35 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:35 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:35 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:35 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: role=owner&subscriber=owner%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:35 GMT'] + location: ['http://localhost:9001/3.0/members/244413967208186444252288534150131323831'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: role=moderator&subscriber=moderator%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:35 GMT'] + location: ['http://localhost:9001/3.0/members/38631203404560858310875460169855847632'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:36 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:36 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:06 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:07 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: subscriber=owner%40example.com&list_id=foo.example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:07 GMT'] + location: ['http://localhost:9001/3.0/members/249229789220407054429880693145639655329'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: subscriber=moderator%40example.com&list_id=foo.example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:07 GMT'] + location: ['http://localhost:9001/3.0/members/292200679909721091351580809523244719912'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:09 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:10 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:10 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:10 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:10 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:10 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: subscriber=owner%40example.com&list_id=foo.example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:10 GMT'] + location: ['http://localhost:9001/3.0/members/15582850446470029602244009936412998421'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: subscriber=moderator%40example.com&list_id=foo.example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:10 GMT'] + location: ['http://localhost:9001/3.0/members/220048416367363342535278120276827856999'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:13 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:13 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:13 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:13 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:13 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: subscriber=owner%40example.com&list_id=foo.example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:13 GMT'] + location: ['http://localhost:9001/3.0/members/191425294508940701779318113606479327398'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: subscriber=moderator%40example.com&list_id=foo.example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:14 GMT'] + location: ['http://localhost:9001/3.0/members/95836312751622089455510849030624637337'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:16 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:17 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:17 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:17 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:17 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:17 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: subscriber=owner%40example.com&list_id=foo.example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:17 GMT'] + location: ['http://localhost:9001/3.0/members/102009749043356491854921912856081835597'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: subscriber=moderator%40example.com&list_id=foo.example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:17 GMT'] + location: ['http://localhost:9001/3.0/members/134354901257501071305432677849830051406'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:19 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:19 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"263386f97d35f9e345163776b0411a131bf6e0af\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/102009749043356491854921912856081835597"}], + "start": 0, "http_etag": "\"8e8684906523558f6f4f6ba96da5d447133b4ade\"", "total_size": + 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:19 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "http_etag": "\"987166ac831a2cee8440b07e03fe2fd76fdf298b\"", "role": "moderator", + "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/134354901257501071305432677849830051406"}], + "start": 0, "http_etag": "\"bfadd914341a9c8abd64d62d6d0b4a7f416e6b02\"", "total_size": + 1}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:19 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:19 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"263386f97d35f9e345163776b0411a131bf6e0af\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/102009749043356491854921912856081835597"}], + "start": 0, "http_etag": "\"8e8684906523558f6f4f6ba96da5d447133b4ade\"", "total_size": + 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:19 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:22 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: subscriber=owner%40example.com&list_id=foo.example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:22 GMT'] + location: ['http://localhost:9001/3.0/members/207648210994466675946664407844247143509'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: subscriber=moderator%40example.com&list_id=foo.example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:22 GMT'] + location: ['http://localhost:9001/3.0/members/272777322018096199510096183218019398520'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:26 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:26 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:26 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:26 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:26 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:26 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: role=owner&subscriber=owner%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:26 GMT'] + location: ['http://localhost:9001/3.0/members/231555231194996662016433524627672962508'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: role=moderator&subscriber=moderator%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:26 GMT'] + location: ['http://localhost:9001/3.0/members/244667584952145039218331003064067356173'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:30 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: role=owner&subscriber=owner%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:30 GMT'] + location: ['http://localhost:9001/3.0/members/163419572633799486019119205366120239761'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: role=moderator&subscriber=moderator%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:31 GMT'] + location: ['http://localhost:9001/3.0/members/249841082002958347311533808819541101179'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:35 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:35 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:35 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:35 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:35 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: role=owner&subscriber=owner%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:35 GMT'] + location: ['http://localhost:9001/3.0/members/257940852299557859703633790663363223688'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: role=moderator&subscriber=moderator%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:35 GMT'] + location: ['http://localhost:9001/3.0/members/282637221825622393919297264741386273314'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:38 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:40 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:40 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:40 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:40 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:40 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: role=owner&subscriber=owner%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:40 GMT'] + location: ['http://localhost:9001/3.0/members/320866441307701057875338118781803712673'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: role=moderator&subscriber=moderator%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:40 GMT'] + location: ['http://localhost:9001/3.0/members/171355940095428255626415376787868576901'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:42 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:42 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"7d08267b37545892f2c7bcf27299a833bac2dcaf\"", + "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"54259432b1b368eebaab4cf39d86a6bdd50a529a\"", + "self_link": "http://localhost:9001/3.0/members/320866441307701057875338118781803712673"}], + "start": 0}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:42 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"a686b04eba0bacc861229a8da3a09845f27a5ea5\"", + "entries": [{"email": "moderator@example.com", "role": "moderator", "user": + "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"8cad6799066e151bc0b61302d00728ab965f8f0b\"", + "self_link": "http://localhost:9001/3.0/members/171355940095428255626415376787868576901"}], + "start": 0}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:42 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:42 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"7d08267b37545892f2c7bcf27299a833bac2dcaf\"", + "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"54259432b1b368eebaab4cf39d86a6bdd50a529a\"", + "self_link": "http://localhost:9001/3.0/members/320866441307701057875338118781803712673"}], + "start": 0}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:42 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:44 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:47 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:47 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:47 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:47 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:47 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: role=owner&subscriber=owner%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:47 GMT'] + location: ['http://localhost:9001/3.0/members/339111217010615044307181304523052035249'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: role=moderator&subscriber=moderator%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:47 GMT'] + location: ['http://localhost:9001/3.0/members/164285594740706742120769891777879290825'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:49 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:49 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:52 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:37 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&subscriber=owner%40example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:37 GMT'] + location: ['http://localhost:9001/3.0/members/153753469666990137450009191023558924870'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: list_id=foo.example.com&subscriber=moderator%40example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:37 GMT'] + location: ['http://localhost:9001/3.0/members/266477769629444206274271434709941298070'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:41 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:43 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:43 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:43 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:43 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:43 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&subscriber=owner%40example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:43 GMT'] + location: ['http://localhost:9001/3.0/members/325162698063039570216805293792898075902'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: list_id=foo.example.com&subscriber=moderator%40example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:43 GMT'] + location: ['http://localhost:9001/3.0/members/278409836023291514297759589394789086471'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:47 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:49 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:49 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:49 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:49 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:49 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&subscriber=owner%40example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:49 GMT'] + location: ['http://localhost:9001/3.0/members/225247941354608205613280344496484998484'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: list_id=foo.example.com&subscriber=moderator%40example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:50 GMT'] + location: ['http://localhost:9001/3.0/members/141356931159328251666297277418334502027'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:53 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:55 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:55 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:55 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:55 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&subscriber=owner%40example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:56 GMT'] + location: ['http://localhost:9001/3.0/members/161628376476956512619170172732426008945'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: list_id=foo.example.com&subscriber=moderator%40example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:56 GMT'] + location: ['http://localhost:9001/3.0/members/273038746122386539431681212301236659714'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:58 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:58 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"922cabf0baca116aa2e0fde5742c0cb135e8dc49\"", + "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": + "owner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": + "\"5dbe35c3f60e48d211bc317845bb72917b6af019\"", "self_link": "http://localhost:9001/3.0/members/161628376476956512619170172732426008945", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:58 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"8c009ec282405ccf133e6e385933bac9233dee69\"", + "entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "email": + "moderator@example.com", "list_id": "foo.example.com", "role": "moderator", + "http_etag": "\"d6e611209ed36169f1d80299b5747b733ec47ddf\"", "self_link": + "http://localhost:9001/3.0/members/273038746122386539431681212301236659714", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:58 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:58 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"922cabf0baca116aa2e0fde5742c0cb135e8dc49\"", + "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": + "owner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": + "\"5dbe35c3f60e48d211bc317845bb72917b6af019\"", "self_link": "http://localhost:9001/3.0/members/161628376476956512619170172732426008945", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:58 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:01 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:03 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&subscriber=owner%40example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:04 GMT'] + location: ['http://localhost:9001/3.0/members/19582364654748066808027698572436268639'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: list_id=foo.example.com&subscriber=moderator%40example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:04 GMT'] + location: ['http://localhost:9001/3.0/members/107602510817730715319824743504099634906'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:09 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml b/src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml index 755c5b7..a31dc24 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml @@ -368,4 +368,1468 @@ date: ['Mon, 09 Feb 2015 22:14:45 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"e2ae538f66a7d1c1f6081718b1b38105f56e0a39\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/244797913804051143835853929351524636009"}], + "start": 0, "http_etag": "\"90ba3a7c6db3474b481b559cd846d21d175a02b7\"", "total_size": + 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "http_etag": "\"a5d902db6ea01bbe2534501ebfe4950c389573e1\"", "role": "moderator", + "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/102525541390459730982869997486308770893"}], + "start": 0, "http_etag": "\"7d75ee5b463f87125c93eef8e376288c622dcaf1\"", "total_size": + 1}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"e2ae538f66a7d1c1f6081718b1b38105f56e0a39\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/244797913804051143835853929351524636009"}], + "start": 0, "http_etag": "\"90ba3a7c6db3474b481b559cd846d21d175a02b7\"", "total_size": + 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:26 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:28 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:28 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"accdd1affeeb0cf6d9b74378b46082101748fd37\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/27819546667938930850026898577773480422"}], + "start": 0, "http_etag": "\"ef5c352f063d2dc9081e782472f13289ee99e3c5\"", "total_size": + 1}'} + headers: + content-length: ['510'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:28 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "http_etag": "\"b2b07ff9e09133dc692d4c38ad11f8dabbf1c338\"", "role": "moderator", + "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/165168466525213416762016985258042414357"}], + "start": 0, "http_etag": "\"294bc13628155a319901d68902432f39af63b190\"", "total_size": + 1}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:28 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"accdd1affeeb0cf6d9b74378b46082101748fd37\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/27819546667938930850026898577773480422"}], + "start": 0, "http_etag": "\"ef5c352f063d2dc9081e782472f13289ee99e3c5\"", "total_size": + 1}'} + headers: + content-length: ['510'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:28 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "http_etag": "\"b2b07ff9e09133dc692d4c38ad11f8dabbf1c338\"", "role": "moderator", + "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/165168466525213416762016985258042414357"}], + "start": 0, "http_etag": "\"294bc13628155a319901d68902432f39af63b190\"", "total_size": + 1}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:28 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"9688bf57910af2a5c002ecc92a0c5323af5898ad\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/195182540630664540260015601260885860892"}], + "start": 0, "http_etag": "\"1af597543f38db8c03d50d8de6f964a94390eb98\"", "total_size": + 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "http_etag": "\"f3ebb0b07393f3d2bf0157f13c726269eef35c26\"", "role": "moderator", + "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/295278962255027832508590993989762615939"}], + "start": 0, "http_etag": "\"0e422785bd209140186861a27f30bf28924bc7ad\"", "total_size": + 1}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"9688bf57910af2a5c002ecc92a0c5323af5898ad\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/195182540630664540260015601260885860892"}], + "start": 0, "http_etag": "\"1af597543f38db8c03d50d8de6f964a94390eb98\"", "total_size": + 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "http_etag": "\"f3ebb0b07393f3d2bf0157f13c726269eef35c26\"", "role": "moderator", + "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/295278962255027832508590993989762615939"}], + "start": 0, "http_etag": "\"0e422785bd209140186861a27f30bf28924bc7ad\"", "total_size": + 1}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:08 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:08 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"f71eee0aeee18bbaa144d80501577364fb7774f0\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/249229789220407054429880693145639655329"}], + "start": 0, "http_etag": "\"b7c03a4e05208fa379f356f9a478f287d9bcb0f4\"", "total_size": + 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:08 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "http_etag": "\"364d507f761454d1160ca79552ec31be879ff7ee\"", "role": "moderator", + "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/292200679909721091351580809523244719912"}], + "start": 0, "http_etag": "\"e7a5f40dae210bdc934e72c794a716580022448b\"", "total_size": + 1}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:08 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:08 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"f71eee0aeee18bbaa144d80501577364fb7774f0\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/249229789220407054429880693145639655329"}], + "start": 0, "http_etag": "\"b7c03a4e05208fa379f356f9a478f287d9bcb0f4\"", "total_size": + 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:08 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:11 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:11 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"c4bfe12738e60f1164e4e44ed066a00200454a3b\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/15582850446470029602244009936412998421"}], + "start": 0, "http_etag": "\"8ad93600ae09b1d67b76b4a7d89e7dc680af95f0\"", "total_size": + 1}'} + headers: + content-length: ['510'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:11 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "http_etag": "\"dd666c392c2a0c9f1a24bb8fe266c8ad7042cd5f\"", "role": "moderator", + "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/220048416367363342535278120276827856999"}], + "start": 0, "http_etag": "\"dc6176f51c40dd6a0529668ceb90a5d411fad38c\"", "total_size": + 1}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:11 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"c4bfe12738e60f1164e4e44ed066a00200454a3b\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/15582850446470029602244009936412998421"}], + "start": 0, "http_etag": "\"8ad93600ae09b1d67b76b4a7d89e7dc680af95f0\"", "total_size": + 1}'} + headers: + content-length: ['510'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:11 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "http_etag": "\"dd666c392c2a0c9f1a24bb8fe266c8ad7042cd5f\"", "role": "moderator", + "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/220048416367363342535278120276827856999"}], + "start": 0, "http_etag": "\"dc6176f51c40dd6a0529668ceb90a5d411fad38c\"", "total_size": + 1}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:11 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:14 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:14 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"583bcb0afd748e9f99595d530366fc175b6e605b\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/191425294508940701779318113606479327398"}], + "start": 0, "http_etag": "\"8341da7e96f60abae7dbb83c2e3dd2d7821e8c2f\"", "total_size": + 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:14 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "http_etag": "\"17b219d2ade17a6e3c800de1620a67bcd765fe92\"", "role": "moderator", + "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/95836312751622089455510849030624637337"}], + "start": 0, "http_etag": "\"6803f13440e1f13528ca4c70930da8748aa0a6fb\"", "total_size": + 1}'} + headers: + content-length: ['522'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:14 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"583bcb0afd748e9f99595d530366fc175b6e605b\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/191425294508940701779318113606479327398"}], + "start": 0, "http_etag": "\"8341da7e96f60abae7dbb83c2e3dd2d7821e8c2f\"", "total_size": + 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:15 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "http_etag": "\"17b219d2ade17a6e3c800de1620a67bcd765fe92\"", "role": "moderator", + "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/95836312751622089455510849030624637337"}], + "start": 0, "http_etag": "\"6803f13440e1f13528ca4c70930da8748aa0a6fb\"", "total_size": + 1}'} + headers: + content-length: ['522'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:15 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"f6765a6b20eb1bb9f1e913f534800b3b34e71ebb\"", + "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"3ed5fa1a2a507cd88875031531bf0091fcd99602\"", + "self_link": "http://localhost:9001/3.0/members/231555231194996662016433524627672962508"}], + "start": 0}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"0ad5b97bfceb54dc7c6d92e63ddbf927022d62ca\"", + "entries": [{"email": "moderator@example.com", "role": "moderator", "user": + "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"26fca0a34bbb13a09a4b82078bc72448ca221fb6\"", + "self_link": "http://localhost:9001/3.0/members/244667584952145039218331003064067356173"}], + "start": 0}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"f6765a6b20eb1bb9f1e913f534800b3b34e71ebb\"", + "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"3ed5fa1a2a507cd88875031531bf0091fcd99602\"", + "self_link": "http://localhost:9001/3.0/members/231555231194996662016433524627672962508"}], + "start": 0}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"eb84628d33e609df87af637a7a9fe8b08d2be7cb\"", + "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"037e53a921efce43c091fd7417becd244edff57b\"", + "self_link": "http://localhost:9001/3.0/members/163419572633799486019119205366120239761"}], + "start": 0}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"f0a60274c39954af98f4cb949082ad9611414727\"", + "entries": [{"email": "moderator@example.com", "role": "moderator", "user": + "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"1751b674cfac2c057dfa87eb8293fa59fc7d828b\"", + "self_link": "http://localhost:9001/3.0/members/249841082002958347311533808819541101179"}], + "start": 0}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"eb84628d33e609df87af637a7a9fe8b08d2be7cb\"", + "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"037e53a921efce43c091fd7417becd244edff57b\"", + "self_link": "http://localhost:9001/3.0/members/163419572633799486019119205366120239761"}], + "start": 0}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"f0a60274c39954af98f4cb949082ad9611414727\"", + "entries": [{"email": "moderator@example.com", "role": "moderator", "user": + "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"1751b674cfac2c057dfa87eb8293fa59fc7d828b\"", + "self_link": "http://localhost:9001/3.0/members/249841082002958347311533808819541101179"}], + "start": 0}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"bab6a2d13cc8bfe0dfb0fb592cd776632fda4081\"", + "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"85e6025ed2a424daafea1c27dcc23a8b02a85397\"", + "self_link": "http://localhost:9001/3.0/members/257940852299557859703633790663363223688"}], + "start": 0}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"bcd667710f5061bea414453eef4db60b24a8b897\"", + "entries": [{"email": "moderator@example.com", "role": "moderator", "user": + "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"8c5489aaaec24aaf1c6bff4196cb8e5571849546\"", + "self_link": "http://localhost:9001/3.0/members/282637221825622393919297264741386273314"}], + "start": 0}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"bab6a2d13cc8bfe0dfb0fb592cd776632fda4081\"", + "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"85e6025ed2a424daafea1c27dcc23a8b02a85397\"", + "self_link": "http://localhost:9001/3.0/members/257940852299557859703633790663363223688"}], + "start": 0}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"bcd667710f5061bea414453eef4db60b24a8b897\"", + "entries": [{"email": "moderator@example.com", "role": "moderator", "user": + "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"8c5489aaaec24aaf1c6bff4196cb8e5571849546\"", + "self_link": "http://localhost:9001/3.0/members/282637221825622393919297264741386273314"}], + "start": 0}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"def246fb2b7a723199613e4fc33fcec59c7b762c\"", + "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": + "owner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": + "\"ccff473b286c30f6fbbb4f05499b6a27a10a46d1\"", "self_link": "http://localhost:9001/3.0/members/153753469666990137450009191023558924870", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"df2f852105b877a24753dda949bbb70a57fbe085\"", + "entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "email": + "moderator@example.com", "list_id": "foo.example.com", "role": "moderator", + "http_etag": "\"2a3d0490107da0a857d6593f91d5a6c8aee982b9\"", "self_link": + "http://localhost:9001/3.0/members/266477769629444206274271434709941298070", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"def246fb2b7a723199613e4fc33fcec59c7b762c\"", + "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": + "owner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": + "\"ccff473b286c30f6fbbb4f05499b6a27a10a46d1\"", "self_link": "http://localhost:9001/3.0/members/153753469666990137450009191023558924870", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:45 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:45 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"e6b2f71943867b40793a577ad17dad097f9bd213\"", + "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": + "owner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": + "\"dbe71a0c01969e5eb64c740fe53bd1c78773139f\"", "self_link": "http://localhost:9001/3.0/members/325162698063039570216805293792898075902", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:45 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"a23034407b764dee5ce69e838e6f2a0534291189\"", + "entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "email": + "moderator@example.com", "list_id": "foo.example.com", "role": "moderator", + "http_etag": "\"618d41b10043c31c120aac787c5cc3090eb7e07f\"", "self_link": + "http://localhost:9001/3.0/members/278409836023291514297759589394789086471", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:45 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"e6b2f71943867b40793a577ad17dad097f9bd213\"", + "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": + "owner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": + "\"dbe71a0c01969e5eb64c740fe53bd1c78773139f\"", "self_link": "http://localhost:9001/3.0/members/325162698063039570216805293792898075902", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:45 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"a23034407b764dee5ce69e838e6f2a0534291189\"", + "entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "email": + "moderator@example.com", "list_id": "foo.example.com", "role": "moderator", + "http_etag": "\"618d41b10043c31c120aac787c5cc3090eb7e07f\"", "self_link": + "http://localhost:9001/3.0/members/278409836023291514297759589394789086471", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:45 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:51 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:51 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"99f8aea7ac8b7af76abd209892367637a5a48dd3\"", + "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": + "owner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": + "\"9c2abf2de0207e7e906662847f6c7ba7db4adc1e\"", "self_link": "http://localhost:9001/3.0/members/225247941354608205613280344496484998484", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:51 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"f96f2fb113eb22e93c2eff4efe1f0f5ca0b847a6\"", + "entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "email": + "moderator@example.com", "list_id": "foo.example.com", "role": "moderator", + "http_etag": "\"f0b4d23de59d745f5cca1446e0403ee06223d881\"", "self_link": + "http://localhost:9001/3.0/members/141356931159328251666297277418334502027", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:51 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"99f8aea7ac8b7af76abd209892367637a5a48dd3\"", + "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": + "owner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": + "\"9c2abf2de0207e7e906662847f6c7ba7db4adc1e\"", "self_link": "http://localhost:9001/3.0/members/225247941354608205613280344496484998484", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:51 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"f96f2fb113eb22e93c2eff4efe1f0f5ca0b847a6\"", + "entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "email": + "moderator@example.com", "list_id": "foo.example.com", "role": "moderator", + "http_etag": "\"f0b4d23de59d745f5cca1446e0403ee06223d881\"", "self_link": + "http://localhost:9001/3.0/members/141356931159328251666297277418334502027", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['523'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:51 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_creation.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_creation.yaml index 510acfe..3713584 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_creation.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_creation.yaml @@ -366,4 +366,1469 @@ date: ['Mon, 09 Feb 2015 22:14:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:43 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:43 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode '{"entries": [{"base_url": "http://example.com", + "mail_host": "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}], + "start": 0, "http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", "total_size": + 1}'} + headers: + content-length: ['383'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:43 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:43 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:43 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:43 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=a_new_list%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:43 GMT'] + location: ['http://localhost:9001/3.0/lists/a_new_list.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "a_new_list@example.com", "display_name": + "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:43 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: role=owner&subscriber=owner%40example.com&list_id=a_new_list.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:43 GMT'] + location: ['http://localhost:9001/3.0/members/214709187697188409361277673158423388512'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "a_new_list-join@example.com", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "a_new_list-owner@example.com", "archive_policy": "public", "mail_host": "example.com", + "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:30:43.422806", + "posting_pipeline": "default-posting-pipeline", "display_name": "A_new_list", + "leave_address": "a_new_list-leave@example.com", "fqdn_listname": "a_new_list@example.com", + "autoresponse_request_text": "", "volume": 1, "web_host": "example.com", "bounces_address": + "a_new_list-bounces@example.com", "send_welcome_message": true, "http_etag": + "\"4f17f88ecdef08de980eb4f653514024d603f222\"", "description": "", "welcome_message_uri": + "mailman:///welcome.txt", "posting_address": "a_new_list@example.com", "acceptable_aliases": + [], "next_digest_number": 1, "autoresponse_postings_text": "", "default_member_action": + "defer", "default_nonmember_action": "hold", "reply_to_address": "", "convert_html_to_plaintext": + false, "list_name": "a_new_list", "autorespond_requests": "none", "advertised": + true, "post_id": 1, "anonymous_list": false, "reply_goes_to_list": "no_munging", + "digest_last_sent_at": null, "digest_size_threshold": 30.0, "request_address": + "a_new_list-request@example.com", "filter_content": false, "subject_prefix": + "[A_new_list] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1653'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:43 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: autoresponse_grace_period=90d&autoresponse_owner_text=&digest_size_threshold=30.0&advertised=True&autoresponse_postings_text=&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&autoresponse_request_text=&autorespond_owner=none&admin_notify_mchanges=False&autorespond_requests=none&send_welcome_message=True&display_name=A_new_list&autorespond_postings=none&administrivia=True&admin_immed_notify=True&archive_policy=public&include_rfc2369_headers=True&allow_list_posts=True&default_member_action=defer&collapse_alternatives=True&filter_content=False&reply_to_address=&convert_html_to_plaintext=False&anonymous_list=False&subject_prefix=%5BA_new_list%5D+&default_nonmember_action=hold&posting_pipeline=default-posting-pipeline&description=A+new+list.&reply_goes_to_list=no_munging&first_strip_reply_to=False + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'PATCH' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:43 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "a_new_list@example.com", "display_name": + "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:43 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"965f3e93ecccd96a6a6841d7b855119beb0a1841\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "a_new_list.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/214709187697188409361277673158423388512"}], + "start": 0, "http_etag": "\"7a5f301ca27c3070b13aae278805e55ce5f61dde\"", "total_size": + 1}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:43 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "a_new_list@example.com", + "display_name": "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", + "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}], + "start": 0, "http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\"", "total_size": + 1}'} + headers: + content-length: ['434'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:44 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "a_new_list@example.com", "display_name": + "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:44 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:44 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:44 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:44 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:45 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode '{"entries": [{"base_url": "http://example.com", + "mail_host": "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}], + "start": 0, "http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", "total_size": + 1}'} + headers: + content-length: ['383'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=a_new_list%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:33 GMT'] + location: ['http://localhost:9001/3.0/lists/a_new_list.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "a_new_list@example.com", "display_name": + "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: subscriber=owner%40example.com&list_id=a_new_list.example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:33 GMT'] + location: ['http://localhost:9001/3.0/members/51246171761300604641392785553137416355'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "a_new_list-join@example.com", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "a_new_list-owner@example.com", "archive_policy": "public", "mail_host": "example.com", + "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:38:33.726075", + "posting_pipeline": "default-posting-pipeline", "display_name": "A_new_list", + "leave_address": "a_new_list-leave@example.com", "fqdn_listname": "a_new_list@example.com", + "autoresponse_request_text": "", "volume": 1, "web_host": "example.com", "bounces_address": + "a_new_list-bounces@example.com", "send_welcome_message": true, "http_etag": + "\"d38e2ed7b2f96f1cbacc4c2e539eacfae17cb4bc\"", "description": "", "welcome_message_uri": + "mailman:///welcome.txt", "posting_address": "a_new_list@example.com", "acceptable_aliases": + [], "next_digest_number": 1, "autoresponse_postings_text": "", "default_member_action": + "defer", "default_nonmember_action": "hold", "reply_to_address": "", "convert_html_to_plaintext": + false, "list_name": "a_new_list", "autorespond_requests": "none", "advertised": + true, "post_id": 1, "anonymous_list": false, "reply_goes_to_list": "no_munging", + "digest_last_sent_at": null, "digest_size_threshold": 30.0, "request_address": + "a_new_list-request@example.com", "filter_content": false, "subject_prefix": + "[A_new_list] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1653'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: send_welcome_message=True&autorespond_requests=none&admin_notify_mchanges=False&autorespond_owner=none&autoresponse_owner_text=&admin_immed_notify=True&administrivia=True&display_name=A_new_list&autorespond_postings=none&allow_list_posts=True&digest_size_threshold=30.0&advertised=True&autoresponse_grace_period=90d&reply_goes_to_list=no_munging&autoresponse_postings_text=&posting_pipeline=default-posting-pipeline&subject_prefix=%5BA_new_list%5D+&default_nonmember_action=hold&anonymous_list=False&first_strip_reply_to=False&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&reply_to_address=&description=A+new+list.&default_member_action=defer&include_rfc2369_headers=True&autoresponse_request_text=&archive_policy=public&convert_html_to_plaintext=False&collapse_alternatives=True&filter_content=False + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'PATCH' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "a_new_list@example.com", "display_name": + "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "http_etag": "\"d2f337976e399e7d63b82e465ea5088e8b6498d1\"", "role": "owner", + "email": "owner@example.com", "delivery_mode": "regular", "list_id": "a_new_list.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/51246171761300604641392785553137416355"}], + "start": 0, "http_etag": "\"aa8cc2059dc0f5a010e6cb17a1413aa3e33924ae\"", "total_size": + 1}'} + headers: + content-length: ['517'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "a_new_list@example.com", + "display_name": "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", + "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}], + "start": 0, "http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\"", "total_size": + 1}'} + headers: + content-length: ['434'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "a_new_list@example.com", "display_name": + "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:35 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:35 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:36 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:01 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:01 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", + "entries": [{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}], "start": 0}'} + headers: + content-length: ['383'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=a_new_list%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:02:02 GMT'] + location: ['http://localhost:9001/3.0/lists/a_new_list.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com + response: + body: {string: !!python/unicode '{"list_name": "a_new_list", "volume": 1, "list_id": + "a_new_list.example.com", "fqdn_listname": "a_new_list@example.com", "self_link": + "http://localhost:9001/3.0/lists/a_new_list.example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", + "member_count": 0, "mail_host": "example.com", "display_name": "A_new_list"}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: role=owner&subscriber=owner%40example.com&list_id=a_new_list.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:02:02 GMT'] + location: ['http://localhost:9001/3.0/members/195615537482228214834061294717975450928'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config + response: + body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": + "hold", "bounces_address": "a_new_list-bounces@example.com", "send_welcome_message": + true, "description": "", "reply_to_address": "", "autoresponse_request_text": + "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": + true, "request_address": "a_new_list-request@example.com", "administrivia": + true, "include_rfc2369_headers": true, "no_reply_address": "noreply@example.com", + "display_name": "A_new_list", "filter_content": false, "acceptable_aliases": + [], "leave_address": "a_new_list-leave@example.com", "autoresponse_owner_text": + "", "post_id": 1, "reply_goes_to_list": "no_munging", "mail_host": "example.com", + "digest_last_sent_at": null, "subject_prefix": "[A_new_list] ", "next_digest_number": + 1, "scheme": "http", "posting_address": "a_new_list@example.com", "autoresponse_postings_text": + "", "created_at": "2015-02-10T12:02:02.757380", "posting_pipeline": "default-posting-pipeline", + "fqdn_listname": "a_new_list@example.com", "http_etag": "\"462113e66cd5975046cb319b69c55596be5935d7\"", + "join_address": "a_new_list-join@example.com", "admin_immed_notify": true, + "autorespond_requests": "none", "list_name": "a_new_list", "web_host": "example.com", + "volume": 1, "advertised": true, "anonymous_list": false, "default_member_action": + "defer", "autorespond_owner": "none", "convert_html_to_plaintext": false, + "digest_size_threshold": 30.0, "welcome_message_uri": "mailman:///welcome.txt", + "first_strip_reply_to": false, "autoresponse_grace_period": "90d", "owner_address": + "a_new_list-owner@example.com", "autorespond_postings": "none", "archive_policy": + "public"}'} + headers: + content-length: ['1653'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: posting_pipeline=default-posting-pipeline&collapse_alternatives=True&archive_policy=public&autoresponse_grace_period=90d&description=A+new+list.&admin_notify_mchanges=False&admin_immed_notify=True&anonymous_list=False&reply_goes_to_list=no_munging&allow_list_posts=True&include_rfc2369_headers=True&first_strip_reply_to=False&autoresponse_owner_text=&default_member_action=defer&administrivia=True&display_name=A_new_list&autorespond_postings=none&autoresponse_request_text=&digest_size_threshold=30.0&reply_to_address=&subject_prefix=%5BA_new_list%5D+&autorespond_owner=none&send_welcome_message=True&default_nonmember_action=hold&advertised=True&autoresponse_postings_text=&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&autorespond_requests=none&convert_html_to_plaintext=False&filter_content=False + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'PATCH' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:02:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com + response: + body: {string: !!python/unicode '{"list_name": "a_new_list", "volume": 1, "list_id": + "a_new_list.example.com", "fqdn_listname": "a_new_list@example.com", "self_link": + "http://localhost:9001/3.0/lists/a_new_list.example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", + "member_count": 0, "mail_host": "example.com", "display_name": "A_new_list"}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com/roster/owner + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"252e851e8dd440f1cf4f5a6860e47187be4f8d6b\"", + "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": + "a_new_list.example.com", "delivery_mode": "regular", "http_etag": "\"6ebfc451cf2e4492348b5055ebd732fff1b1f898\"", + "self_link": "http://localhost:9001/3.0/members/195615537482228214834061294717975450928"}], + "start": 0}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\"", + "entries": [{"list_name": "a_new_list", "volume": 1, "list_id": "a_new_list.example.com", + "fqdn_listname": "a_new_list@example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", "member_count": + 0, "mail_host": "example.com", "display_name": "A_new_list"}], "start": 0}'} + headers: + content-length: ['434'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com + response: + body: {string: !!python/unicode '{"list_name": "a_new_list", "volume": 1, "list_id": + "a_new_list.example.com", "fqdn_listname": "a_new_list@example.com", "self_link": + "http://localhost:9001/3.0/lists/a_new_list.example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", + "member_count": 0, "mail_host": "example.com", "display_name": "A_new_list"}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:02:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode '{"http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", + "entries": [{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['383'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=a_new_list%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:21 GMT'] + location: ['http://localhost:9001/3.0/lists/a_new_list.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "a_new_list.example.com", + "display_name": "A_new_list", "list_name": "a_new_list", "fqdn_listname": + "a_new_list@example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "member_count": 0, "mail_host": "example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=a_new_list.example.com&subscriber=owner%40example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:21 GMT'] + location: ['http://localhost:9001/3.0/members/218038233943607081881679570114371030315'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config + response: + body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": + true, "autoresponse_owner_text": "", "web_host": "example.com", "http_etag": + "\"d468f03cea8fbe84d824b96d66198de7ea18a152\"", "no_reply_address": "noreply@example.com", + "posting_address": "a_new_list@example.com", "description": "", "allow_list_posts": + true, "administrivia": true, "reply_to_address": "", "last_post_at": null, + "autorespond_requests": "none", "bounces_address": "a_new_list-bounces@example.com", + "fqdn_listname": "a_new_list@example.com", "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": + false, "default_member_action": "defer", "leave_address": "a_new_list-leave@example.com", + "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", + "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": + false, "list_name": "a_new_list", "send_welcome_message": true, "autorespond_postings": + "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": + true, "collapse_alternatives": true, "subject_prefix": "[A_new_list] ", "autoresponse_request_text": + "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": + "a_new_list-join@example.com", "filter_content": false, "digest_last_sent_at": + null, "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": + "", "created_at": "2015-02-10T13:53:21.177124", "convert_html_to_plaintext": + false, "display_name": "A_new_list", "owner_address": "a_new_list-owner@example.com", + "mail_host": "example.com", "request_address": "a_new_list-request@example.com"}'} + headers: + content-length: ['1653'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: autoresponse_owner_text=&display_name=A_new_list&posting_pipeline=default-posting-pipeline&filter_content=False&digest_size_threshold=30.0&admin_notify_mchanges=False&reply_to_address=&reply_goes_to_list=no_munging&autorespond_owner=none&include_rfc2369_headers=True&send_welcome_message=True&autorespond_postings=none&default_nonmember_action=hold&subject_prefix=%5BA_new_list%5D+&autoresponse_request_text=&archive_policy=public&first_strip_reply_to=False&default_member_action=defer&autoresponse_grace_period=90d&autorespond_requests=none&allow_list_posts=True&administrivia=True&anonymous_list=False&advertised=True&convert_html_to_plaintext=False&description=A+new+list.&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&autoresponse_postings_text=&admin_immed_notify=True&collapse_alternatives=True + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'PATCH' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "a_new_list.example.com", + "display_name": "A_new_list", "list_name": "a_new_list", "fqdn_listname": + "a_new_list@example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "member_count": 0, "mail_host": "example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"945d866118db3816c0fcd68434855c46934301f3\"", + "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": + "owner@example.com", "list_id": "a_new_list.example.com", "role": "owner", + "http_etag": "\"482099813dd9b782a66ed4d61015e457836d5d68\"", "self_link": + "http://localhost:9001/3.0/members/218038233943607081881679570114371030315", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\"", + "entries": [{"volume": 1, "list_id": "a_new_list.example.com", "display_name": + "A_new_list", "list_name": "a_new_list", "fqdn_listname": "a_new_list@example.com", + "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", "member_count": + 0, "mail_host": "example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}], + "start": 0, "total_size": 1}'} + headers: + content-length: ['434'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "a_new_list.example.com", + "display_name": "A_new_list", "list_name": "a_new_list", "fqdn_listname": + "a_new_list@example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "member_count": 0, "mail_host": "example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_index.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_index.yaml index 1b8e477..a33fc6e 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_index.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_index.yaml @@ -274,4 +274,1102 @@ date: ['Mon, 09 Feb 2015 22:14:41 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:21 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", + "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], + "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": + 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", + "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:30:21.882522", + "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": + "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", + "send_welcome_message": true, "http_etag": "\"c9caa52babcd32a95eecc33bc59a73d786cc766d\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "foo-request@example.com", "filter_content": false, + "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode '{"entries": [{"base_url": "http://example.com", + "mail_host": "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}], + "start": 0, "http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", "total_size": + 1}'} + headers: + content-length: ['383'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", + "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:30:21.882522", + "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": + "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", + "send_welcome_message": true, "http_etag": "\"c9caa52babcd32a95eecc33bc59a73d786cc766d\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "foo-request@example.com", "filter_content": false, + "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", + "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], + "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": + 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:02 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", + "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], + "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": + 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", + "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:38:02.444889", + "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": + "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", + "send_welcome_message": true, "http_etag": "\"b4ec731e97682344b105946891f658933781df93\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "foo-request@example.com", "filter_content": false, + "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode '{"entries": [{"base_url": "http://example.com", + "mail_host": "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}], + "start": 0, "http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", "total_size": + 1}'} + headers: + content-length: ['383'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", + "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:38:02.444889", + "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": + "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", + "send_welcome_message": true, "http_etag": "\"b4ec731e97682344b105946891f658933781df93\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "foo-request@example.com", "filter_content": false, + "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", + "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], + "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": + 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:20 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "entries": [{"list_name": "foo", "volume": 1, "list_id": "foo.example.com", + "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}], "start": 0}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": + "hold", "bounces_address": "foo-bounces@example.com", "send_welcome_message": + true, "description": "", "reply_to_address": "", "autoresponse_request_text": + "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": + true, "request_address": "foo-request@example.com", "administrivia": true, + "include_rfc2369_headers": true, "no_reply_address": "noreply@example.com", + "display_name": "Foo", "filter_content": false, "acceptable_aliases": [], + "leave_address": "foo-leave@example.com", "autoresponse_owner_text": "", "post_id": + 1, "reply_goes_to_list": "no_munging", "mail_host": "example.com", "digest_last_sent_at": + null, "subject_prefix": "[Foo] ", "next_digest_number": 1, "scheme": "http", + "posting_address": "foo@example.com", "autoresponse_postings_text": "", "created_at": + "2015-02-10T12:01:20.199949", "posting_pipeline": "default-posting-pipeline", + "fqdn_listname": "foo@example.com", "http_etag": "\"4c3f690fca98bc2fd53f87cb1467567812957e38\"", + "join_address": "foo-join@example.com", "admin_immed_notify": true, "autorespond_requests": + "none", "list_name": "foo", "web_host": "example.com", "volume": 1, "advertised": + true, "anonymous_list": false, "default_member_action": "defer", "autorespond_owner": + "none", "convert_html_to_plaintext": false, "digest_size_threshold": 30.0, + "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to": false, + "autoresponse_grace_period": "90d", "owner_address": "foo-owner@example.com", + "autorespond_postings": "none", "archive_policy": "public"}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", + "entries": [{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}], "start": 0}'} + headers: + content-length: ['383'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": + "hold", "bounces_address": "foo-bounces@example.com", "send_welcome_message": + true, "description": "", "reply_to_address": "", "autoresponse_request_text": + "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": + true, "request_address": "foo-request@example.com", "administrivia": true, + "include_rfc2369_headers": true, "no_reply_address": "noreply@example.com", + "display_name": "Foo", "filter_content": false, "acceptable_aliases": [], + "leave_address": "foo-leave@example.com", "autoresponse_owner_text": "", "post_id": + 1, "reply_goes_to_list": "no_munging", "mail_host": "example.com", "digest_last_sent_at": + null, "subject_prefix": "[Foo] ", "next_digest_number": 1, "scheme": "http", + "posting_address": "foo@example.com", "autoresponse_postings_text": "", "created_at": + "2015-02-10T12:01:20.199949", "posting_pipeline": "default-posting-pipeline", + "fqdn_listname": "foo@example.com", "http_etag": "\"4c3f690fca98bc2fd53f87cb1467567812957e38\"", + "join_address": "foo-join@example.com", "admin_immed_notify": true, "autorespond_requests": + "none", "list_name": "foo", "web_host": "example.com", "volume": 1, "advertised": + true, "anonymous_list": false, "default_member_action": "defer", "autorespond_owner": + "none", "convert_html_to_plaintext": false, "digest_size_threshold": 30.0, + "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to": false, + "autoresponse_grace_period": "90d", "owner_address": "foo-owner@example.com", + "autorespond_postings": "none", "archive_policy": "public"}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "entries": [{"list_name": "foo", "volume": 1, "list_id": "foo.example.com", + "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}], "start": 0}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:30 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "entries": [{"volume": 1, "list_id": "foo.example.com", "display_name": "Foo", + "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0, "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], + "start": 0, "total_size": 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": + true, "autoresponse_owner_text": "", "web_host": "example.com", "http_etag": + "\"2b85f3588acdc3570e224e3d2aa9fc9dc63663b2\"", "no_reply_address": "noreply@example.com", + "posting_address": "foo@example.com", "description": "", "allow_list_posts": + true, "administrivia": true, "reply_to_address": "", "last_post_at": null, + "autorespond_requests": "none", "bounces_address": "foo-bounces@example.com", + "fqdn_listname": "foo@example.com", "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": + false, "default_member_action": "defer", "leave_address": "foo-leave@example.com", + "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", + "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": + false, "list_name": "foo", "send_welcome_message": true, "autorespond_postings": + "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": + true, "collapse_alternatives": true, "subject_prefix": "[Foo] ", "autoresponse_request_text": + "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": + "foo-join@example.com", "filter_content": false, "digest_last_sent_at": null, + "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": + "", "created_at": "2015-02-10T13:52:30.141766", "convert_html_to_plaintext": + false, "display_name": "Foo", "owner_address": "foo-owner@example.com", "mail_host": + "example.com", "request_address": "foo-request@example.com"}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode '{"http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", + "entries": [{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['383'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": + true, "autoresponse_owner_text": "", "web_host": "example.com", "http_etag": + "\"2b85f3588acdc3570e224e3d2aa9fc9dc63663b2\"", "no_reply_address": "noreply@example.com", + "posting_address": "foo@example.com", "description": "", "allow_list_posts": + true, "administrivia": true, "reply_to_address": "", "last_post_at": null, + "autorespond_requests": "none", "bounces_address": "foo-bounces@example.com", + "fqdn_listname": "foo@example.com", "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": + false, "default_member_action": "defer", "leave_address": "foo-leave@example.com", + "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", + "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": + false, "list_name": "foo", "send_welcome_message": true, "autorespond_postings": + "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": + true, "collapse_alternatives": true, "subject_prefix": "[Foo] ", "autoresponse_request_text": + "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": + "foo-join@example.com", "filter_content": false, "digest_last_sent_at": null, + "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": + "", "created_at": "2015-02-10T13:52:30.141766", "convert_html_to_plaintext": + false, "display_name": "Foo", "owner_address": "foo-owner@example.com", "mail_host": + "example.com", "request_address": "foo-request@example.com"}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:31 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "entries": [{"volume": 1, "list_id": "foo.example.com", "display_name": "Foo", + "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0, "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], + "start": 0, "total_size": 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:31 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:31 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:31 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_moderator.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_moderator.yaml index 175fae8..6bb3aa5 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_moderator.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_moderator.yaml @@ -253,4 +253,1016 @@ date: ['Mon, 09 Feb 2015 22:14:42 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:22 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: role=moderator&subscriber=newmod%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:23 GMT'] + location: ['http://localhost:9001/3.0/members/315821910195407277855074445471339816656'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", + "http_etag": "\"9d107d30c9e18203f66f088b9e6474eaf56f007d\"", "role": "moderator", + "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": + "http://localhost:9001/3.0/members/315821910195407277855074445471339816656"}], + "start": 0, "http_etag": "\"2e64daed5190014fb384d8d01f01f63c320242e7\"", "total_size": + 1}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", + "http_etag": "\"9d107d30c9e18203f66f088b9e6474eaf56f007d\"", "role": "moderator", + "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": + "http://localhost:9001/3.0/members/315821910195407277855074445471339816656"}], + "start": 0, "http_etag": "\"2e64daed5190014fb384d8d01f01f63c320242e7\"", "total_size": + 1}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:03 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: subscriber=newmod%40example.com&list_id=foo.example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:04 GMT'] + location: ['http://localhost:9001/3.0/members/69319484268379730690780361376893950407'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", + "http_etag": "\"b14473142dc5ea009bd4d8b596bf688d7593bd5a\"", "role": "moderator", + "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": + "http://localhost:9001/3.0/members/69319484268379730690780361376893950407"}], + "start": 0, "http_etag": "\"9965f78a77863dd38c5a3124b3b1d3beba8c7039\"", "total_size": + 1}'} + headers: + content-length: ['517'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", + "http_etag": "\"b14473142dc5ea009bd4d8b596bf688d7593bd5a\"", "role": "moderator", + "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": + "http://localhost:9001/3.0/members/69319484268379730690780361376893950407"}], + "start": 0, "http_etag": "\"9965f78a77863dd38c5a3124b3b1d3beba8c7039\"", "total_size": + 1}'} + headers: + content-length: ['517'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:22 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: role=moderator&subscriber=newmod%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:22 GMT'] + location: ['http://localhost:9001/3.0/members/307158093949026640980545686340787594457'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"492e085f525a2c9e0a20d8bedae98df0e5dacb65\"", + "entries": [{"email": "newmod@example.com", "role": "moderator", "user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"0eb62f5cd4f2bc74bed63e5cdaf79b911227484f\"", + "self_link": "http://localhost:9001/3.0/members/307158093949026640980545686340787594457"}], + "start": 0}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"492e085f525a2c9e0a20d8bedae98df0e5dacb65\"", + "entries": [{"email": "newmod@example.com", "role": "moderator", "user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"0eb62f5cd4f2bc74bed63e5cdaf79b911227484f\"", + "self_link": "http://localhost:9001/3.0/members/307158093949026640980545686340787594457"}], + "start": 0}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:32 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&subscriber=newmod%40example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:32 GMT'] + location: ['http://localhost:9001/3.0/members/127740608985148952781018159814583588959'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"6935e38ad4ac9f5e6589949364e66011492ff159\"", + "entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "email": + "newmod@example.com", "list_id": "foo.example.com", "role": "moderator", "http_etag": + "\"e35c7ef1335d36c4db92b7d55de6156b453c5183\"", "self_link": "http://localhost:9001/3.0/members/127740608985148952781018159814583588959", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"6935e38ad4ac9f5e6589949364e66011492ff159\"", + "entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "email": + "newmod@example.com", "list_id": "foo.example.com", "role": "moderator", "http_etag": + "\"e35c7ef1335d36c4db92b7d55de6156b453c5183\"", "self_link": "http://localhost:9001/3.0/members/127740608985148952781018159814583588959", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_owner.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_owner.yaml index 9df4684..cbefaeb 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_owner.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_owner.yaml @@ -253,4 +253,1016 @@ date: ['Mon, 09 Feb 2015 22:14:42 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:23 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: role=owner&subscriber=newowner%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:24 GMT'] + location: ['http://localhost:9001/3.0/members/92911355898032999856885566287370306169'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", + "http_etag": "\"41cb15952083109bc171dc256e8f39bcffd43c1b\"", "role": "owner", + "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": + "http://localhost:9001/3.0/members/92911355898032999856885566287370306169"}], + "start": 0, "http_etag": "\"37f2371458529d962f1c092b65dff9a439570967\"", "total_size": + 1}'} + headers: + content-length: ['517'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", + "http_etag": "\"41cb15952083109bc171dc256e8f39bcffd43c1b\"", "role": "owner", + "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": + "http://localhost:9001/3.0/members/92911355898032999856885566287370306169"}], + "start": 0, "http_etag": "\"37f2371458529d962f1c092b65dff9a439570967\"", "total_size": + 1}'} + headers: + content-length: ['517'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:05 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: subscriber=newowner%40example.com&list_id=foo.example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:05 GMT'] + location: ['http://localhost:9001/3.0/members/250616991526833765249686627336423033546'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", + "http_etag": "\"5ac0f12c486d690adbe9ca9bb1651e3b932aae70\"", "role": "owner", + "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": + "http://localhost:9001/3.0/members/250616991526833765249686627336423033546"}], + "start": 0, "http_etag": "\"fba40f23e8ddf6bfd632beba4b9d4111e9847576\"", "total_size": + 1}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", + "http_etag": "\"5ac0f12c486d690adbe9ca9bb1651e3b932aae70\"", "role": "owner", + "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": + "http://localhost:9001/3.0/members/250616991526833765249686627336423033546"}], + "start": 0, "http_etag": "\"fba40f23e8ddf6bfd632beba4b9d4111e9847576\"", "total_size": + 1}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:23 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: role=owner&subscriber=newowner%40example.com&list_id=foo.example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:24 GMT'] + location: ['http://localhost:9001/3.0/members/119264579398215735612324460632862333333'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"e33cc26a74aa491cf91453ebcecfda36dd561151\"", + "entries": [{"email": "newowner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"7ed5138f1daaeb40aa5f66c7a9602a814cbfc18e\"", + "self_link": "http://localhost:9001/3.0/members/119264579398215735612324460632862333333"}], + "start": 0}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"e33cc26a74aa491cf91453ebcecfda36dd561151\"", + "entries": [{"email": "newowner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"7ed5138f1daaeb40aa5f66c7a9602a814cbfc18e\"", + "self_link": "http://localhost:9001/3.0/members/119264579398215735612324460632862333333"}], + "start": 0}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:34 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&subscriber=newowner%40example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:34 GMT'] + location: ['http://localhost:9001/3.0/members/132928917580241697098401741307030741000'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"9ccdb33fa09076a00f87a519497e5b00f1ec6f84\"", + "entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "email": + "newowner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": + "\"8a39bd1a0715bd5fd87eb0712beca04c90fcef01\"", "self_link": "http://localhost:9001/3.0/members/132928917580241697098401741307030741000", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"9ccdb33fa09076a00f87a519497e5b00f1ec6f84\"", + "entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "email": + "newowner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": + "\"8a39bd1a0715bd5fd87eb0712beca04c90fcef01\"", "self_link": "http://localhost:9001/3.0/members/132928917580241697098401741307030741000", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:35 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:52:35 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_owner_new_owner_added.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_owner_new_owner_added.yaml index f6403a0..b921ce7 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_owner_new_owner_added.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_owner_new_owner_added.yaml @@ -21,4 +21,90 @@ date: ['Mon, 09 Feb 2015 22:14:42 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", + "http_etag": "\"41cb15952083109bc171dc256e8f39bcffd43c1b\"", "role": "owner", + "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": + "http://localhost:9001/3.0/members/92911355898032999856885566287370306169"}], + "start": 0, "http_etag": "\"37f2371458529d962f1c092b65dff9a439570967\"", "total_size": + 1}'} + headers: + content-length: ['517'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", + "http_etag": "\"5ac0f12c486d690adbe9ca9bb1651e3b932aae70\"", "role": "owner", + "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": + "http://localhost:9001/3.0/members/250616991526833765249686627336423033546"}], + "start": 0, "http_etag": "\"fba40f23e8ddf6bfd632beba4b9d4111e9847576\"", "total_size": + 1}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"e33cc26a74aa491cf91453ebcecfda36dd561151\"", + "entries": [{"email": "newowner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"7ed5138f1daaeb40aa5f66c7a9602a814cbfc18e\"", + "self_link": "http://localhost:9001/3.0/members/119264579398215735612324460632862333333"}], + "start": 0}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"9ccdb33fa09076a00f87a519497e5b00f1ec6f84\"", + "entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "email": + "newowner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": + "\"8a39bd1a0715bd5fd87eb0712beca04c90fcef01\"", "self_link": "http://localhost:9001/3.0/members/132928917580241697098401741307030741000", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:35 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_new_moderator_added.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_new_moderator_added.yaml index 3eec335..c9ae11e 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_new_moderator_added.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_new_moderator_added.yaml @@ -21,4 +21,90 @@ date: ['Mon, 09 Feb 2015 22:14:41 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", + "http_etag": "\"9d107d30c9e18203f66f088b9e6474eaf56f007d\"", "role": "moderator", + "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": + "http://localhost:9001/3.0/members/315821910195407277855074445471339816656"}], + "start": 0, "http_etag": "\"2e64daed5190014fb384d8d01f01f63c320242e7\"", "total_size": + 1}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", + "http_etag": "\"b14473142dc5ea009bd4d8b596bf688d7593bd5a\"", "role": "moderator", + "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": + "http://localhost:9001/3.0/members/69319484268379730690780361376893950407"}], + "start": 0, "http_etag": "\"9965f78a77863dd38c5a3124b3b1d3beba8c7039\"", "total_size": + 1}'} + headers: + content-length: ['517'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"492e085f525a2c9e0a20d8bedae98df0e5dacb65\"", + "entries": [{"email": "newmod@example.com", "role": "moderator", "user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "list_id": + "foo.example.com", "delivery_mode": "regular", "http_etag": "\"0eb62f5cd4f2bc74bed63e5cdaf79b911227484f\"", + "self_link": "http://localhost:9001/3.0/members/307158093949026640980545686340787594457"}], + "start": 0}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"6935e38ad4ac9f5e6589949364e66011492ff159\"", + "entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "email": + "newmod@example.com", "list_id": "foo.example.com", "role": "moderator", "http_etag": + "\"e35c7ef1335d36c4db92b7d55de6156b453c5183\"", "self_link": "http://localhost:9001/3.0/members/127740608985148952781018159814583588959", + "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + headers: + content-length: ['518'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:52:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_metrics.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_metrics.yaml index 2d094db..0980c4e 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_metrics.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_metrics.yaml @@ -411,4 +411,2072 @@ date: ['Mon, 09 Feb 2015 22:14:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} +- request: + body: mail_host=example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:29:22 GMT'] + location: ['http://localhost:9001/3.0/domains/example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"base_url": "http://example.org", "mail_host": + "example.org", "http_etag": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", + "contact_address": "postmaster@example.org", "description": null, "url_host": + "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:29:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test%40example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:29:22 GMT'] + location: ['http://localhost:9001/3.0/lists/test.example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": + "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": + 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:29:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": + "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": + 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:29:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test.example.org/roster/owner + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:29:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test.example.org/roster/moderator + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:29:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", + "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:29:22.819920", + "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": + "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", + "send_welcome_message": true, "http_etag": "\"e46c1e1386fa0e9e13fafa0e6d79203e78bc58d4\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "test-request@example.org", "filter_content": false, + "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:29:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", + "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:29:22.819920", + "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": + "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", + "send_welcome_message": true, "http_etag": "\"e46c1e1386fa0e9e13fafa0e6d79203e78bc58d4\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "test-request@example.org", "filter_content": false, + "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:29:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", + "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:29:22.819920", + "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": + "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", + "send_welcome_message": true, "http_etag": "\"e46c1e1386fa0e9e13fafa0e6d79203e78bc58d4\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "test-request@example.org", "filter_content": false, + "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:29:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", + "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:29:22.819920", + "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": + "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", + "send_welcome_message": true, "http_etag": "\"e46c1e1386fa0e9e13fafa0e6d79203e78bc58d4\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "test-request@example.org", "filter_content": false, + "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:29:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:29:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:29:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:29:24 GMT'] + location: ['http://localhost:9001/3.0/domains/example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"base_url": "http://example.org", "mail_host": + "example.org", "http_etag": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", + "contact_address": "postmaster@example.org", "description": null, "url_host": + "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:29:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test%40example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:29:24 GMT'] + location: ['http://localhost:9001/3.0/lists/test.example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": + "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": + 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:29:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": + "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": + 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:29:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:29:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:29:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:38 GMT'] + location: ['http://localhost:9001/3.0/domains/example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"base_url": "http://example.org", "mail_host": + "example.org", "http_etag": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", + "contact_address": "postmaster@example.org", "description": null, "url_host": + "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:38 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test%40example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:38 GMT'] + location: ['http://localhost:9001/3.0/lists/test.example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": + "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": + 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:38 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": + "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": + 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test.example.org/roster/owner + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test.example.org/roster/moderator + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", + "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:30:38.609655", + "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": + "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", + "send_welcome_message": true, "http_etag": "\"318e5a433adbd11f37f5425b1f62be621c87967c\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "test-request@example.org", "filter_content": false, + "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", + "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:30:38.609655", + "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": + "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", + "send_welcome_message": true, "http_etag": "\"318e5a433adbd11f37f5425b1f62be621c87967c\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "test-request@example.org", "filter_content": false, + "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", + "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:30:38.609655", + "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": + "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", + "send_welcome_message": true, "http_etag": "\"318e5a433adbd11f37f5425b1f62be621c87967c\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "test-request@example.org", "filter_content": false, + "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", + "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:30:38.609655", + "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": + "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", + "send_welcome_message": true, "http_etag": "\"318e5a433adbd11f37f5425b1f62be621c87967c\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "test-request@example.org", "filter_content": false, + "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:40 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:40 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:40 GMT'] + location: ['http://localhost:9001/3.0/domains/example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"base_url": "http://example.org", "mail_host": + "example.org", "http_etag": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", + "contact_address": "postmaster@example.org", "description": null, "url_host": + "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:40 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test%40example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:40 GMT'] + location: ['http://localhost:9001/3.0/lists/test.example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": + "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": + 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:40 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": + "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": + 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:41 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:42 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:42 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:27 GMT'] + location: ['http://localhost:9001/3.0/domains/example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"base_url": "http://example.org", "mail_host": + "example.org", "http_etag": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", + "contact_address": "postmaster@example.org", "description": null, "url_host": + "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test%40example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:27 GMT'] + location: ['http://localhost:9001/3.0/lists/test.example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": + "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": + 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": + "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": + 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:28 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test.example.org/roster/owner + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:28 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test.example.org/roster/moderator + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:28 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", + "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:38:27.268533", + "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": + "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", + "send_welcome_message": true, "http_etag": "\"ed9509b92f1cadeda643134c667e6a5218884437\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "test-request@example.org", "filter_content": false, + "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:28 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", + "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:38:27.268533", + "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": + "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", + "send_welcome_message": true, "http_etag": "\"ed9509b92f1cadeda643134c667e6a5218884437\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "test-request@example.org", "filter_content": false, + "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:28 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", + "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:38:27.268533", + "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": + "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", + "send_welcome_message": true, "http_etag": "\"ed9509b92f1cadeda643134c667e6a5218884437\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "test-request@example.org", "filter_content": false, + "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:28 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", + "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:38:27.268533", + "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": + "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", + "send_welcome_message": true, "http_etag": "\"ed9509b92f1cadeda643134c667e6a5218884437\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "test-request@example.org", "filter_content": false, + "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:28 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:30 GMT'] + location: ['http://localhost:9001/3.0/domains/example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"base_url": "http://example.org", "mail_host": + "example.org", "http_etag": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", + "contact_address": "postmaster@example.org", "description": null, "url_host": + "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test%40example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:30 GMT'] + location: ['http://localhost:9001/3.0/lists/test.example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": + "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": + 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:30 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": + "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": + 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:31 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:53 GMT'] + location: ['http://localhost:9001/3.0/domains/example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"http_etag": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", + "url_host": "example.org", "mail_host": "example.org", "description": null, + "base_url": "http://example.org", "contact_address": "postmaster@example.org", + "self_link": "http://localhost:9001/3.0/domains/example.org"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:53 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test%40example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:53 GMT'] + location: ['http://localhost:9001/3.0/lists/test.example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"list_name": "test", "volume": 1, "list_id": + "test.example.org", "fqdn_listname": "test@example.org", "self_link": "http://localhost:9001/3.0/lists/test.example.org", + "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "member_count": + 0, "mail_host": "example.org", "display_name": "Test"}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:54 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"list_name": "test", "volume": 1, "list_id": + "test.example.org", "fqdn_listname": "test@example.org", "self_link": "http://localhost:9001/3.0/lists/test.example.org", + "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "member_count": + 0, "mail_host": "example.org", "display_name": "Test"}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:55 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test.example.org/roster/owner + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:55 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test.example.org/roster/moderator + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:55 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": + "hold", "bounces_address": "test-bounces@example.org", "send_welcome_message": + true, "description": "", "reply_to_address": "", "autoresponse_request_text": + "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": + true, "request_address": "test-request@example.org", "administrivia": true, + "include_rfc2369_headers": true, "no_reply_address": "noreply@example.org", + "display_name": "Test", "filter_content": false, "acceptable_aliases": [], + "leave_address": "test-leave@example.org", "autoresponse_owner_text": "", + "post_id": 1, "reply_goes_to_list": "no_munging", "mail_host": "example.org", + "digest_last_sent_at": null, "subject_prefix": "[Test] ", "next_digest_number": + 1, "scheme": "http", "posting_address": "test@example.org", "autoresponse_postings_text": + "", "created_at": "2015-02-10T12:01:53.953709", "posting_pipeline": "default-posting-pipeline", + "fqdn_listname": "test@example.org", "http_etag": "\"e05ce718353748e36105700f970ffc099fbe0557\"", + "join_address": "test-join@example.org", "admin_immed_notify": true, "autorespond_requests": + "none", "list_name": "test", "web_host": "example.org", "volume": 1, "advertised": + true, "anonymous_list": false, "default_member_action": "defer", "autorespond_owner": + "none", "convert_html_to_plaintext": false, "digest_size_threshold": 30.0, + "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to": false, + "autoresponse_grace_period": "90d", "owner_address": "test-owner@example.org", + "autorespond_postings": "none", "archive_policy": "public"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:55 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": + "hold", "bounces_address": "test-bounces@example.org", "send_welcome_message": + true, "description": "", "reply_to_address": "", "autoresponse_request_text": + "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": + true, "request_address": "test-request@example.org", "administrivia": true, + "include_rfc2369_headers": true, "no_reply_address": "noreply@example.org", + "display_name": "Test", "filter_content": false, "acceptable_aliases": [], + "leave_address": "test-leave@example.org", "autoresponse_owner_text": "", + "post_id": 1, "reply_goes_to_list": "no_munging", "mail_host": "example.org", + "digest_last_sent_at": null, "subject_prefix": "[Test] ", "next_digest_number": + 1, "scheme": "http", "posting_address": "test@example.org", "autoresponse_postings_text": + "", "created_at": "2015-02-10T12:01:53.953709", "posting_pipeline": "default-posting-pipeline", + "fqdn_listname": "test@example.org", "http_etag": "\"e05ce718353748e36105700f970ffc099fbe0557\"", + "join_address": "test-join@example.org", "admin_immed_notify": true, "autorespond_requests": + "none", "list_name": "test", "web_host": "example.org", "volume": 1, "advertised": + true, "anonymous_list": false, "default_member_action": "defer", "autorespond_owner": + "none", "convert_html_to_plaintext": false, "digest_size_threshold": 30.0, + "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to": false, + "autoresponse_grace_period": "90d", "owner_address": "test-owner@example.org", + "autorespond_postings": "none", "archive_policy": "public"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:55 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": + "hold", "bounces_address": "test-bounces@example.org", "send_welcome_message": + true, "description": "", "reply_to_address": "", "autoresponse_request_text": + "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": + true, "request_address": "test-request@example.org", "administrivia": true, + "include_rfc2369_headers": true, "no_reply_address": "noreply@example.org", + "display_name": "Test", "filter_content": false, "acceptable_aliases": [], + "leave_address": "test-leave@example.org", "autoresponse_owner_text": "", + "post_id": 1, "reply_goes_to_list": "no_munging", "mail_host": "example.org", + "digest_last_sent_at": null, "subject_prefix": "[Test] ", "next_digest_number": + 1, "scheme": "http", "posting_address": "test@example.org", "autoresponse_postings_text": + "", "created_at": "2015-02-10T12:01:53.953709", "posting_pipeline": "default-posting-pipeline", + "fqdn_listname": "test@example.org", "http_etag": "\"e05ce718353748e36105700f970ffc099fbe0557\"", + "join_address": "test-join@example.org", "admin_immed_notify": true, "autorespond_requests": + "none", "list_name": "test", "web_host": "example.org", "volume": 1, "advertised": + true, "anonymous_list": false, "default_member_action": "defer", "autorespond_owner": + "none", "convert_html_to_plaintext": false, "digest_size_threshold": 30.0, + "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to": false, + "autoresponse_grace_period": "90d", "owner_address": "test-owner@example.org", + "autorespond_postings": "none", "archive_policy": "public"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:55 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": + "hold", "bounces_address": "test-bounces@example.org", "send_welcome_message": + true, "description": "", "reply_to_address": "", "autoresponse_request_text": + "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": + true, "request_address": "test-request@example.org", "administrivia": true, + "include_rfc2369_headers": true, "no_reply_address": "noreply@example.org", + "display_name": "Test", "filter_content": false, "acceptable_aliases": [], + "leave_address": "test-leave@example.org", "autoresponse_owner_text": "", + "post_id": 1, "reply_goes_to_list": "no_munging", "mail_host": "example.org", + "digest_last_sent_at": null, "subject_prefix": "[Test] ", "next_digest_number": + 1, "scheme": "http", "posting_address": "test@example.org", "autoresponse_postings_text": + "", "created_at": "2015-02-10T12:01:53.953709", "posting_pipeline": "default-posting-pipeline", + "fqdn_listname": "test@example.org", "http_etag": "\"e05ce718353748e36105700f970ffc099fbe0557\"", + "join_address": "test-join@example.org", "admin_immed_notify": true, "autorespond_requests": + "none", "list_name": "test", "web_host": "example.org", "volume": 1, "advertised": + true, "anonymous_list": false, "default_member_action": "defer", "autorespond_owner": + "none", "convert_html_to_plaintext": false, "digest_size_threshold": 30.0, + "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to": false, + "autoresponse_grace_period": "90d", "owner_address": "test-owner@example.org", + "autorespond_postings": "none", "archive_policy": "public"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:55 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:58 GMT'] + location: ['http://localhost:9001/3.0/domains/example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"http_etag": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", + "url_host": "example.org", "mail_host": "example.org", "description": null, + "base_url": "http://example.org", "contact_address": "postmaster@example.org", + "self_link": "http://localhost:9001/3.0/domains/example.org"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:58 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test%40example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:01:58 GMT'] + location: ['http://localhost:9001/3.0/lists/test.example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"list_name": "test", "volume": 1, "list_id": + "test.example.org", "fqdn_listname": "test@example.org", "self_link": "http://localhost:9001/3.0/lists/test.example.org", + "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "member_count": + 0, "mail_host": "example.org", "display_name": "Test"}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:58 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"list_name": "test", "volume": 1, "list_id": + "test.example.org", "fqdn_listname": "test@example.org", "self_link": "http://localhost:9001/3.0/lists/test.example.org", + "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "member_count": + 0, "mail_host": "example.org", "display_name": "Test"}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:01:59 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:02:00 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:02:00 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:11 GMT'] + location: ['http://localhost:9001/3.0/domains/example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.org", + "description": null, "http_etag": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", + "mail_host": "example.org", "url_host": "example.org", "base_url": "http://example.org", + "contact_address": "postmaster@example.org"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:11 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test%40example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:11 GMT'] + location: ['http://localhost:9001/3.0/lists/test.example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "test.example.org", + "display_name": "Test", "list_name": "test", "fqdn_listname": "test@example.org", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "member_count": + 0, "mail_host": "example.org", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:11 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "test.example.org", + "display_name": "Test", "list_name": "test", "fqdn_listname": "test@example.org", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "member_count": + 0, "mail_host": "example.org", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test.example.org/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test.example.org/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": + true, "autoresponse_owner_text": "", "web_host": "example.org", "http_etag": + "\"1527e2dbfee0ebad5277e865baef8d08adb5be68\"", "no_reply_address": "noreply@example.org", + "posting_address": "test@example.org", "description": "", "allow_list_posts": + true, "administrivia": true, "reply_to_address": "", "last_post_at": null, + "autorespond_requests": "none", "bounces_address": "test-bounces@example.org", + "fqdn_listname": "test@example.org", "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": + false, "default_member_action": "defer", "leave_address": "test-leave@example.org", + "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", + "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": + false, "list_name": "test", "send_welcome_message": true, "autorespond_postings": + "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": + true, "collapse_alternatives": true, "subject_prefix": "[Test] ", "autoresponse_request_text": + "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": + "test-join@example.org", "filter_content": false, "digest_last_sent_at": null, + "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": + "", "created_at": "2015-02-10T13:53:11.297547", "convert_html_to_plaintext": + false, "display_name": "Test", "owner_address": "test-owner@example.org", + "mail_host": "example.org", "request_address": "test-request@example.org"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": + true, "autoresponse_owner_text": "", "web_host": "example.org", "http_etag": + "\"1527e2dbfee0ebad5277e865baef8d08adb5be68\"", "no_reply_address": "noreply@example.org", + "posting_address": "test@example.org", "description": "", "allow_list_posts": + true, "administrivia": true, "reply_to_address": "", "last_post_at": null, + "autorespond_requests": "none", "bounces_address": "test-bounces@example.org", + "fqdn_listname": "test@example.org", "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": + false, "default_member_action": "defer", "leave_address": "test-leave@example.org", + "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", + "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": + false, "list_name": "test", "send_welcome_message": true, "autorespond_postings": + "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": + true, "collapse_alternatives": true, "subject_prefix": "[Test] ", "autoresponse_request_text": + "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": + "test-join@example.org", "filter_content": false, "digest_last_sent_at": null, + "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": + "", "created_at": "2015-02-10T13:53:11.297547", "convert_html_to_plaintext": + false, "display_name": "Test", "owner_address": "test-owner@example.org", + "mail_host": "example.org", "request_address": "test-request@example.org"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": + true, "autoresponse_owner_text": "", "web_host": "example.org", "http_etag": + "\"1527e2dbfee0ebad5277e865baef8d08adb5be68\"", "no_reply_address": "noreply@example.org", + "posting_address": "test@example.org", "description": "", "allow_list_posts": + true, "administrivia": true, "reply_to_address": "", "last_post_at": null, + "autorespond_requests": "none", "bounces_address": "test-bounces@example.org", + "fqdn_listname": "test@example.org", "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": + false, "default_member_action": "defer", "leave_address": "test-leave@example.org", + "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", + "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": + false, "list_name": "test", "send_welcome_message": true, "autorespond_postings": + "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": + true, "collapse_alternatives": true, "subject_prefix": "[Test] ", "autoresponse_request_text": + "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": + "test-join@example.org", "filter_content": false, "digest_last_sent_at": null, + "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": + "", "created_at": "2015-02-10T13:53:11.297547", "convert_html_to_plaintext": + false, "display_name": "Test", "owner_address": "test-owner@example.org", + "mail_host": "example.org", "request_address": "test-request@example.org"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": + true, "autoresponse_owner_text": "", "web_host": "example.org", "http_etag": + "\"1527e2dbfee0ebad5277e865baef8d08adb5be68\"", "no_reply_address": "noreply@example.org", + "posting_address": "test@example.org", "description": "", "allow_list_posts": + true, "administrivia": true, "reply_to_address": "", "last_post_at": null, + "autorespond_requests": "none", "bounces_address": "test-bounces@example.org", + "fqdn_listname": "test@example.org", "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": + false, "default_member_action": "defer", "leave_address": "test-leave@example.org", + "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", + "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": + false, "list_name": "test", "send_welcome_message": true, "autorespond_postings": + "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": + true, "collapse_alternatives": true, "subject_prefix": "[Test] ", "autoresponse_request_text": + "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": + "test-join@example.org", "filter_content": false, "digest_last_sent_at": null, + "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": + "", "created_at": "2015-02-10T13:53:11.297547", "convert_html_to_plaintext": + false, "display_name": "Test", "owner_address": "test-owner@example.org", + "mail_host": "example.org", "request_address": "test-request@example.org"}'} + headers: + content-length: ['1593'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:14 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:14 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:15 GMT'] + location: ['http://localhost:9001/3.0/domains/example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.org", + "description": null, "http_etag": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", + "mail_host": "example.org", "url_host": "example.org", "base_url": "http://example.org", + "contact_address": "postmaster@example.org"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:15 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test%40example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:15 GMT'] + location: ['http://localhost:9001/3.0/lists/test.example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "test.example.org", + "display_name": "Test", "list_name": "test", "fqdn_listname": "test@example.org", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "member_count": + 0, "mail_host": "example.org", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:15 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "test.example.org", + "display_name": "Test", "list_name": "test", "fqdn_listname": "test@example.org", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "member_count": + 0, "mail_host": "example.org", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:17 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_summary.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_summary.yaml index f1e1a4a..283f022 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_summary.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_summary.yaml @@ -427,4 +427,1716 @@ date: ['Mon, 09 Feb 2015 22:14:54 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:45 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:45 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:45 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:45 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:45 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:45 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:45 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:45 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", + "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:30:45.497818", + "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": + "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", + "send_welcome_message": true, "http_etag": "\"5531cac6bf9d3f3c4bb7c181b01bf6f1532c20ed\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "foo-request@example.com", "filter_content": false, + "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:45 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", + "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], + "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": + 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:46 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:46 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:46 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:46 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:46 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:46 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:46 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:47 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:47 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", + "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:30:46.851535", + "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": + "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", + "send_welcome_message": true, "http_etag": "\"f5b42823958e5c690ae7f79a20930d2016b904c4\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "foo-request@example.com", "filter_content": false, + "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:47 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", + "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], + "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": + 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:47 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:30:47 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:30:47 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:36 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:36 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:36 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:36 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", + "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:38:36.749077", + "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": + "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", + "send_welcome_message": true, "http_etag": "\"1b71212bc907c6f7de2b691c04ff18a415dcb980\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "foo-request@example.com", "filter_content": false, + "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", + "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], + "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": + 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:38 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:38 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:38 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:38 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:38 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "mail_host": + "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "contact_address": "postmaster@example.com", "description": null, "url_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:38 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:38 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member + response: + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": + true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": + null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": + "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", + "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:38:38.836202", + "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": + "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": + "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", + "send_welcome_message": true, "http_etag": "\"a6c932b97af8db0710c315e3de3a0ed37b908af7\"", + "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": + "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": + "", "default_member_action": "defer", "default_nonmember_action": "hold", + "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", + "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": + false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": + 30.0, "request_address": "foo-request@example.com", "filter_content": false, + "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": + "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": + true, "allow_list_posts": true, "autorespond_owner": "none"}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", + "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], + "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": + 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:40 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": + "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 11:38:40 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 11:38:40 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:02:06 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:07 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:07 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:07 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:07 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": + "hold", "bounces_address": "foo-bounces@example.com", "send_welcome_message": + true, "description": "", "reply_to_address": "", "autoresponse_request_text": + "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": + true, "request_address": "foo-request@example.com", "administrivia": true, + "include_rfc2369_headers": true, "no_reply_address": "noreply@example.com", + "display_name": "Foo", "filter_content": false, "acceptable_aliases": [], + "leave_address": "foo-leave@example.com", "autoresponse_owner_text": "", "post_id": + 1, "reply_goes_to_list": "no_munging", "mail_host": "example.com", "digest_last_sent_at": + null, "subject_prefix": "[Foo] ", "next_digest_number": 1, "scheme": "http", + "posting_address": "foo@example.com", "autoresponse_postings_text": "", "created_at": + "2015-02-10T12:02:06.875156", "posting_pipeline": "default-posting-pipeline", + "fqdn_listname": "foo@example.com", "http_etag": "\"11450fd33021609257de9c1d1b87e33328f637b7\"", + "join_address": "foo-join@example.com", "admin_immed_notify": true, "autorespond_requests": + "none", "list_name": "foo", "web_host": "example.com", "volume": 1, "advertised": + true, "anonymous_list": false, "default_member_action": "defer", "autorespond_owner": + "none", "convert_html_to_plaintext": false, "digest_size_threshold": 30.0, + "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to": false, + "autoresponse_grace_period": "90d", "owner_address": "foo-owner@example.com", + "autorespond_postings": "none", "archive_policy": "public"}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:07 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "entries": [{"list_name": "foo", "volume": 1, "list_id": "foo.example.com", + "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}], "start": 0}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:08 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:08 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:02:08 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:09 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:09 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "url_host": "example.com", "mail_host": "example.com", "description": null, + "base_url": "http://example.com", "contact_address": "postmaster@example.com", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:09 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:02:09 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:10 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member + response: + body: {string: !!python/unicode '{"total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:10 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": + "hold", "bounces_address": "foo-bounces@example.com", "send_welcome_message": + true, "description": "", "reply_to_address": "", "autoresponse_request_text": + "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": + true, "request_address": "foo-request@example.com", "administrivia": true, + "include_rfc2369_headers": true, "no_reply_address": "noreply@example.com", + "display_name": "Foo", "filter_content": false, "acceptable_aliases": [], + "leave_address": "foo-leave@example.com", "autoresponse_owner_text": "", "post_id": + 1, "reply_goes_to_list": "no_munging", "mail_host": "example.com", "digest_last_sent_at": + null, "subject_prefix": "[Foo] ", "next_digest_number": 1, "scheme": "http", + "posting_address": "foo@example.com", "autoresponse_postings_text": "", "created_at": + "2015-02-10T12:02:09.829929", "posting_pipeline": "default-posting-pipeline", + "fqdn_listname": "foo@example.com", "http_etag": "\"56f8757198495403f365724dde7b3f913677110c\"", + "join_address": "foo-join@example.com", "admin_immed_notify": true, "autorespond_requests": + "none", "list_name": "foo", "web_host": "example.com", "volume": 1, "advertised": + true, "anonymous_list": false, "default_member_action": "defer", "autorespond_owner": + "none", "convert_html_to_plaintext": false, "digest_size_threshold": 30.0, + "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to": false, + "autoresponse_grace_period": "90d", "owner_address": "foo-owner@example.com", + "autorespond_postings": "none", "archive_policy": "public"}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:10 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "entries": [{"list_name": "foo", "volume": 1, "list_id": "foo.example.com", + "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}], "start": 0}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:11 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": + 0, "mail_host": "example.com", "display_name": "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 12:02:11 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 12:02:11 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:26 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:26 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:26 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:26 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": + true, "autoresponse_owner_text": "", "web_host": "example.com", "http_etag": + "\"754ab9c4edf12f4eb38c8271307bfebc91a62bc7\"", "no_reply_address": "noreply@example.com", + "posting_address": "foo@example.com", "description": "", "allow_list_posts": + true, "administrivia": true, "reply_to_address": "", "last_post_at": null, + "autorespond_requests": "none", "bounces_address": "foo-bounces@example.com", + "fqdn_listname": "foo@example.com", "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": + false, "default_member_action": "defer", "leave_address": "foo-leave@example.com", + "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", + "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": + false, "list_name": "foo", "send_welcome_message": true, "autorespond_postings": + "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": + true, "collapse_alternatives": true, "subject_prefix": "[Foo] ", "autoresponse_request_text": + "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": + "foo-join@example.com", "filter_content": false, "digest_last_sent_at": null, + "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": + "", "created_at": "2015-02-10T13:53:26.053210", "convert_html_to_plaintext": + false, "display_name": "Foo", "owner_address": "foo-owner@example.com", "mail_host": + "example.com", "request_address": "foo-request@example.com"}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "entries": [{"volume": 1, "list_id": "foo.example.com", "display_name": "Foo", + "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0, "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], + "start": 0, "total_size": 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:28 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:28 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:28 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode 'Domain exists'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", + "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", + "contact_address": "postmaster@example.com"}'} + headers: + content-length: ['278'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:29 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:31 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:31 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": + true, "autoresponse_owner_text": "", "web_host": "example.com", "http_etag": + "\"c839bcb0a0f5d621d57bd297f91e04647a370586\"", "no_reply_address": "noreply@example.com", + "posting_address": "foo@example.com", "description": "", "allow_list_posts": + true, "administrivia": true, "reply_to_address": "", "last_post_at": null, + "autorespond_requests": "none", "bounces_address": "foo-bounces@example.com", + "fqdn_listname": "foo@example.com", "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": + false, "default_member_action": "defer", "leave_address": "foo-leave@example.com", + "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", + "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": + false, "list_name": "foo", "send_welcome_message": true, "autorespond_postings": + "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": + true, "collapse_alternatives": true, "subject_prefix": "[Foo] ", "autoresponse_request_text": + "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": + "foo-join@example.com", "filter_content": false, "digest_last_sent_at": null, + "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": + "", "created_at": "2015-02-10T13:53:29.815355", "convert_html_to_plaintext": + false, "display_name": "Foo", "owner_address": "foo-owner@example.com", "mail_host": + "example.com", "request_address": "foo-request@example.com"}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:31 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "entries": [{"volume": 1, "list_id": "foo.example.com", "display_name": "Foo", + "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0, "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], + "start": 0, "total_size": 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": + "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": + "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 10 Feb 2015 13:53:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 10 Feb 2015 13:53:32 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} version: 1 diff --git a/tox.ini b/tox.ini index c73445f..4a56aa4 100644 --- a/tox.ini +++ b/tox.ini @@ -3,21 +3,37 @@ [testenv] usedevelop = True -commands = django-admin.py test postorius --settings=testing.test_settings +commands = + django-admin.py test --settings=testing.test_settings {posargs:postorius} setenv = PYTHONPATH = {toxinidir} -[testenv:py27-django1.5] +[base] deps = -rdev-requirements.txt + +[testenv:py27-django1.5] +deps = + {[base]deps} Django<1.6 [testenv:py27-django1.6] deps = - -rdev-requirements.txt + {[base]deps} Django<1.7 [testenv:py27-django1.7] deps = - -rdev-requirements.txt + {[base]deps} Django==1.7 + +[testenv:rerecord] +basepython = python2.7 +deps = + {[base]deps} + Django==1.7 +setenv = + PYTHONPATH = {toxinidir} + POSTORIUS_VCR_RECORD_MODE = all +commands = + django-admin.py test --settings=testing.test_settings {posargs:postorius}