diff --git a/src/postorius/forms.py b/src/postorius/forms.py index 01b57c3..e1d0596 100644 --- a/src/postorius/forms.py +++ b/src/postorius/forms.py @@ -171,12 +171,12 @@ """Form fields to join an existing list. """ - email = forms.ChoiceField( - label=_('Your email address'), - validators=[validate_email], - widget=forms.Select(), - error_messages={'required': _('Please enter an email address.'), - 'invalid': _('Please enter a valid email address.')}) + email = forms.ChoiceField(label=_('Your email address'), + validators=[validate_email], + widget=forms.Select(), + error_messages={'required': _('Please enter an email address.'), + 'invalid': _('Please enter a valid email address.')}) + display_name = forms.CharField(label=_('Your name (optional)'), required=False) diff --git a/src/postorius/templates/postorius/lists/summary.html b/src/postorius/templates/postorius/lists/summary.html index 80cfcee..d4eb240 100644 --- a/src/postorius/templates/postorius/lists/summary.html +++ b/src/postorius/templates/postorius/lists/summary.html @@ -31,7 +31,7 @@ {% else %}

{% trans 'Subscribe to this list' %}

{% csrf_token %} - {{subscribe_form.as_p}} + {{ subscribe_form.as_p }}
{% endif %} 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 fe48e57..5e949a4 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/list_members_access.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/list_members_access.yaml @@ -9,3438 +9,12 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:42 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: ['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/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: ['Mon, 09 Feb 2015 22:14:42 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: ['Mon, 09 Feb 2015 22:14: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 '{"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: ['Mon, 09 Feb 2015 22:14: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=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: ['Mon, 09 Feb 2015 22:14:43 GMT'] - location: ['http://localhost:9001/3.0/members/51131740294581548284355020148792105068'] - 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: ['Mon, 09 Feb 2015 22:14:43 GMT'] - location: ['http://localhost:9001/3.0/members/315404612538100455510291362215943819827'] - 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: ['Mon, 09 Feb 2015 22:14:43 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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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 '{"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: ['Mon, 09 Feb 2015 22:14:44 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: ['Mon, 09 Feb 2015 22:14:44 GMT'] - location: ['http://localhost:9001/3.0/members/211877927659145775206600140988891673117'] - 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: ['Mon, 09 Feb 2015 22:14:44 GMT'] - location: ['http://localhost:9001/3.0/members/74561224102330491648556315669152982006'] - 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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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/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: ['Mon, 09 Feb 2015 22:14:44 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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14:45 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: ['Mon, 09 Feb 2015 22:14:45 GMT'] - location: ['http://localhost:9001/3.0/members/189690441823108454574062063218711796982'] - 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: ['Mon, 09 Feb 2015 22:14:45 GMT'] - location: ['http://localhost:9001/3.0/members/81343349406634969036125684320138449398'] - 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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14:46 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: ['Mon, 09 Feb 2015 22:14:46 GMT'] - location: ['http://localhost:9001/3.0/members/302114124225989209497433745109755591667'] - 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: ['Mon, 09 Feb 2015 22:14:46 GMT'] - location: ['http://localhost:9001/3.0/members/27026617856252199823778113907118398408'] - 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: ['Mon, 09 Feb 2015 22:14: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?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: ['Mon, 09 Feb 2015 22:14: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/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"bc31014e4efa51162da6e4705913d4ade2e03e5e\"", "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/302114124225989209497433745109755591667"}], - "start": 0, "http_etag": "\"3bd61206a3bff34f471e9d142aa6598b1a515228\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"d2b4fd919c7938c9f6839b202b1ec8b958149c1b\"", "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/27026617856252199823778113907118398408"}], - "start": 0, "http_etag": "\"999cb0f88e95a2f60eaf9f2a52bdf621bcbabadc\"", "total_size": - 1}'} - headers: - content-length: ['522'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"bc31014e4efa51162da6e4705913d4ade2e03e5e\"", "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/302114124225989209497433745109755591667"}], - "start": 0, "http_etag": "\"3bd61206a3bff34f471e9d142aa6598b1a515228\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14:48 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: ['Mon, 09 Feb 2015 22:14:48 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic 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: ['Mon, 09 Feb 2015 22:14:48 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: ['Mon, 09 Feb 2015 22:14:48 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: ['Mon, 09 Feb 2015 22:14:48 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: ['Mon, 09 Feb 2015 22:14:48 GMT'] - location: ['http://localhost:9001/3.0/members/197378444629261385623957419949363207651'] - 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: ['Mon, 09 Feb 2015 22:14:48 GMT'] - location: ['http://localhost:9001/3.0/members/166464712322506303863131637790195933040'] - 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: ['Mon, 09 Feb 2015 22:14:48 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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: ['Mon, 09 Feb 2015 22:14:48 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, 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: ['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] + date: ['Wed, 15 Apr 2015 16:37:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 400, message: Bad Request} - request: body: null @@ -3452,14 +26,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:37 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -3471,14 +45,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:37 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: fqdn_listname=foo%40example.com @@ -3493,9 +67,9 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:37 GMT'] + date: ['Wed, 15 Apr 2015 16:37:04 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] - server: [WSGIServer/0.2 CPython/3.4.2] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -3506,18 +80,18 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: - body: list_id=foo.example.com&subscriber=owner%40example.com&role=owner + body: subscriber=owner%40example.com&role=owner&list_id=foo.example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -3529,12 +103,12 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:04 GMT'] + location: ['http://localhost:9001/3.0/members/268875000482518543567820105321511726365'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: - body: list_id=foo.example.com&subscriber=moderator%40example.com&role=moderator + body: subscriber=moderator%40example.com&role=moderator&list_id=foo.example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -3546,9 +120,9 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:04 GMT'] + location: ['http://localhost:9001/3.0/members/231519149793772937386969199763924142794'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -3562,8 +136,8 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 204, message: No Content} - request: body: mail_host=example.com @@ -3575,12 +149,12 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:43 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 400, message: Bad Request} - request: body: null @@ -3592,14 +166,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:43 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -3611,14 +185,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:43 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: fqdn_listname=foo%40example.com @@ -3633,9 +207,9 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:43 GMT'] + date: ['Wed, 15 Apr 2015 16:37:05 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] - server: [WSGIServer/0.2 CPython/3.4.2] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -3646,18 +220,18 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: - body: list_id=foo.example.com&subscriber=owner%40example.com&role=owner + body: subscriber=owner%40example.com&role=owner&list_id=foo.example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -3669,12 +243,12 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:06 GMT'] + location: ['http://localhost:9001/3.0/members/28719764479610929292328433615402103435'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: - body: list_id=foo.example.com&subscriber=moderator%40example.com&role=moderator + body: subscriber=moderator%40example.com&role=moderator&list_id=foo.example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -3686,9 +260,9 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:06 GMT'] + location: ['http://localhost:9001/3.0/members/81214149621587858402235061665238154697'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -3702,8 +276,8 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:07 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 204, message: No Content} - request: body: mail_host=example.com @@ -3715,12 +289,12 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:49 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:07 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 400, message: Bad Request} - request: body: null @@ -3732,14 +306,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:49 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:07 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -3751,14 +325,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:49 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:07 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: fqdn_listname=foo%40example.com @@ -3773,9 +347,9 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:49 GMT'] + date: ['Wed, 15 Apr 2015 16:37:07 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] - server: [WSGIServer/0.2 CPython/3.4.2] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -3786,18 +360,18 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:07 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: - body: list_id=foo.example.com&subscriber=owner%40example.com&role=owner + body: subscriber=owner%40example.com&role=owner&list_id=foo.example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -3809,12 +383,12 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:08 GMT'] + location: ['http://localhost:9001/3.0/members/180691592468332420221022363539929850756'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: - body: list_id=foo.example.com&subscriber=moderator%40example.com&role=moderator + body: subscriber=moderator%40example.com&role=moderator&list_id=foo.example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -3826,9 +400,9 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:08 GMT'] + location: ['http://localhost:9001/3.0/members/316689667026498380477592948308136312556'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -3842,8 +416,8 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:09 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 204, message: No Content} - request: body: mail_host=example.com @@ -3855,12 +429,12 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:55 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:09 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 400, message: Bad Request} - request: body: null @@ -3872,14 +446,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:55 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:09 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -3891,14 +465,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:55 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:09 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: fqdn_listname=foo%40example.com @@ -3913,9 +487,9 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:55 GMT'] + date: ['Wed, 15 Apr 2015 16:37:09 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] - server: [WSGIServer/0.2 CPython/3.4.2] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -3926,18 +500,18 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:10 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: - body: list_id=foo.example.com&subscriber=owner%40example.com&role=owner + body: subscriber=owner%40example.com&role=owner&list_id=foo.example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -3949,12 +523,12 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:10 GMT'] + location: ['http://localhost:9001/3.0/members/243181535491009733102632432052038501884'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: - body: list_id=foo.example.com&subscriber=moderator%40example.com&role=moderator + body: subscriber=moderator%40example.com&role=moderator&list_id=foo.example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -3966,9 +540,9 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:10 GMT'] + location: ['http://localhost:9001/3.0/members/284973859796682290121954074618695142795'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -3979,15 +553,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:10 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -3999,12 +573,12 @@ 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}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:10 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -4015,17 +589,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"56dd20b0e840aa6f6aa1acebc7120043357a666f\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/243181535491009733102632432052038501884", "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}'} + "owner@example.com", "role": "owner", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"15d6bada8b794bb0eb5dcb1c7b946c6552977e6c\"", "member_id": + 243181535491009733102632432052038501884, "user": "http://localhost:9001/3.0/users/27404863886629163388163608946368725426"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['511'] + content-length: ['565'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:58 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:10 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -4036,18 +611,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"f3b3c750a46717dde368e0dc04f817175cadf341\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/284973859796682290121954074618695142795", "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}'} + "moderator@example.com", "role": "moderator", "list_id": "foo.example.com", + "delivery_mode": "regular", "http_etag": "\"f587684b56d472bdeb524e6dc81507c29401c120\"", + "member_id": 284973859796682290121954074618695142795, "user": "http://localhost:9001/3.0/users/234218711574583995388460305550158364494"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['523'] + content-length: ['578'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:58 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:10 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -4058,15 +633,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:11 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -4077,17 +652,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"56dd20b0e840aa6f6aa1acebc7120043357a666f\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/243181535491009733102632432052038501884", "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}'} + "owner@example.com", "role": "owner", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"15d6bada8b794bb0eb5dcb1c7b946c6552977e6c\"", "member_id": + 243181535491009733102632432052038501884, "user": "http://localhost:9001/3.0/users/27404863886629163388163608946368725426"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['511'] + content-length: ['565'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:58 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:11 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -4101,8 +677,8 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:11 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 204, message: No Content} - request: body: mail_host=example.com @@ -4114,12 +690,12 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:03 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 400, message: Bad Request} - request: body: null @@ -4131,14 +707,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:03 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -4150,14 +726,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:03 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: fqdn_listname=foo%40example.com @@ -4172,9 +748,9 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:03 GMT'] + date: ['Wed, 15 Apr 2015 16:37:12 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] - server: [WSGIServer/0.2 CPython/3.4.2] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -4185,18 +761,18 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: - body: list_id=foo.example.com&subscriber=owner%40example.com&role=owner + body: subscriber=owner%40example.com&role=owner&list_id=foo.example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -4208,12 +784,12 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:12 GMT'] + location: ['http://localhost:9001/3.0/members/150105831240970409007423007276315698612'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: - body: list_id=foo.example.com&subscriber=moderator%40example.com&role=moderator + body: subscriber=moderator%40example.com&role=moderator&list_id=foo.example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -4225,9 +801,9 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:12 GMT'] + location: ['http://localhost:9001/3.0/members/166293496545990580777704566395323149719'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -4238,15 +814,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:13 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -4258,12 +834,12 @@ 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}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:13 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -4277,7 +853,7 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:14 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] 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 a31dc24..071f7af 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml @@ -8,1485 +8,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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/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: ['Mon, 09 Feb 2015 22:14: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/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"df3f058a5062b09bd34fdd1309c4770fc23bf6af\"", "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/51131740294581548284355020148792105068"}], - "start": 0, "http_etag": "\"6f3c9d743da982877ec96a4091cda67548ae7841\"", "total_size": - 1}'} - headers: - content-length: ['510'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"ca001134c429845c04545a511e1e36724c9466b1\"", "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/315404612538100455510291362215943819827"}], - "start": 0, "http_etag": "\"b1eaa605086c82b40cad6f9cec32e6905bdaae5a\"", "total_size": - 1}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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/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: ['Mon, 09 Feb 2015 22:14: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/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"df3f058a5062b09bd34fdd1309c4770fc23bf6af\"", "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/51131740294581548284355020148792105068"}], - "start": 0, "http_etag": "\"6f3c9d743da982877ec96a4091cda67548ae7841\"", "total_size": - 1}'} - headers: - content-length: ['510'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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/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: ['Mon, 09 Feb 2015 22:14: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/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: ['Mon, 09 Feb 2015 22:14: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/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"a01bc1e1ad719a7fd0246fe5d8b168e4a4e83318\"", "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/211877927659145775206600140988891673117"}], - "start": 0, "http_etag": "\"3a6c60a7c5f07210b22bc50bf788a7448b2757cd\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"8d5e623a09a9cb6795b8af58b9156add349aa98c\"", "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/74561224102330491648556315669152982006"}], - "start": 0, "http_etag": "\"d5fd56d9e0cc891cc55f9651a75dcc98a65d3808\"", "total_size": - 1}'} - headers: - content-length: ['522'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"a01bc1e1ad719a7fd0246fe5d8b168e4a4e83318\"", "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/211877927659145775206600140988891673117"}], - "start": 0, "http_etag": "\"3a6c60a7c5f07210b22bc50bf788a7448b2757cd\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"8d5e623a09a9cb6795b8af58b9156add349aa98c\"", "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/74561224102330491648556315669152982006"}], - "start": 0, "http_etag": "\"d5fd56d9e0cc891cc55f9651a75dcc98a65d3808\"", "total_size": - 1}'} - headers: - content-length: ['522'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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/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: ['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/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: ['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/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"e94829a7f9e6a8f7bc75dc68bfb484b527a63204\"", "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/189690441823108454574062063218711796982"}], - "start": 0, "http_etag": "\"6e899141f26da6e91823e84652e2c58c1740db3d\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - 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/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"dee160dd996a7982519e9db4a6d7c2b59664bc8b\"", "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/81343349406634969036125684320138449398"}], - "start": 0, "http_etag": "\"3c9c9917602e64986458d3db099199efb36585bf\"", "total_size": - 1}'} - headers: - content-length: ['522'] - content-type: [application/json; charset=utf-8] - 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/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"e94829a7f9e6a8f7bc75dc68bfb484b527a63204\"", "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/189690441823108454574062063218711796982"}], - "start": 0, "http_etag": "\"6e899141f26da6e91823e84652e2c58c1740db3d\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - 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/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"dee160dd996a7982519e9db4a6d7c2b59664bc8b\"", "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/81343349406634969036125684320138449398"}], - "start": 0, "http_etag": "\"3c9c9917602e64986458d3db099199efb36585bf\"", "total_size": - 1}'} - headers: - content-length: ['522'] - content-type: [application/json; charset=utf-8] - 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] + date: ['Wed, 15 Apr 2015 16:37:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1498,12 +28,12 @@ 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}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1514,17 +44,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"a49a3ce22c672815c530a0dd7953ff2de43167f7\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/268875000482518543567820105321511726365", "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}'} + "owner@example.com", "role": "owner", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"079269d1f8e22082f5726054316e36bb5aa78795\"", "member_id": + 268875000482518543567820105321511726365, "user": "http://localhost:9001/3.0/users/27404863886629163388163608946368725426"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['511'] + content-length: ['565'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:39 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1535,18 +66,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"3b88f611bc903ca00035d40f91431a307155042a\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/231519149793772937386969199763924142794", "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}'} + "moderator@example.com", "role": "moderator", "list_id": "foo.example.com", + "delivery_mode": "regular", "http_etag": "\"f4b0b5bdf8122a2596b0114b25ccbe5e6a5e1dc3\"", + "member_id": 231519149793772937386969199763924142794, "user": "http://localhost:9001/3.0/users/234218711574583995388460305550158364494"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['523'] + content-length: ['578'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:39 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1557,15 +88,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1576,17 +107,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"a49a3ce22c672815c530a0dd7953ff2de43167f7\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/268875000482518543567820105321511726365", "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}'} + "owner@example.com", "role": "owner", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"079269d1f8e22082f5726054316e36bb5aa78795\"", "member_id": + 268875000482518543567820105321511726365, "user": "http://localhost:9001/3.0/users/27404863886629163388163608946368725426"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['511'] + content-length: ['565'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:39 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:05 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1597,15 +129,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1617,12 +149,12 @@ 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}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1633,17 +165,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"91107ea2d8dd2d4b8f1718781b395474ccc88a5b\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/28719764479610929292328433615402103435", "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}'} + "owner@example.com", "role": "owner", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"8a8a9203fc61d6467822a201e1df650058e7cdc1\"", "member_id": + 28719764479610929292328433615402103435, "user": "http://localhost:9001/3.0/users/27404863886629163388163608946368725426"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['511'] + content-length: ['563'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:45 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1654,18 +187,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"fc1e74bdb4865b79465b7913a9c264fb4ebc9f18\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/81214149621587858402235061665238154697", "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}'} + "moderator@example.com", "role": "moderator", "list_id": "foo.example.com", + "delivery_mode": "regular", "http_etag": "\"b3809348996d187359f5bd4919f11d29c8af84dc\"", + "member_id": 81214149621587858402235061665238154697, "user": "http://localhost:9001/3.0/users/234218711574583995388460305550158364494"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['523'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:45 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1676,17 +209,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"91107ea2d8dd2d4b8f1718781b395474ccc88a5b\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/28719764479610929292328433615402103435", "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}'} + "owner@example.com", "role": "owner", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"8a8a9203fc61d6467822a201e1df650058e7cdc1\"", "member_id": + 28719764479610929292328433615402103435, "user": "http://localhost:9001/3.0/users/27404863886629163388163608946368725426"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['511'] + content-length: ['563'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:45 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1697,18 +231,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"fc1e74bdb4865b79465b7913a9c264fb4ebc9f18\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/81214149621587858402235061665238154697", "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}'} + "moderator@example.com", "role": "moderator", "list_id": "foo.example.com", + "delivery_mode": "regular", "http_etag": "\"b3809348996d187359f5bd4919f11d29c8af84dc\"", + "member_id": 81214149621587858402235061665238154697, "user": "http://localhost:9001/3.0/users/234218711574583995388460305550158364494"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['523'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:45 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1719,15 +253,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:08 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1739,12 +273,12 @@ 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}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:08 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1755,17 +289,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"82ff3f44a1b9c0ad6d3447fd422f9b17b0c6dc5b\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/180691592468332420221022363539929850756", "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}'} + "owner@example.com", "role": "owner", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"0598f1f0266844820035ee958e88f6fc7cd0db51\"", "member_id": + 180691592468332420221022363539929850756, "user": "http://localhost:9001/3.0/users/27404863886629163388163608946368725426"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['511'] + content-length: ['565'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:51 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:08 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1776,18 +311,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"33562da9854f8e114c6b9100e7bde1900b2c846a\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/316689667026498380477592948308136312556", "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}'} + "moderator@example.com", "role": "moderator", "list_id": "foo.example.com", + "delivery_mode": "regular", "http_etag": "\"0bbb4bee4de0567faea151c6335161ea2d2b3c67\"", + "member_id": 316689667026498380477592948308136312556, "user": "http://localhost:9001/3.0/users/234218711574583995388460305550158364494"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['523'] + content-length: ['578'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:51 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:08 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1798,17 +333,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"82ff3f44a1b9c0ad6d3447fd422f9b17b0c6dc5b\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/180691592468332420221022363539929850756", "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}'} + "owner@example.com", "role": "owner", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"0598f1f0266844820035ee958e88f6fc7cd0db51\"", "member_id": + 180691592468332420221022363539929850756, "user": "http://localhost:9001/3.0/users/27404863886629163388163608946368725426"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['511'] + content-length: ['565'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:51 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:08 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1819,17 +355,17 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"33562da9854f8e114c6b9100e7bde1900b2c846a\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/316689667026498380477592948308136312556", "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}'} + "moderator@example.com", "role": "moderator", "list_id": "foo.example.com", + "delivery_mode": "regular", "http_etag": "\"0bbb4bee4de0567faea151c6335161ea2d2b3c67\"", + "member_id": 316689667026498380477592948308136312556, "user": "http://localhost:9001/3.0/users/234218711574583995388460305550158364494"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['523'] + content-length: ['578'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:51 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:08 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] 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 3713584..d5db59e 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_creation.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_creation.yaml @@ -9,1478 +9,12 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:51 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: ['Mon, 09 Feb 2015 22:14: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/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: ['Mon, 09 Feb 2015 22:14: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/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: ['Mon, 09 Feb 2015 22:14: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/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: ['Mon, 09 Feb 2015 22:14: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/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: ['Mon, 09 Feb 2015 22:14:51 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: ['Mon, 09 Feb 2015 22:14:51 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: ['Mon, 09 Feb 2015 22:14:51 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: ['Mon, 09 Feb 2015 22:14:51 GMT'] - location: ['http://localhost:9001/3.0/members/201301032712111293964645665073540073466'] - 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-09T22:14:51.714036", - "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": - "\"5c317ba46d03974ed3dab2656d0bb5fea8562959\"", "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: ['Mon, 09 Feb 2015 22:14:51 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&allow_list_posts=True&autoresponse_owner_text=&default_member_action=defer&archive_policy=public&filter_content=False&default_nonmember_action=hold&anonymous_list=False&subject_prefix=%5BA_new_list%5D+&display_name=A_new_list&include_rfc2369_headers=True&reply_to_address=&digest_size_threshold=30.0&advertised=True&autoresponse_grace_period=90d&collapse_alternatives=True&autorespond_postings=none&convert_html_to_plaintext=False&administrivia=True&autorespond_requests=none&send_welcome_message=True&reply_goes_to_list=no_munging&posting_pipeline=default-posting-pipeline&admin_notify_mchanges=False&autorespond_owner=none&description=A+new+list.&admin_immed_notify=True&autoresponse_postings_text=&first_strip_reply_to=False&autoresponse_request_text= - 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: ['Mon, 09 Feb 2015 22:14:51 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: ['Mon, 09 Feb 2015 22:14: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/a_new_list.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"e2263065a3d09fdd5e65d7eb5d16decb359151b0\"", "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/201301032712111293964645665073540073466"}], - "start": 0, "http_etag": "\"91bc9108fa92332e76a08e415db23af9c5fd1bfd\"", "total_size": - 1}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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 - 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: ['Mon, 09 Feb 2015 22:14:52 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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: ['Mon, 09 Feb 2015 22:14:52 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, 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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14:52 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: ['Mon, 09 Feb 2015 22:14:52 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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: ['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] + date: ['Wed, 15 Apr 2015 16:37:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 400, message: Bad Request} - request: body: null @@ -1492,14 +26,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:20 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1510,16 +44,16 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode '{"http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", + body: {string: !!python/unicode '{"http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", "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}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}], "total_size": 1, "start": 0}'} headers: - content-length: ['383'] + content-length: ['338'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:21 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1531,14 +65,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:21 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1550,14 +84,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:21 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1569,14 +103,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:21 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: fqdn_listname=a_new_list%40example.com @@ -1591,9 +125,9 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:21 GMT'] + date: ['Wed, 15 Apr 2015 16:37:25 GMT'] location: ['http://localhost:9001/3.0/lists/a_new_list.example.com'] - server: [WSGIServer/0.2 CPython/3.4.2] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -1604,18 +138,19 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", + "mail_host": "example.com", "display_name": "A_new_list", "member_count": + 0, "list_name": "a_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "fqdn_listname": "a_new_list@example.com", "list_id": "a_new_list.example.com", + "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: - body: list_id=a_new_list.example.com&subscriber=owner%40example.com&role=owner + body: subscriber=owner%40example.com&role=owner&list_id=a_new_list.example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -1627,9 +162,9 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:25 GMT'] + location: ['http://localhost:9001/3.0/members/139663035225148366334662104157012452725'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -1640,34 +175,35 @@ 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"}'} + body: {string: !!python/unicode '{"anonymous_list": false, "convert_html_to_plaintext": + false, "include_rfc2369_headers": true, "reply_goes_to_list": "no_munging", + "allow_list_posts": true, "collapse_alternatives": true, "default_member_action": + "defer", "bounces_address": "a_new_list-bounces@example.com", "archive_policy": + "public", "post_id": 1, "display_name": "A_new_list", "default_nonmember_action": + "hold", "request_address": "a_new_list-request@example.com", "last_post_at": + null, "autorespond_requests": "none", "first_strip_reply_to": false, "list_name": + "a_new_list", "acceptable_aliases": [], "created_at": "2015-04-15T16:37:25.381787", + "fqdn_listname": "a_new_list@example.com", "autoresponse_owner_text": "", + "leave_address": "a_new_list-leave@example.com", "administrivia": true, "volume": + 1, "digest_size_threshold": 30.0, "http_etag": "\"2ceb9e3048e6a8175136f811c46d1e6be326c4ce\"", + "owner_address": "a_new_list-owner@example.com", "send_welcome_message": true, + "mail_host": "example.com", "no_reply_address": "noreply@example.com", "admin_immed_notify": + true, "join_address": "a_new_list-join@example.com", "autoresponse_request_text": + "", "digest_last_sent_at": null, "autorespond_postings": "none", "web_host": + "example.com", "filter_content": false, "description": "", "advertised": true, + "subject_prefix": "[A_new_list] ", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "next_digest_number": 1, "welcome_message_uri": "mailman:///welcome.txt", + "scheme": "http", "autoresponse_grace_period": "90d", "posting_address": "a_new_list@example.com", + "autorespond_owner": "none", "admin_notify_mchanges": false, "autoresponse_postings_text": + ""}'} 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] + date: ['Wed, 15 Apr 2015 16:37:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] 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 + body: posting_pipeline=default-posting-pipeline&autorespond_requests=none&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&digest_size_threshold=30.0&anonymous_list=False&first_strip_reply_to=False&admin_notify_mchanges=False&autoresponse_request_text=&send_welcome_message=True&include_rfc2369_headers=True&display_name=A_new_list&administrivia=True&autoresponse_owner_text=&collapse_alternatives=True&autorespond_owner=none&admin_immed_notify=True&filter_content=False&description=A+new+list.&convert_html_to_plaintext=False&default_nonmember_action=hold&archive_policy=public&reply_goes_to_list=no_munging&autoresponse_postings_text=&subject_prefix=%5BA_new_list%5D+&reply_to_address=&autoresponse_grace_period=90d&advertised=True&allow_list_posts=True&autorespond_postings=none&default_member_action=defer headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -1679,8 +215,8 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 204, message: No Content} - request: body: null @@ -1691,15 +227,16 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", + "mail_host": "example.com", "display_name": "A_new_list", "member_count": + 0, "list_name": "a_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "fqdn_listname": "a_new_list@example.com", "list_id": "a_new_list.example.com", + "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1710,18 +247,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"8c3c55cb37e05fd492cef4e1972c6066dc4c79e9\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/139663035225148366334662104157012452725", "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}'} + "owner@example.com", "role": "owner", "list_id": "a_new_list.example.com", + "delivery_mode": "regular", "http_etag": "\"2c5ea31577539f3fc01b8eff29806166e50826ce\"", + "member_id": 139663035225148366334662104157012452725, "user": "http://localhost:9001/3.0/users/27404863886629163388163608946368725426"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['518'] + content-length: ['572'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:21 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:25 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1733,16 +270,16 @@ 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}'} + "entries": [{"http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", + "mail_host": "example.com", "display_name": "A_new_list", "member_count": + 0, "list_name": "a_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "fqdn_listname": "a_new_list@example.com", "list_id": "a_new_list.example.com", + "volume": 1}], "total_size": 1, "start": 0}'} 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] + date: ['Wed, 15 Apr 2015 16:37:26 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1753,15 +290,16 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", + "mail_host": "example.com", "display_name": "A_new_list", "member_count": + 0, "list_name": "a_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "fqdn_listname": "a_new_list@example.com", "list_id": "a_new_list.example.com", + "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:26 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1775,8 +313,8 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:26 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 204, message: No Content} - request: body: mail_host=example.com @@ -1788,12 +326,12 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:23 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:26 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 400, message: Bad Request} - request: body: null @@ -1805,14 +343,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:23 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:26 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1824,11 +362,11 @@ uri: http://localhost:9001/3.0/lists response: body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", - "start": 0, "total_size": 0}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] 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 a33fc6e..d70bb40 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_index.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_index.yaml @@ -9,1111 +9,12 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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 '{"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: ['Mon, 09 Feb 2015 22:14: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 '{"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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14: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 - 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: ['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 - 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: ['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/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-09T22:14:40.942414", - "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": "\"263d909736126c6ee838554c111f8399e6cad8c6\"", - "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: ['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/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: ['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/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: ['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/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-09T22:14:40.942414", - "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": "\"263d909736126c6ee838554c111f8399e6cad8c6\"", - "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: ['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 - 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: ['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 - 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: ['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 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - 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] + date: ['Wed, 15 Apr 2015 16:37:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 400, message: Bad Request} - request: body: null @@ -1125,14 +26,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:30 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1144,14 +45,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:30 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: fqdn_listname=foo%40example.com @@ -1166,9 +67,9 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:30 GMT'] + date: ['Wed, 15 Apr 2015 16:37:27 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] - server: [WSGIServer/0.2 CPython/3.4.2] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -1180,15 +81,16 @@ 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}'} + "entries": [{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}], "total_size": + 1, "start": 0}'} 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] + date: ['Wed, 15 Apr 2015 16:37:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1199,15 +101,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1218,31 +120,31 @@ 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"}'} + body: {string: !!python/unicode '{"anonymous_list": false, "convert_html_to_plaintext": + false, "include_rfc2369_headers": true, "reply_goes_to_list": "no_munging", + "allow_list_posts": true, "collapse_alternatives": true, "default_member_action": + "defer", "bounces_address": "foo-bounces@example.com", "archive_policy": "public", + "post_id": 1, "display_name": "Foo", "default_nonmember_action": "hold", "request_address": + "foo-request@example.com", "last_post_at": null, "autorespond_requests": "none", + "first_strip_reply_to": false, "list_name": "foo", "acceptable_aliases": [], + "created_at": "2015-04-15T16:37:27.215355", "fqdn_listname": "foo@example.com", + "autoresponse_owner_text": "", "leave_address": "foo-leave@example.com", "administrivia": + true, "volume": 1, "digest_size_threshold": 30.0, "http_etag": "\"72385e37f0757d9acbd225afb5689a4ae45b3639\"", + "owner_address": "foo-owner@example.com", "send_welcome_message": true, "mail_host": + "example.com", "no_reply_address": "noreply@example.com", "admin_immed_notify": + true, "join_address": "foo-join@example.com", "autoresponse_request_text": + "", "digest_last_sent_at": null, "autorespond_postings": "none", "web_host": + "example.com", "filter_content": false, "description": "", "advertised": true, + "subject_prefix": "[Foo] ", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "next_digest_number": 1, "welcome_message_uri": "mailman:///welcome.txt", + "scheme": "http", "autoresponse_grace_period": "90d", "posting_address": "foo@example.com", + "autorespond_owner": "none", "admin_notify_mchanges": false, "autoresponse_postings_text": + ""}'} 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] + date: ['Wed, 15 Apr 2015 16:37:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1253,16 +155,16 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode '{"http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", + body: {string: !!python/unicode '{"http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", "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}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}], "total_size": 1, "start": 0}'} headers: - content-length: ['383'] + content-length: ['338'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:30 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1274,14 +176,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:30 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1292,31 +194,31 @@ 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"}'} + body: {string: !!python/unicode '{"anonymous_list": false, "convert_html_to_plaintext": + false, "include_rfc2369_headers": true, "reply_goes_to_list": "no_munging", + "allow_list_posts": true, "collapse_alternatives": true, "default_member_action": + "defer", "bounces_address": "foo-bounces@example.com", "archive_policy": "public", + "post_id": 1, "display_name": "Foo", "default_nonmember_action": "hold", "request_address": + "foo-request@example.com", "last_post_at": null, "autorespond_requests": "none", + "first_strip_reply_to": false, "list_name": "foo", "acceptable_aliases": [], + "created_at": "2015-04-15T16:37:27.215355", "fqdn_listname": "foo@example.com", + "autoresponse_owner_text": "", "leave_address": "foo-leave@example.com", "administrivia": + true, "volume": 1, "digest_size_threshold": 30.0, "http_etag": "\"72385e37f0757d9acbd225afb5689a4ae45b3639\"", + "owner_address": "foo-owner@example.com", "send_welcome_message": true, "mail_host": + "example.com", "no_reply_address": "noreply@example.com", "admin_immed_notify": + true, "join_address": "foo-join@example.com", "autoresponse_request_text": + "", "digest_last_sent_at": null, "autorespond_postings": "none", "web_host": + "example.com", "filter_content": false, "description": "", "advertised": true, + "subject_prefix": "[Foo] ", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "next_digest_number": 1, "welcome_message_uri": "mailman:///welcome.txt", + "scheme": "http", "autoresponse_grace_period": "90d", "posting_address": "foo@example.com", + "autorespond_owner": "none", "admin_notify_mchanges": false, "autoresponse_postings_text": + ""}'} 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] + date: ['Wed, 15 Apr 2015 16:37:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1328,15 +230,16 @@ 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}'} + "entries": [{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}], "total_size": + 1, "start": 0}'} 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] + date: ['Wed, 15 Apr 2015 16:37:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1347,15 +250,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1369,7 +272,7 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:27 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] 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 6bb3aa5..50d271f 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 @@ -9,67 +9,12 @@ 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: ['Mon, 09 Feb 2015 22:14:41 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: ['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/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: ['Mon, 09 Feb 2015 22:14:41 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: ['Mon, 09 Feb 2015 22:14:41 GMT'] - location: ['http://localhost:9001/3.0/lists/foo.example.com'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:01 GMT'] + location: ['http://localhost:9001/3.0/domains/example.com'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -78,995 +23,17 @@ !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] !!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: ['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/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: ['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/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: ['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 '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", - "total_size": 0}'} - headers: - content-length: ['90'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:41 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: ['Mon, 09 Feb 2015 22:14:41 GMT'] - location: ['http://localhost:9001/3.0/members/751438638793541747994579529807846416'] - 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: ['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": "\"e36337be00e19d69928cd36a0c157f15ec088681\"", "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/751438638793541747994579529807846416"}], - "start": 0, "http_etag": "\"7832c6b042b036fcddb53de933b99aae44a37946\"", "total_size": - 1}'} - headers: - content-length: ['515'] - content-type: [application/json; charset=utf-8] - 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": "\"e36337be00e19d69928cd36a0c157f15ec088681\"", "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/751438638793541747994579529807846416"}], - "start": 0, "http_etag": "\"7832c6b042b036fcddb53de933b99aae44a37946\"", "total_size": - 1}'} - headers: - content-length: ['515'] - content-type: [application/json; charset=utf-8] - 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 - 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: ['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 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] 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] + date: ['Wed, 15 Apr 2015 16:37:01 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: fqdn_listname=foo%40example.com @@ -1081,9 +48,9 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:32 GMT'] + date: ['Wed, 15 Apr 2015 16:37:01 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] - server: [WSGIServer/0.2 CPython/3.4.2] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -1094,15 +61,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:01 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1114,12 +81,12 @@ 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}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:01 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1131,12 +98,12 @@ 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}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:01 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1148,15 +115,15 @@ 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}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:01 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: - body: list_id=foo.example.com&subscriber=newmod%40example.com&role=moderator + body: subscriber=newmod%40example.com&role=moderator&list_id=foo.example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -1168,9 +135,9 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:02 GMT'] + location: ['http://localhost:9001/3.0/members/283149286006462718865486379651890251922'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -1182,12 +149,12 @@ 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}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1198,17 +165,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"623232fd27c04b98091e9108686a1d05c6e9293b\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/283149286006462718865486379651890251922", "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}'} + "newmod@example.com", "role": "moderator", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"8bfa05c2b10f45952399798d8799281dad05ca8f\"", "member_id": + 283149286006462718865486379651890251922, "user": "http://localhost:9001/3.0/users/85465593904049856836082571744605433836"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['518'] + content-length: ['571'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:32 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1219,17 +187,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"623232fd27c04b98091e9108686a1d05c6e9293b\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/283149286006462718865486379651890251922", "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}'} + "newmod@example.com", "role": "moderator", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"8bfa05c2b10f45952399798d8799281dad05ca8f\"", "member_id": + 283149286006462718865486379651890251922, "user": "http://localhost:9001/3.0/users/85465593904049856836082571744605433836"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['518'] + content-length: ['571'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:32 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1240,15 +209,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1262,7 +231,7 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] 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 cbefaeb..31bf18c 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 @@ -9,1026 +9,12 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:42 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: ['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/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: ['Mon, 09 Feb 2015 22:14:42 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: ['Mon, 09 Feb 2015 22:14:42 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: ['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/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: ['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 '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", - "total_size": 0}'} - headers: - content-length: ['90'] - content-type: [application/json; charset=utf-8] - 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/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: ['Mon, 09 Feb 2015 22:14:42 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: ['Mon, 09 Feb 2015 22:14:42 GMT'] - location: ['http://localhost:9001/3.0/members/267920195804341479595887151335923694476'] - 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": "\"66a1d315af633b2da10b8bc3991534ca60c1d697\"", "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/267920195804341479595887151335923694476"}], - "start": 0, "http_etag": "\"d8d824807c3758b3628cb90b39281980cb7f6c50\"", "total_size": - 1}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - 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/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: ['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": "\"66a1d315af633b2da10b8bc3991534ca60c1d697\"", "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/267920195804341479595887151335923694476"}], - "start": 0, "http_etag": "\"d8d824807c3758b3628cb90b39281980cb7f6c50\"", "total_size": - 1}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - 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 - 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: ['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 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - 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] + date: ['Wed, 15 Apr 2015 16:37:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 400, message: Bad Request} - request: body: null @@ -1040,14 +26,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:34 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1059,14 +45,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:34 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: fqdn_listname=foo%40example.com @@ -1081,9 +67,9 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:34 GMT'] + date: ['Wed, 15 Apr 2015 16:37:02 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] - server: [WSGIServer/0.2 CPython/3.4.2] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -1094,15 +80,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1114,12 +100,12 @@ 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}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1131,12 +117,12 @@ 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}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1148,15 +134,15 @@ 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}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: - body: list_id=foo.example.com&subscriber=newowner%40example.com&role=owner + body: subscriber=newowner%40example.com&role=owner&list_id=foo.example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -1168,9 +154,9 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:03 GMT'] + location: ['http://localhost:9001/3.0/members/19295688805900371966644071971854626765'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -1181,17 +167,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"5582036b92a767fd305b0be4829e77b1569c12fa\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/19295688805900371966644071971854626765", "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}'} + "newowner@example.com", "role": "owner", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"5e63843705fac75c0d2b42fd33173d6edfbb380a\"", "member_id": + 19295688805900371966644071971854626765, "user": "http://localhost:9001/3.0/users/247619340125161110113489432400047826899"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['518'] + content-length: ['570'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:34 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1203,12 +190,12 @@ 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}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1219,17 +206,18 @@ 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", + body: {string: !!python/unicode '{"http_etag": "\"5582036b92a767fd305b0be4829e77b1569c12fa\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/19295688805900371966644071971854626765", "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}'} + "newowner@example.com", "role": "owner", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"5e63843705fac75c0d2b42fd33173d6edfbb380a\"", "member_id": + 19295688805900371966644071971854626765, "user": "http://localhost:9001/3.0/users/247619340125161110113489432400047826899"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['518'] + content-length: ['570'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:34 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1240,15 +228,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1262,7 +250,7 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] 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 b921ce7..a9272e6 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 @@ -8,103 +8,17 @@ 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": "\"66a1d315af633b2da10b8bc3991534ca60c1d697\"", "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/267920195804341479595887151335923694476"}], - "start": 0, "http_etag": "\"d8d824807c3758b3628cb90b39281980cb7f6c50\"", "total_size": - 1}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - 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", + body: {string: !!python/unicode '{"http_etag": "\"5582036b92a767fd305b0be4829e77b1569c12fa\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/19295688805900371966644071971854626765", "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}'} + "newowner@example.com", "role": "owner", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"5e63843705fac75c0d2b42fd33173d6edfbb380a\"", "member_id": + 19295688805900371966644071971854626765, "user": "http://localhost:9001/3.0/users/247619340125161110113489432400047826899"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['518'] + content-length: ['570'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:35 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:03 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] 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 c9ae11e..0dbd4ea 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 @@ -8,103 +8,17 @@ 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": "\"e36337be00e19d69928cd36a0c157f15ec088681\"", "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/751438638793541747994579529807846416"}], - "start": 0, "http_etag": "\"7832c6b042b036fcddb53de933b99aae44a37946\"", "total_size": - 1}'} - headers: - content-length: ['515'] - content-type: [application/json; charset=utf-8] - 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", + body: {string: !!python/unicode '{"http_etag": "\"623232fd27c04b98091e9108686a1d05c6e9293b\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/283149286006462718865486379651890251922", "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}'} + "newmod@example.com", "role": "moderator", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"8bfa05c2b10f45952399798d8799281dad05ca8f\"", "member_id": + 283149286006462718865486379651890251922, "user": "http://localhost:9001/3.0/users/85465593904049856836082571744605433836"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['518'] + content-length: ['571'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:33 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] 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 0980c4e..0506a65 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_metrics.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_metrics.yaml @@ -12,2073 +12,9 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:49 GMT'] + date: ['Wed, 15 Apr 2015 16:37:14 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: ['Mon, 09 Feb 2015 22:14:49 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: ['Mon, 09 Feb 2015 22:14:49 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: ['Mon, 09 Feb 2015 22:14: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/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: ['Mon, 09 Feb 2015 22:14:50 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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: ['Mon, 09 Feb 2015 22:14:50 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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: ['Mon, 09 Feb 2015 22:14:50 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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-09T22:14:49.876475", - "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": "\"9cf34b32814407604ed8f6bfa08d8e40777cddea\"", - "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: ['Mon, 09 Feb 2015 22:14:50 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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-09T22:14:49.876475", - "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": "\"9cf34b32814407604ed8f6bfa08d8e40777cddea\"", - "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: ['Mon, 09 Feb 2015 22:14:50 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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-09T22:14:49.876475", - "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": "\"9cf34b32814407604ed8f6bfa08d8e40777cddea\"", - "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: ['Mon, 09 Feb 2015 22:14:50 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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-09T22:14:49.876475", - "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": "\"9cf34b32814407604ed8f6bfa08d8e40777cddea\"", - "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: ['Mon, 09 Feb 2015 22:14:50 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, 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: ['Mon, 09 Feb 2015 22:14:50 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: ['Mon, 09 Feb 2015 22:14:50 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: ['Mon, 09 Feb 2015 22:14:50 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: ['Mon, 09 Feb 2015 22:14:50 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: ['Mon, 09 Feb 2015 22:14:50 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: ['Mon, 09 Feb 2015 22:14:50 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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: ['Mon, 09 Feb 2015 22:14: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 'DELETE' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - 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: null - headers: - accept-encoding: ['gzip, 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: ['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] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -2090,14 +26,14 @@ 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"}'} + "mail_host": "example.org", "base_url": "http://example.org", "url_host": + "example.org", "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:11 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:14 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: fqdn_listname=test%40example.org @@ -2112,9 +48,9 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:11 GMT'] + date: ['Wed, 15 Apr 2015 16:37:14 GMT'] location: ['http://localhost:9001/3.0/lists/test.example.org'] - server: [WSGIServer/0.2 CPython/3.4.2] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -2125,15 +61,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + "mail_host": "example.org", "display_name": "Test", "member_count": 0, "list_name": + "test", "self_link": "http://localhost:9001/3.0/lists/test.example.org", "fqdn_listname": + "test@example.org", "list_id": "test.example.org", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:14 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -2144,15 +80,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + "mail_host": "example.org", "display_name": "Test", "member_count": 0, "list_name": + "test", "self_link": "http://localhost:9001/3.0/lists/test.example.org", "fqdn_listname": + "test@example.org", "list_id": "test.example.org", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:14 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -2164,12 +100,12 @@ 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}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:15 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -2181,12 +117,12 @@ 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}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:15 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -2197,31 +133,31 @@ 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"}'} + body: {string: !!python/unicode '{"anonymous_list": false, "convert_html_to_plaintext": + false, "include_rfc2369_headers": true, "reply_goes_to_list": "no_munging", + "allow_list_posts": true, "collapse_alternatives": true, "default_member_action": + "defer", "bounces_address": "test-bounces@example.org", "archive_policy": + "public", "post_id": 1, "display_name": "Test", "default_nonmember_action": + "hold", "request_address": "test-request@example.org", "last_post_at": null, + "autorespond_requests": "none", "first_strip_reply_to": false, "list_name": + "test", "acceptable_aliases": [], "created_at": "2015-04-15T16:37:14.615885", + "fqdn_listname": "test@example.org", "autoresponse_owner_text": "", "leave_address": + "test-leave@example.org", "administrivia": true, "volume": 1, "digest_size_threshold": + 30.0, "http_etag": "\"52dee0bd3f5f55d27c855957c19759176c73ac6f\"", "owner_address": + "test-owner@example.org", "send_welcome_message": true, "mail_host": "example.org", + "no_reply_address": "noreply@example.org", "admin_immed_notify": true, "join_address": + "test-join@example.org", "autoresponse_request_text": "", "digest_last_sent_at": + null, "autorespond_postings": "none", "web_host": "example.org", "filter_content": + false, "description": "", "advertised": true, "subject_prefix": "[Test] ", + "posting_pipeline": "default-posting-pipeline", "reply_to_address": "", "next_digest_number": + 1, "welcome_message_uri": "mailman:///welcome.txt", "scheme": "http", "autoresponse_grace_period": + "90d", "posting_address": "test@example.org", "autorespond_owner": "none", + "admin_notify_mchanges": false, "autoresponse_postings_text": ""}'} 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] + date: ['Wed, 15 Apr 2015 16:37:15 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -2232,31 +168,31 @@ 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"}'} + body: {string: !!python/unicode '{"anonymous_list": false, "convert_html_to_plaintext": + false, "include_rfc2369_headers": true, "reply_goes_to_list": "no_munging", + "allow_list_posts": true, "collapse_alternatives": true, "default_member_action": + "defer", "bounces_address": "test-bounces@example.org", "archive_policy": + "public", "post_id": 1, "display_name": "Test", "default_nonmember_action": + "hold", "request_address": "test-request@example.org", "last_post_at": null, + "autorespond_requests": "none", "first_strip_reply_to": false, "list_name": + "test", "acceptable_aliases": [], "created_at": "2015-04-15T16:37:14.615885", + "fqdn_listname": "test@example.org", "autoresponse_owner_text": "", "leave_address": + "test-leave@example.org", "administrivia": true, "volume": 1, "digest_size_threshold": + 30.0, "http_etag": "\"52dee0bd3f5f55d27c855957c19759176c73ac6f\"", "owner_address": + "test-owner@example.org", "send_welcome_message": true, "mail_host": "example.org", + "no_reply_address": "noreply@example.org", "admin_immed_notify": true, "join_address": + "test-join@example.org", "autoresponse_request_text": "", "digest_last_sent_at": + null, "autorespond_postings": "none", "web_host": "example.org", "filter_content": + false, "description": "", "advertised": true, "subject_prefix": "[Test] ", + "posting_pipeline": "default-posting-pipeline", "reply_to_address": "", "next_digest_number": + 1, "welcome_message_uri": "mailman:///welcome.txt", "scheme": "http", "autoresponse_grace_period": + "90d", "posting_address": "test@example.org", "autorespond_owner": "none", + "admin_notify_mchanges": false, "autoresponse_postings_text": ""}'} 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] + date: ['Wed, 15 Apr 2015 16:37:15 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -2267,31 +203,31 @@ 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"}'} + body: {string: !!python/unicode '{"anonymous_list": false, "convert_html_to_plaintext": + false, "include_rfc2369_headers": true, "reply_goes_to_list": "no_munging", + "allow_list_posts": true, "collapse_alternatives": true, "default_member_action": + "defer", "bounces_address": "test-bounces@example.org", "archive_policy": + "public", "post_id": 1, "display_name": "Test", "default_nonmember_action": + "hold", "request_address": "test-request@example.org", "last_post_at": null, + "autorespond_requests": "none", "first_strip_reply_to": false, "list_name": + "test", "acceptable_aliases": [], "created_at": "2015-04-15T16:37:14.615885", + "fqdn_listname": "test@example.org", "autoresponse_owner_text": "", "leave_address": + "test-leave@example.org", "administrivia": true, "volume": 1, "digest_size_threshold": + 30.0, "http_etag": "\"52dee0bd3f5f55d27c855957c19759176c73ac6f\"", "owner_address": + "test-owner@example.org", "send_welcome_message": true, "mail_host": "example.org", + "no_reply_address": "noreply@example.org", "admin_immed_notify": true, "join_address": + "test-join@example.org", "autoresponse_request_text": "", "digest_last_sent_at": + null, "autorespond_postings": "none", "web_host": "example.org", "filter_content": + false, "description": "", "advertised": true, "subject_prefix": "[Test] ", + "posting_pipeline": "default-posting-pipeline", "reply_to_address": "", "next_digest_number": + 1, "welcome_message_uri": "mailman:///welcome.txt", "scheme": "http", "autoresponse_grace_period": + "90d", "posting_address": "test@example.org", "autorespond_owner": "none", + "admin_notify_mchanges": false, "autoresponse_postings_text": ""}'} 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] + date: ['Wed, 15 Apr 2015 16:37:15 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -2302,31 +238,31 @@ 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"}'} + body: {string: !!python/unicode '{"anonymous_list": false, "convert_html_to_plaintext": + false, "include_rfc2369_headers": true, "reply_goes_to_list": "no_munging", + "allow_list_posts": true, "collapse_alternatives": true, "default_member_action": + "defer", "bounces_address": "test-bounces@example.org", "archive_policy": + "public", "post_id": 1, "display_name": "Test", "default_nonmember_action": + "hold", "request_address": "test-request@example.org", "last_post_at": null, + "autorespond_requests": "none", "first_strip_reply_to": false, "list_name": + "test", "acceptable_aliases": [], "created_at": "2015-04-15T16:37:14.615885", + "fqdn_listname": "test@example.org", "autoresponse_owner_text": "", "leave_address": + "test-leave@example.org", "administrivia": true, "volume": 1, "digest_size_threshold": + 30.0, "http_etag": "\"52dee0bd3f5f55d27c855957c19759176c73ac6f\"", "owner_address": + "test-owner@example.org", "send_welcome_message": true, "mail_host": "example.org", + "no_reply_address": "noreply@example.org", "admin_immed_notify": true, "join_address": + "test-join@example.org", "autoresponse_request_text": "", "digest_last_sent_at": + null, "autorespond_postings": "none", "web_host": "example.org", "filter_content": + false, "description": "", "advertised": true, "subject_prefix": "[Test] ", + "posting_pipeline": "default-posting-pipeline", "reply_to_address": "", "next_digest_number": + 1, "welcome_message_uri": "mailman:///welcome.txt", "scheme": "http", "autoresponse_grace_period": + "90d", "posting_address": "test@example.org", "autorespond_owner": "none", + "admin_notify_mchanges": false, "autoresponse_postings_text": ""}'} 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] + date: ['Wed, 15 Apr 2015 16:37:15 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -2340,8 +276,8 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:15 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 204, message: No Content} - request: body: null @@ -2355,8 +291,8 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:15 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 204, message: No Content} - request: body: mail_host=example.org @@ -2371,9 +307,9 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:15 GMT'] + date: ['Wed, 15 Apr 2015 16:37:15 GMT'] location: ['http://localhost:9001/3.0/domains/example.org'] - server: [WSGIServer/0.2 CPython/3.4.2] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -2385,14 +321,14 @@ 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"}'} + "mail_host": "example.org", "base_url": "http://example.org", "url_host": + "example.org", "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:15 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:15 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: fqdn_listname=test%40example.org @@ -2407,9 +343,9 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:15 GMT'] + date: ['Wed, 15 Apr 2015 16:37:16 GMT'] location: ['http://localhost:9001/3.0/lists/test.example.org'] - server: [WSGIServer/0.2 CPython/3.4.2] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -2420,15 +356,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + "mail_host": "example.org", "display_name": "Test", "member_count": 0, "list_name": + "test", "self_link": "http://localhost:9001/3.0/lists/test.example.org", "fqdn_listname": + "test@example.org", "list_id": "test.example.org", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:16 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -2439,15 +375,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + "mail_host": "example.org", "display_name": "Test", "member_count": 0, "list_name": + "test", "self_link": "http://localhost:9001/3.0/lists/test.example.org", "fqdn_listname": + "test@example.org", "list_id": "test.example.org", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:16 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -2461,8 +397,8 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:16 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 204, message: No Content} - request: body: null @@ -2476,7 +412,7 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:16 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] 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 283f022..9b52ba3 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_summary.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_summary.yaml @@ -9,1724 +9,12 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:52 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: ['Mon, 09 Feb 2015 22:14:52 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic 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: ['Mon, 09 Feb 2015 22:14:52 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: ['Mon, 09 Feb 2015 22:14:52 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: ['Mon, 09 Feb 2015 22:14:53 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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: ['Mon, 09 Feb 2015 22:14:53 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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: ['Mon, 09 Feb 2015 22:14:53 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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: ['Mon, 09 Feb 2015 22:14:53 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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-09T22:14:52.876612", - "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": "\"7f235168db59bcec32893df87db49c7de748e804\"", - "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: ['Mon, 09 Feb 2015 22:14:53 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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: ['Mon, 09 Feb 2015 22:14:53 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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: ['Mon, 09 Feb 2015 22:14:53 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, 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: ['Mon, 09 Feb 2015 22:14: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: ['Mon, 09 Feb 2015 22:14:53 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: ['Mon, 09 Feb 2015 22:14:53 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic 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: ['Mon, 09 Feb 2015 22:14:53 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: ['Mon, 09 Feb 2015 22:14:53 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: ['Mon, 09 Feb 2015 22:14:53 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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: ['Mon, 09 Feb 2015 22:14:53 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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-09T22:14:53.518869", - "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": "\"40b456d5c5176df983fa91eff5f7bad744d92963\"", - "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: ['Mon, 09 Feb 2015 22:14:53 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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: ['Mon, 09 Feb 2015 22:14: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/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: ['Mon, 09 Feb 2015 22:14: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 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - 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] + date: ['Wed, 15 Apr 2015 16:37:17 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 400, message: Bad Request} - request: body: null @@ -1738,14 +26,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:26 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:17 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1757,14 +45,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:26 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:17 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: fqdn_listname=foo%40example.com @@ -1779,9 +67,9 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:26 GMT'] + date: ['Wed, 15 Apr 2015 16:37:17 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] - server: [WSGIServer/0.2 CPython/3.4.2] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -1792,15 +80,51 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:17 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: subscriber=test3%40example.com&display_name=None&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: ['Wed, 15 Apr 2015 16:37:17 GMT'] + location: ['http://localhost:9001/3.0/members/223109523398325884182515651598888602035'] + server: [WSGIServer/0.2 CPython/3.4.3] + 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 '{"http_etag": "\"98cc998d4a30293ec17da639bce10617912a6e1e\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 1, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:17 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1812,12 +136,12 @@ 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}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:17 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1829,12 +153,71 @@ 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}'} + "total_size": 0, "start": 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] + date: ['Wed, 15 Apr 2015 16:37:17 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/users/test3@example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/users/75125776512684558270095282601744003011", + "http_etag": "\"33552cc385bb474672f7829bd2bca898d243851f\"", "is_server_owner": + false, "created_on": "2015-04-15T16:37:17.445385", "user_id": 75125776512684558270095282601744003011, + "display_name": "None"}'} + headers: + content-length: ['293'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:17 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/users/75125776512684558270095282601744003011 + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/users/75125776512684558270095282601744003011", + "http_etag": "\"33552cc385bb474672f7829bd2bca898d243851f\"", "is_server_owner": + false, "created_on": "2015-04-15T16:37:17.445385", "user_id": 75125776512684558270095282601744003011, + "display_name": "None"}'} + headers: + content-length: ['293'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:17 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/users/75125776512684558270095282601744003011/addresses + response: + body: {string: !!python/unicode '{"http_etag": "\"3f6f75bd5f54c1b3c918ebed6574787d2ed55929\"", + "entries": [{"self_link": "http://localhost:9001/3.0/addresses/test3@example.com", + "http_etag": "\"e07f3c77a4674826fdac9daa97cb479216a5b7b2\"", "original_email": + "test3@example.com", "registered_on": "2015-04-15T16:37:17.445059", "display_name": + "None", "email": "test3@example.com", "user": "http://localhost:9001/3.0/users/75125776512684558270095282601744003011"}], + "total_size": 1, "start": 0}'} + headers: + content-length: ['458'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:17 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1845,13 +228,38 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"9cafd6a1a87ad9bc0a9157a29049331962cf5cc0\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/223109523398325884182515651598888602035", + "address": "http://localhost:9001/3.0/addresses/test3@example.com", "email": + "test3@example.com", "role": "member", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"e0860ba783fbafb8869675a14979b7ef9daf00f3\"", "member_id": + 223109523398325884182515651598888602035, "user": "http://localhost:9001/3.0/users/75125776512684558270095282601744003011"}], + "total_size": 1, "start": 0}'} headers: - content-length: ['90'] + content-length: ['566'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:27 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:17 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/members/223109523398325884182515651598888602035 + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/members/223109523398325884182515651598888602035", + "address": "http://localhost:9001/3.0/addresses/test3@example.com", "email": + "test3@example.com", "role": "member", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"e0860ba783fbafb8869675a14979b7ef9daf00f3\"", "member_id": + 223109523398325884182515651598888602035, "user": "http://localhost:9001/3.0/users/75125776512684558270095282601744003011"}'} + headers: + content-length: ['461'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:17 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1862,31 +270,279 @@ 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"}'} + body: {string: !!python/unicode '{"anonymous_list": false, "convert_html_to_plaintext": + false, "include_rfc2369_headers": true, "reply_goes_to_list": "no_munging", + "allow_list_posts": true, "collapse_alternatives": true, "default_member_action": + "defer", "bounces_address": "foo-bounces@example.com", "archive_policy": "public", + "post_id": 1, "display_name": "Foo", "default_nonmember_action": "hold", "request_address": + "foo-request@example.com", "last_post_at": null, "autorespond_requests": "none", + "first_strip_reply_to": false, "list_name": "foo", "acceptable_aliases": [], + "created_at": "2015-04-15T16:37:17.111854", "fqdn_listname": "foo@example.com", + "autoresponse_owner_text": "", "leave_address": "foo-leave@example.com", "administrivia": + true, "volume": 1, "digest_size_threshold": 30.0, "http_etag": "\"d5e34e538217f0560a868cfe028020332dd9847c\"", + "owner_address": "foo-owner@example.com", "send_welcome_message": true, "mail_host": + "example.com", "no_reply_address": "noreply@example.com", "admin_immed_notify": + true, "join_address": "foo-join@example.com", "autoresponse_request_text": + "", "digest_last_sent_at": null, "autorespond_postings": "none", "web_host": + "example.com", "filter_content": false, "description": "", "advertised": true, + "subject_prefix": "[Foo] ", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "next_digest_number": 1, "welcome_message_uri": "mailman:///welcome.txt", + "scheme": "http", "autoresponse_grace_period": "90d", "posting_address": "foo@example.com", + "autorespond_owner": "none", "admin_notify_mchanges": false, "autoresponse_postings_text": + ""}'} 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] + date: ['Wed, 15 Apr 2015 16:37:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!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": "\"89bf5f8f6c4414c38432c355907ddf9f419ef53b\"", + "entries": [{"http_etag": "\"98cc998d4a30293ec17da639bce10617912a6e1e\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 1, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}], "total_size": + 1, "start": 0}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!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 '{"http_etag": "\"98cc998d4a30293ec17da639bce10617912a6e1e\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 1, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, 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: ['Wed, 15 Apr 2015 16:37:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + 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 'Duplicate email host: example.com'} + headers: + content-length: ['33'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + 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", + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic 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", + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + 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: ['Wed, 15 Apr 2015 16:37:18 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.3] + 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 '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:19 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!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\"", + "total_size": 0, "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:19 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!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\"", + "total_size": 0, "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:19 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/users/test@example.com + response: + body: {string: !!python/unicode '404 Not Found'} + headers: + content-length: ['13'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:19 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 404, message: Not Found} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!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\"", + "total_size": 0, "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:19 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!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 '{"anonymous_list": false, "convert_html_to_plaintext": + false, "include_rfc2369_headers": true, "reply_goes_to_list": "no_munging", + "allow_list_posts": true, "collapse_alternatives": true, "default_member_action": + "defer", "bounces_address": "foo-bounces@example.com", "archive_policy": "public", + "post_id": 1, "display_name": "Foo", "default_nonmember_action": "hold", "request_address": + "foo-request@example.com", "last_post_at": null, "autorespond_requests": "none", + "first_strip_reply_to": false, "list_name": "foo", "acceptable_aliases": [], + "created_at": "2015-04-15T16:37:18.678887", "fqdn_listname": "foo@example.com", + "autoresponse_owner_text": "", "leave_address": "foo-leave@example.com", "administrivia": + true, "volume": 1, "digest_size_threshold": 30.0, "http_etag": "\"c35717594fa09b57248b63748a2dd8d38543eff3\"", + "owner_address": "foo-owner@example.com", "send_welcome_message": true, "mail_host": + "example.com", "no_reply_address": "noreply@example.com", "admin_immed_notify": + true, "join_address": "foo-join@example.com", "autoresponse_request_text": + "", "digest_last_sent_at": null, "autorespond_postings": "none", "web_host": + "example.com", "filter_content": false, "description": "", "advertised": true, + "subject_prefix": "[Foo] ", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "next_digest_number": 1, "welcome_message_uri": "mailman:///welcome.txt", + "scheme": "http", "autoresponse_grace_period": "90d", "posting_address": "foo@example.com", + "autorespond_owner": "none", "admin_notify_mchanges": false, "autoresponse_postings_text": + ""}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:19 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1898,15 +554,16 @@ 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}'} + "entries": [{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}], "total_size": + 1, "start": 0}'} 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] + date: ['Wed, 15 Apr 2015 16:37:19 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1917,15 +574,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:19 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1939,8 +596,8 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:19 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 204, message: No Content} - request: body: mail_host=example.com @@ -1952,12 +609,12 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:29 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 400, message: Bad Request} - request: body: null @@ -1969,14 +626,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:29 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -1988,14 +645,14 @@ 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"}'} + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:29 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] + date: ['Wed, 15 Apr 2015 16:37:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: fqdn_listname=foo%40example.com @@ -2010,9 +667,9 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:29 GMT'] + date: ['Wed, 15 Apr 2015 16:37:20 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] - server: [WSGIServer/0.2 CPython/3.4.2] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 201, message: Created} - request: body: null @@ -2023,32 +680,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -2059,31 +699,31 @@ 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"}'} + body: {string: !!python/unicode '{"anonymous_list": false, "convert_html_to_plaintext": + false, "include_rfc2369_headers": true, "reply_goes_to_list": "no_munging", + "allow_list_posts": true, "collapse_alternatives": true, "default_member_action": + "defer", "bounces_address": "foo-bounces@example.com", "archive_policy": "public", + "post_id": 1, "display_name": "Foo", "default_nonmember_action": "hold", "request_address": + "foo-request@example.com", "last_post_at": null, "autorespond_requests": "none", + "first_strip_reply_to": false, "list_name": "foo", "acceptable_aliases": [], + "created_at": "2015-04-15T16:37:20.325052", "fqdn_listname": "foo@example.com", + "autoresponse_owner_text": "", "leave_address": "foo-leave@example.com", "administrivia": + true, "volume": 1, "digest_size_threshold": 30.0, "http_etag": "\"4d570377d520f68a7d943ffc9412399af73e85a6\"", + "owner_address": "foo-owner@example.com", "send_welcome_message": true, "mail_host": + "example.com", "no_reply_address": "noreply@example.com", "admin_immed_notify": + true, "join_address": "foo-join@example.com", "autoresponse_request_text": + "", "digest_last_sent_at": null, "autorespond_postings": "none", "web_host": + "example.com", "filter_content": false, "description": "", "advertised": true, + "subject_prefix": "[Foo] ", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "next_digest_number": 1, "welcome_message_uri": "mailman:///welcome.txt", + "scheme": "http", "autoresponse_grace_period": "90d", "posting_address": "foo@example.com", + "autorespond_owner": "none", "admin_notify_mchanges": false, "autoresponse_postings_text": + ""}'} 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] + date: ['Wed, 15 Apr 2015 16:37:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -2095,15 +735,16 @@ 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}'} + "entries": [{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}], "total_size": + 1, "start": 0}'} 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] + date: ['Wed, 15 Apr 2015 16:37:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -2114,15 +755,15 @@ 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\""}'} + body: {string: !!python/unicode '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} 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] + date: ['Wed, 15 Apr 2015 16:37:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 200, message: OK} - request: body: null @@ -2136,7 +777,441 @@ 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] + date: ['Wed, 15 Apr 2015 16:37:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + 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 'Duplicate email host: example.com'} + headers: + content-length: ['33'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + 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", + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic 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", + "mail_host": "example.com", "base_url": "http://example.com", "url_host": + "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + 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: ['Wed, 15 Apr 2015 16:37:22 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.3] + 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 '{"http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: subscriber=test2%40example.com&display_name=None&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: ['Wed, 15 Apr 2015 16:37:23 GMT'] + location: ['http://localhost:9001/3.0/members/258905163787136195616108361394237094882'] + server: [WSGIServer/0.2 CPython/3.4.3] + 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/users/test2@example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/users/276766108507996519756662890438606325370", + "http_etag": "\"bd8ff2460fe818b5ba37a34dddef2242fee7e16d\"", "is_server_owner": + false, "created_on": "2015-04-15T16:37:22.897104", "user_id": 276766108507996519756662890438606325370, + "display_name": "None"}'} + headers: + content-length: ['295'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: email=anotheremail%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/users/276766108507996519756662890438606325370/addresses + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Wed, 15 Apr 2015 16:37:23 GMT'] + location: ['http://localhost:9001/3.0/addresses/anotheremail@example.com'] + server: [WSGIServer/0.2 CPython/3.4.3] + 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 '{"http_etag": "\"98cc998d4a30293ec17da639bce10617912a6e1e\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 1, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!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\"", + "total_size": 0, "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!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\"", + "total_size": 0, "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/users/test2@example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/users/276766108507996519756662890438606325370", + "http_etag": "\"bd8ff2460fe818b5ba37a34dddef2242fee7e16d\"", "is_server_owner": + false, "created_on": "2015-04-15T16:37:22.897104", "user_id": 276766108507996519756662890438606325370, + "display_name": "None"}'} + headers: + content-length: ['295'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/users/276766108507996519756662890438606325370 + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/users/276766108507996519756662890438606325370", + "http_etag": "\"bd8ff2460fe818b5ba37a34dddef2242fee7e16d\"", "is_server_owner": + false, "created_on": "2015-04-15T16:37:22.897104", "user_id": 276766108507996519756662890438606325370, + "display_name": "None"}'} + headers: + content-length: ['295'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/users/276766108507996519756662890438606325370/addresses + response: + body: {string: !!python/unicode '{"http_etag": "\"ed3f7bc5c44835c4707ac004f94afdd744488c28\"", + "entries": [{"self_link": "http://localhost:9001/3.0/addresses/anotheremail@example.com", + "http_etag": "\"b20166ba8f25c55fdb5efcd19698cb392e06477a\"", "original_email": + "anotheremail@example.com", "registered_on": "2015-04-15T16:37:23.229223", + "email": "anotheremail@example.com", "user": "http://localhost:9001/3.0/users/276766108507996519756662890438606325370"}, + {"self_link": "http://localhost:9001/3.0/addresses/test2@example.com", "http_etag": + "\"7b0ba12d84754bb23ed00502c05511125fbbd976\"", "original_email": "test2@example.com", + "registered_on": "2015-04-15T16:37:22.896800", "display_name": "None", "email": + "test2@example.com", "user": "http://localhost:9001/3.0/users/276766108507996519756662890438606325370"}], + "total_size": 2, "start": 0}'} + headers: + content-length: ['812'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!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": "\"9752d5fbfae2bc64ce297ee8154c193ecdd7ab62\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/258905163787136195616108361394237094882", + "address": "http://localhost:9001/3.0/addresses/test2@example.com", "email": + "test2@example.com", "role": "member", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"390673124073a60f4da324e51edb54bf8a1f7c54\"", "member_id": + 258905163787136195616108361394237094882, "user": "http://localhost:9001/3.0/users/276766108507996519756662890438606325370"}], + "total_size": 1, "start": 0}'} + headers: + content-length: ['567'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/members/258905163787136195616108361394237094882 + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/members/258905163787136195616108361394237094882", + "address": "http://localhost:9001/3.0/addresses/test2@example.com", "email": + "test2@example.com", "role": "member", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"390673124073a60f4da324e51edb54bf8a1f7c54\"", "member_id": + 258905163787136195616108361394237094882, "user": "http://localhost:9001/3.0/users/276766108507996519756662890438606325370"}'} + headers: + content-length: ['462'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!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": "\"9752d5fbfae2bc64ce297ee8154c193ecdd7ab62\"", + "entries": [{"self_link": "http://localhost:9001/3.0/members/258905163787136195616108361394237094882", + "address": "http://localhost:9001/3.0/addresses/test2@example.com", "email": + "test2@example.com", "role": "member", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"390673124073a60f4da324e51edb54bf8a1f7c54\"", "member_id": + 258905163787136195616108361394237094882, "user": "http://localhost:9001/3.0/users/276766108507996519756662890438606325370"}], + "total_size": 1, "start": 0}'} + headers: + content-length: ['567'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/members/258905163787136195616108361394237094882 + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/members/258905163787136195616108361394237094882", + "address": "http://localhost:9001/3.0/addresses/test2@example.com", "email": + "test2@example.com", "role": "member", "list_id": "foo.example.com", "delivery_mode": + "regular", "http_etag": "\"390673124073a60f4da324e51edb54bf8a1f7c54\"", "member_id": + 258905163787136195616108361394237094882, "user": "http://localhost:9001/3.0/users/276766108507996519756662890438606325370"}'} + headers: + content-length: ['462'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!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 '{"anonymous_list": false, "convert_html_to_plaintext": + false, "include_rfc2369_headers": true, "reply_goes_to_list": "no_munging", + "allow_list_posts": true, "collapse_alternatives": true, "default_member_action": + "defer", "bounces_address": "foo-bounces@example.com", "archive_policy": "public", + "post_id": 1, "display_name": "Foo", "default_nonmember_action": "hold", "request_address": + "foo-request@example.com", "last_post_at": null, "autorespond_requests": "none", + "first_strip_reply_to": false, "list_name": "foo", "acceptable_aliases": [], + "created_at": "2015-04-15T16:37:22.110754", "fqdn_listname": "foo@example.com", + "autoresponse_owner_text": "", "leave_address": "foo-leave@example.com", "administrivia": + true, "volume": 1, "digest_size_threshold": 30.0, "http_etag": "\"a1c2cc97ca7014d2cf0901dec5b67469b87842a9\"", + "owner_address": "foo-owner@example.com", "send_welcome_message": true, "mail_host": + "example.com", "no_reply_address": "noreply@example.com", "admin_immed_notify": + true, "join_address": "foo-join@example.com", "autoresponse_request_text": + "", "digest_last_sent_at": null, "autorespond_postings": "none", "web_host": + "example.com", "filter_content": false, "description": "", "advertised": true, + "subject_prefix": "[Foo] ", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "next_digest_number": 1, "welcome_message_uri": "mailman:///welcome.txt", + "scheme": "http", "autoresponse_grace_period": "90d", "posting_address": "foo@example.com", + "autorespond_owner": "none", "admin_notify_mchanges": false, "autoresponse_postings_text": + ""}'} + headers: + content-length: ['1583'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:23 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!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": "\"89bf5f8f6c4414c38432c355907ddf9f419ef53b\"", + "entries": [{"http_etag": "\"98cc998d4a30293ec17da639bce10617912a6e1e\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 1, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}], "total_size": + 1, "start": 0}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!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 '{"http_etag": "\"98cc998d4a30293ec17da639bce10617912a6e1e\"", + "mail_host": "example.com", "display_name": "Foo", "member_count": 1, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "fqdn_listname": + "foo@example.com", "list_id": "foo.example.com", "volume": 1}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 15 Apr 2015 16:37:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, 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: ['Wed, 15 Apr 2015 16:37:24 GMT'] + server: [WSGIServer/0.2 CPython/3.4.3] status: {code: 204, message: No Content} version: 1 diff --git a/src/postorius/tests/mailman_api_tests/test_list_summary.py b/src/postorius/tests/mailman_api_tests/test_list_summary.py index 7cb3c75..38b778e 100644 --- a/src/postorius/tests/mailman_api_tests/test_list_summary.py +++ b/src/postorius/tests/mailman_api_tests/test_list_summary.py @@ -47,10 +47,11 @@ @MM_VCR.use_cassette('test_list_summary.yaml') def setUp(self): self.client = Client() + self.mmclient = get_client() try: - domain = get_client().create_domain('example.com') + domain = self.mmclient.create_domain('example.com') except HTTPError: - domain = get_client().get_domain('example.com') + domain = self.mmclient.get_domain('example.com') self.foo_list = domain.create_list('foo') @MM_VCR.use_cassette('test_list_summary.yaml') @@ -78,3 +79,30 @@ args=('foo@example.com', ))) self.assertEqual(response.status_code, 200) self.assertTrue('