interactions: - 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: ['Tue, 14 Apr 2015 14:06: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 '{"description": null, "base_url": "http://example.com", "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] date: ['Tue, 14 Apr 2015 14:06: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 '{"description": null, "base_url": "http://example.com", "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] date: ['Tue, 14 Apr 2015 14:06:51 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, 14 Apr 2015 14:06:51 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 '{"member_count": 0, "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", "total_size": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", "total_size": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member 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, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com/config response: body: {string: !!python/unicode '{"autoresponse_grace_period": "90d", "posting_pipeline": "default-posting-pipeline", "default_member_action": "defer", "list_name": "foo", "send_welcome_message": true, "digest_last_sent_at": null, "mail_host": "example.com", "volume": 1, "no_reply_address": "noreply@example.com", "autoresponse_owner_text": "", "anonymous_list": false, "admin_immed_notify": true, "reply_to_address": "", "join_address": "foo-join@example.com", "request_address": "foo-request@example.com", "digest_size_threshold": 30.0, "autorespond_requests": "none", "welcome_message_uri": "mailman:///welcome.txt", "acceptable_aliases": [], "leave_address": "foo-leave@example.com", "archive_policy": "public", "admin_notify_mchanges": false, "administrivia": true, "scheme": "http", "subject_prefix": "[Foo] ", "filter_content": false, "last_post_at": null, "owner_address": "foo-owner@example.com", "http_etag": "\"ae148e8cbf45bf81f5d4ff5bc2fd4905dd1bd8f1\"", "autoresponse_postings_text": "", "description": "", "autorespond_owner": "none", "bounces_address": "foo-bounces@example.com", "allow_list_posts": true, "include_rfc2369_headers": true, "collapse_alternatives": true, "autoresponse_request_text": "", "advertised": true, "web_host": "example.com", "display_name": "Foo", "fqdn_listname": "foo@example.com", "next_digest_number": 1, "created_at": "2015-04-14T14:06:51.274477", "autorespond_postings": "none", "convert_html_to_plaintext": false, "post_id": 1, "first_strip_reply_to": false, "default_nonmember_action": "hold", "reply_goes_to_list": "no_munging", "posting_address": "foo@example.com"}'} headers: content-length: ['1583'] content-type: [application/json; charset=utf-8] date: ['Tue, 14 Apr 2015 14:06: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": [{"member_count": 0, "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": "example.com"}], "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": 1}'} headers: content-length: ['399'] content-type: [application/json; charset=utf-8] date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] date: ['Tue, 14 Apr 2015 14:06: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/foo@example.com response: body: {string: !!python/unicode ''} headers: content-length: ['0'] date: ['Tue, 14 Apr 2015 14:06:51 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 'Duplicate email host: example.com'} headers: content-length: ['33'] content-type: [application/json; charset=utf-8] date: ['Tue, 14 Apr 2015 14:06: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 '{"description": null, "base_url": "http://example.com", "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] date: ['Tue, 14 Apr 2015 14:06: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 '{"description": null, "base_url": "http://example.com", "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] date: ['Tue, 14 Apr 2015 14:06:51 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, 14 Apr 2015 14:06:51 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 '{"member_count": 0, "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member 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, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com/config response: body: {string: !!python/unicode '{"autoresponse_grace_period": "90d", "posting_pipeline": "default-posting-pipeline", "default_member_action": "defer", "list_name": "foo", "send_welcome_message": true, "digest_last_sent_at": null, "mail_host": "example.com", "volume": 1, "no_reply_address": "noreply@example.com", "autoresponse_owner_text": "", "anonymous_list": false, "admin_immed_notify": true, "reply_to_address": "", "join_address": "foo-join@example.com", "request_address": "foo-request@example.com", "digest_size_threshold": 30.0, "autorespond_requests": "none", "welcome_message_uri": "mailman:///welcome.txt", "acceptable_aliases": [], "leave_address": "foo-leave@example.com", "archive_policy": "public", "admin_notify_mchanges": false, "administrivia": true, "scheme": "http", "subject_prefix": "[Foo] ", "filter_content": false, "last_post_at": null, "owner_address": "foo-owner@example.com", "http_etag": "\"c552f3b735ff3aae5ff36402dc4a74178b49167c\"", "autoresponse_postings_text": "", "description": "", "autorespond_owner": "none", "bounces_address": "foo-bounces@example.com", "allow_list_posts": true, "include_rfc2369_headers": true, "collapse_alternatives": true, "autoresponse_request_text": "", "advertised": true, "web_host": "example.com", "display_name": "Foo", "fqdn_listname": "foo@example.com", "next_digest_number": 1, "created_at": "2015-04-14T14:06:51.727106", "autorespond_postings": "none", "convert_html_to_plaintext": false, "post_id": 1, "first_strip_reply_to": false, "default_nonmember_action": "hold", "reply_goes_to_list": "no_munging", "posting_address": "foo@example.com"}'} headers: content-length: ['1583'] content-type: [application/json; charset=utf-8] date: ['Tue, 14 Apr 2015 14:06: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": [{"member_count": 0, "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": "example.com"}], "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": 1}'} headers: content-length: ['399'] content-type: [application/json; charset=utf-8] date: ['Tue, 14 Apr 2015 14:06: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/foo.example.com response: body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] date: ['Tue, 14 Apr 2015 14:06: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/foo@example.com response: body: {string: !!python/unicode ''} headers: content-length: ['0'] date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} version: 1