diff --git a/src/postorius/tests/fixtures/vcr_cassettes/archival_options.yaml b/src/postorius/tests/fixtures/vcr_cassettes/archival_options.yaml index e9f9135..64b878a 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/archival_options.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/archival_options.yaml @@ -13,7 +13,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:01 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,13 +25,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:01 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -43,13 +43,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:01 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -65,7 +65,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:01 GMT'] location: ['http://localhost:9001/3.0/lists/test_list.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -78,15 +78,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test_list.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id": - "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", - "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", - "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count": - 0}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "test_list.example.com", + "volume": 1, "display_name": "Test_list", "member_count": 0, "fqdn_listname": + "test_list@example.com", "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'} headers: content-length: ['324'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:01 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -98,12 +97,12 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers response: - body: {string: !!python/unicode '{"http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", - "prototype": false, "mail-archive": true, "mhonarc": false}'} + body: {string: !!python/unicode '{"mail-archive": true, "prototype": false, "http_etag": + "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", "mhonarc": false}'} headers: content-length: ['121'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:01 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -115,15 +114,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test_list.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id": - "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", - "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", - "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count": - 0}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "test_list.example.com", + "volume": 1, "display_name": "Test_list", "member_count": 0, "fqdn_listname": + "test_list@example.com", "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'} headers: content-length: ['324'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:01 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -138,7 +136,721 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:01 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19:22 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:22 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "volume": 1, "list_name": + "test_list", "mail_host": "example.com", "list_id": "test_list.example.com", + "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": false, "mail-archive": true, "prototype": + false, "http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\""}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "volume": 1, "list_name": + "test_list", "mail_host": "example.com", "list_id": "test_list.example.com", + "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:39:56 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39:57 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "test_list@example.com", + "list_name": "test_list", "list_id": "test_list.example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "display_name": "Test_list", + "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "member_count": 0}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:57 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": false, "http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", + "prototype": false, "mail-archive": true}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:57 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "test_list@example.com", + "list_name": "test_list", "list_id": "test_list.example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "display_name": "Test_list", + "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "member_count": 0}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:57 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39:57 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42:00 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:00 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:00 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:00 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id": + "test_list.example.com", "list_name": "test_list", "volume": 1, "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "member_count": 0, "mail_host": + "example.com", "display_name": "Test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:00 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": false, "mail-archive": true, "prototype": + false, "http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\""}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:00 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id": + "test_list.example.com", "list_name": "test_list", "volume": 1, "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "member_count": 0, "mail_host": + "example.com", "display_name": "Test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:01 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:53 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43:53 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "test_list@example.com", "display_name": "Test_list", "list_name": "test_list", + "list_id": "test_list.example.com", "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "member_count": + 0}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", + "mail-archive": true, "mhonarc": false, "prototype": false}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "test_list@example.com", "display_name": "Test_list", "list_name": "test_list", + "list_id": "test_list.example.com", "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "member_count": + 0}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44:54 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:54 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:54 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "fqdn_listname": + "test_list@example.com", "list_id": "test_list.example.com", "volume": 1, + "member_count": 0, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", + "prototype": false, "mhonarc": false, "mail-archive": true}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "fqdn_listname": + "test_list@example.com", "list_id": "test_list.example.com", "volume": 1, + "member_count": 0, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:55 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/list_members_access.yaml b/src/postorius/tests/fixtures/vcr_cassettes/list_members_access.yaml index 9a2ffd2..b348e2c 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/list_members_access.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/list_members_access.yaml @@ -13,7 +13,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 12:01:03 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,13 +25,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 12:01:03 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -43,13 +43,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 12:01:03 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -65,7 +65,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 12:01: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} @@ -78,19 +78,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 12:01:03 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 + body: role=owner&list_id=foo.example.com&subscriber=owner%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -102,12 +101,12 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] - location: ['http://localhost:9001/3.0/members/65666166344199916015948757016727609115'] + date: ['Thu, 16 Apr 2015 12:01:03 GMT'] + location: ['http://localhost:9001/3.0/members/105016014310372328385151182937108251478'] 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 + body: role=moderator&list_id=foo.example.com&subscriber=moderator%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -119,8 +118,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] - location: ['http://localhost:9001/3.0/members/142734914141373676799912641898971185828'] + date: ['Thu, 16 Apr 2015 12:01:03 GMT'] + location: ['http://localhost:9001/3.0/members/269367401923733234340873234992853209578'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -135,7 +134,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:42 GMT'] + date: ['Thu, 16 Apr 2015 12:01:03 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -152,7 +151,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:42 GMT'] + date: ['Thu, 16 Apr 2015 12:01:03 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -164,13 +163,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:42 GMT'] + date: ['Thu, 16 Apr 2015 12:01:04 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -182,13 +181,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:42 GMT'] + date: ['Thu, 16 Apr 2015 12:01:04 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -204,7 +203,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:42 GMT'] + date: ['Thu, 16 Apr 2015 12:01:04 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -217,19 +216,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:42 GMT'] + date: ['Thu, 16 Apr 2015 12:01:04 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 + body: role=owner&list_id=foo.example.com&subscriber=owner%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -241,12 +239,12 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:42 GMT'] - location: ['http://localhost:9001/3.0/members/146478159952862640555572319802110037529'] + date: ['Thu, 16 Apr 2015 12:01:04 GMT'] + location: ['http://localhost:9001/3.0/members/303494619116670421498100601405715118551'] 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 + body: role=moderator&list_id=foo.example.com&subscriber=moderator%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -258,8 +256,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:42 GMT'] - location: ['http://localhost:9001/3.0/members/300345844286885579524106623093994765189'] + date: ['Thu, 16 Apr 2015 12:01:04 GMT'] + location: ['http://localhost:9001/3.0/members/181135376074126821683376564344095019421'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -274,7 +272,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:42 GMT'] + date: ['Thu, 16 Apr 2015 12:01:04 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -291,7 +289,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:42 GMT'] + date: ['Thu, 16 Apr 2015 12:01:04 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -303,13 +301,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:42 GMT'] + date: ['Thu, 16 Apr 2015 12:01:04 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -321,13 +319,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:42 GMT'] + date: ['Thu, 16 Apr 2015 12:01:04 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -343,7 +341,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:43 GMT'] + date: ['Thu, 16 Apr 2015 12:01:04 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -356,19 +354,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:43 GMT'] + date: ['Thu, 16 Apr 2015 12:01:05 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 + body: role=owner&list_id=foo.example.com&subscriber=owner%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -380,12 +377,12 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:43 GMT'] - location: ['http://localhost:9001/3.0/members/333804327984641227543735764681736417610'] + date: ['Thu, 16 Apr 2015 12:01:05 GMT'] + location: ['http://localhost:9001/3.0/members/54892694067040236354669655501258217027'] 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 + body: role=moderator&list_id=foo.example.com&subscriber=moderator%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -397,8 +394,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:43 GMT'] - location: ['http://localhost:9001/3.0/members/193153637813201025305722262172721795279'] + date: ['Thu, 16 Apr 2015 12:01:05 GMT'] + location: ['http://localhost:9001/3.0/members/149769313085588494143611083725579758342'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -413,7 +410,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:43 GMT'] + date: ['Thu, 16 Apr 2015 12:01:05 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -430,7 +427,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:43 GMT'] + date: ['Thu, 16 Apr 2015 12:01:05 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -442,13 +439,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:43 GMT'] + date: ['Thu, 16 Apr 2015 12:01:05 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -460,13 +457,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:43 GMT'] + date: ['Thu, 16 Apr 2015 12:01:05 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -482,7 +479,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:43 GMT'] + date: ['Thu, 16 Apr 2015 12:01: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} @@ -495,19 +492,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:44 GMT'] + date: ['Thu, 16 Apr 2015 12:01:06 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 + body: role=owner&list_id=foo.example.com&subscriber=owner%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -519,12 +515,12 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:44 GMT'] - location: ['http://localhost:9001/3.0/members/326084107676518818095650670971849152636'] + date: ['Thu, 16 Apr 2015 12:01:06 GMT'] + location: ['http://localhost:9001/3.0/members/250446719216023278073000421908992492314'] 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 + body: role=moderator&list_id=foo.example.com&subscriber=moderator%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -536,8 +532,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:44 GMT'] - location: ['http://localhost:9001/3.0/members/258304038484621747948113203888404536161'] + date: ['Thu, 16 Apr 2015 12:01:06 GMT'] + location: ['http://localhost:9001/3.0/members/12807642846833656314514586013738348503'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -549,15 +545,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:44 GMT'] + date: ['Thu, 16 Apr 2015 12:01:06 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -574,7 +569,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:44 GMT'] + date: ['Thu, 16 Apr 2015 12:01:06 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -586,16 +581,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"http_etag": "\"4ed6be8ec16e2102e963534eb944a8708b16a05e\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/326084107676518818095650670971849152636", - "email": "owner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/117102017827318954078289964069449293796", - "role": "owner", "http_etag": "\"3abaf9da7ad18416685dce89e0b8e18be05ecd41\"", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": - 326084107676518818095650670971849152636}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/76322437701403563057266227005474594242", + "http_etag": "\"1297dce00b6793733e5cd971179e03011e321947\"", "email": "owner@example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/250446719216023278073000421908992492314", + "delivery_mode": "regular", "member_id": 250446719216023278073000421908992492314, + "role": "owner"}], "http_etag": "\"e1048071e22101247533357c12210c4243d07957\"", + "start": 0, "total_size": 1}'} headers: - content-length: ['566'] + content-length: ['565'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:44 GMT'] + date: ['Thu, 16 Apr 2015 12:01:06 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -607,16 +604,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: - body: {string: !!python/unicode '{"http_etag": "\"66af03650198a5f13672fbc182ea7234647d1f1d\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/258304038484621747948113203888404536161", - "email": "moderator@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/313429703557169445575348239981723434246", - "role": "moderator", "http_etag": "\"762fab231ab86f1893701ceed01e36aa92827b69\"", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id": - 258304038484621747948113203888404536161}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/335144970835505823573394648211346249810", + "http_etag": "\"86532176071cbae842fd1613529543f1c1060d39\"", "email": "moderator@example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/12807642846833656314514586013738348503", + "delivery_mode": "regular", "member_id": 12807642846833656314514586013738348503, + "role": "moderator"}], "http_etag": "\"6fa4357b53ae89f4539466d480f4dd8fe8aa4623\"", + "start": 0, "total_size": 1}'} headers: - content-length: ['578'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:44 GMT'] + date: ['Thu, 16 Apr 2015 12:01:06 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -628,15 +627,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:44 GMT'] + date: ['Thu, 16 Apr 2015 12:01:06 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -648,16 +646,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"http_etag": "\"4ed6be8ec16e2102e963534eb944a8708b16a05e\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/326084107676518818095650670971849152636", - "email": "owner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/117102017827318954078289964069449293796", - "role": "owner", "http_etag": "\"3abaf9da7ad18416685dce89e0b8e18be05ecd41\"", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": - 326084107676518818095650670971849152636}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/76322437701403563057266227005474594242", + "http_etag": "\"1297dce00b6793733e5cd971179e03011e321947\"", "email": "owner@example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/250446719216023278073000421908992492314", + "delivery_mode": "regular", "member_id": 250446719216023278073000421908992492314, + "role": "owner"}], "http_etag": "\"e1048071e22101247533357c12210c4243d07957\"", + "start": 0, "total_size": 1}'} headers: - content-length: ['566'] + content-length: ['565'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:44 GMT'] + date: ['Thu, 16 Apr 2015 12:01:06 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -672,7 +672,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:44 GMT'] + date: ['Thu, 16 Apr 2015 12:01:06 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -689,7 +689,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:45 GMT'] + date: ['Thu, 16 Apr 2015 12:01:07 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -701,13 +701,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:45 GMT'] + date: ['Thu, 16 Apr 2015 12:01:07 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -719,13 +719,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:45 GMT'] + date: ['Thu, 16 Apr 2015 12:01:07 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -741,7 +741,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:45 GMT'] + date: ['Thu, 16 Apr 2015 12:01:07 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -754,19 +754,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:45 GMT'] + date: ['Thu, 16 Apr 2015 12:01: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 + body: role=owner&list_id=foo.example.com&subscriber=owner%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -778,12 +777,12 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:45 GMT'] - location: ['http://localhost:9001/3.0/members/33048892732221464402686396653921417791'] + date: ['Thu, 16 Apr 2015 12:01:07 GMT'] + location: ['http://localhost:9001/3.0/members/28985096239083162075165743683184512221'] 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 + body: role=moderator&list_id=foo.example.com&subscriber=moderator%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -795,8 +794,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:45 GMT'] - location: ['http://localhost:9001/3.0/members/303945703475387901708938435045952054401'] + date: ['Thu, 16 Apr 2015 12:01:07 GMT'] + location: ['http://localhost:9001/3.0/members/199082778197135746470088103385718315040'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -808,15 +807,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:45 GMT'] + date: ['Thu, 16 Apr 2015 12:01:07 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -833,7 +831,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:45 GMT'] + date: ['Thu, 16 Apr 2015 12:01:07 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -848,7 +846,4300 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19:24 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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19:24 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:24 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19:24 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:24 GMT'] + location: ['http://localhost:9001/3.0/members/22780087936998497558061641431578590367'] + 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:24 GMT'] + location: ['http://localhost:9001/3.0/members/195257236730512975572483640549246288339'] + 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:25 GMT'] + location: ['http://localhost:9001/3.0/members/181663476388650323315978644708920103530'] + 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:25 GMT'] + location: ['http://localhost:9001/3.0/members/15886826379185509915208594522056123167'] + 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:27 GMT'] + location: ['http://localhost:9001/3.0/members/230663657833890223096562397364921204613'] + 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:27 GMT'] + location: ['http://localhost:9001/3.0/members/127995892348853843267162606767745694932'] + 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19:28 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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19:28 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:28 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19:28 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:28 GMT'] + location: ['http://localhost:9001/3.0/members/312485703071073714069487418416138710734'] + 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:28 GMT'] + location: ['http://localhost:9001/3.0/members/280242500972752967618094734357186503302'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"df262fb0a0ac6938d792d506b0ad1d26b10f065c\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/255015826804171332424761416287966710611", + "email": "owner@example.com", "http_etag": "\"187dfdcaebb30a51a44e15e28c7b94fd4694eff8\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/312485703071073714069487418416138710734", + "role": "owner", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "member_id": 312485703071073714069487418416138710734}]}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"ef5a0282d414393d2b73ac493824f0324d27b844\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/88697961725422845867427722046476204629", + "email": "moderator@example.com", "http_etag": "\"3c0eccbe86a55398c8cc75696ce45c35dee2933b\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/280242500972752967618094734357186503302", + "role": "moderator", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "member_id": 280242500972752967618094734357186503302}]}'} + headers: + content-length: ['577'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"df262fb0a0ac6938d792d506b0ad1d26b10f065c\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/255015826804171332424761416287966710611", + "email": "owner@example.com", "http_etag": "\"187dfdcaebb30a51a44e15e28c7b94fd4694eff8\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/312485703071073714069487418416138710734", + "role": "owner", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "member_id": 312485703071073714069487418416138710734}]}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:30 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:31 GMT'] + location: ['http://localhost:9001/3.0/members/186655430358079564260629337525920417842'] + 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:31 GMT'] + location: ['http://localhost:9001/3.0/members/31407489385894893460851654293183151978'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:32 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40:00 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:00 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:00 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:00 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:00 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&role=owner&subscriber=owner%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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:00 GMT'] + location: ['http://localhost:9001/3.0/members/181063651408117211164204919007599259408'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: list_id=foo.example.com&role=moderator&subscriber=moderator%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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:00 GMT'] + location: ['http://localhost:9001/3.0/members/296109809687563538230789349645949917001'] + 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:01 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&role=owner&subscriber=owner%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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:02 GMT'] + location: ['http://localhost:9001/3.0/members/82825025129642147557629451651525546650'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: list_id=foo.example.com&role=moderator&subscriber=moderator%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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:02 GMT'] + location: ['http://localhost:9001/3.0/members/5688776331463680649567654598484251153'] + 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40:04 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:04 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:04 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&role=owner&subscriber=owner%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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:04 GMT'] + location: ['http://localhost:9001/3.0/members/93684702680889272211906019681720765455'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: list_id=foo.example.com&role=moderator&subscriber=moderator%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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:04 GMT'] + location: ['http://localhost:9001/3.0/members/151486281752054879640303959064533071770'] + 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:05 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:06 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&role=owner&subscriber=owner%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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:06 GMT'] + location: ['http://localhost:9001/3.0/members/262362864012733106641197473850943935652'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: list_id=foo.example.com&role=moderator&subscriber=moderator%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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:06 GMT'] + location: ['http://localhost:9001/3.0/members/54602143813772991410600050453539377531'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/262362864012733106641197473850943935652", + "http_etag": "\"3a878b98c7b536f20b607d69e314a7ff42b8ad6f\"", "user": "http://localhost:9001/3.0/users/209605544006964234273776222753532543294", + "role": "owner", "email": "owner@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": + 262362864012733106641197473850943935652}], "start": 0, "http_etag": "\"6984982b03718b419bab63544c14b24b4c14de5a\"", + "total_size": 1}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/54602143813772991410600050453539377531", + "http_etag": "\"eb4454956857ac8d4f716fb40f84892881932ac2\"", "user": "http://localhost:9001/3.0/users/83073017996129754322972727314093801305", + "role": "moderator", "email": "moderator@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id": + 54602143813772991410600050453539377531}], "start": 0, "http_etag": "\"225f8fb65297b631e971733f785cdf28e8b77397\"", + "total_size": 1}'} + headers: + content-length: ['575'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/262362864012733106641197473850943935652", + "http_etag": "\"3a878b98c7b536f20b607d69e314a7ff42b8ad6f\"", "user": "http://localhost:9001/3.0/users/209605544006964234273776222753532543294", + "role": "owner", "email": "owner@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": + 262362864012733106641197473850943935652}], "start": 0, "http_etag": "\"6984982b03718b419bab63544c14b24b4c14de5a\"", + "total_size": 1}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:09 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&role=owner&subscriber=owner%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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:09 GMT'] + location: ['http://localhost:9001/3.0/members/53844514711674311782465279091334518617'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: list_id=foo.example.com&role=moderator&subscriber=moderator%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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:09 GMT'] + location: ['http://localhost:9001/3.0/members/138178181780332812536356260667660178136'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42:04 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:04 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:04 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:04 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:04 GMT'] + location: ['http://localhost:9001/3.0/members/97417354924445189237669628372538288770'] + 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:04 GMT'] + location: ['http://localhost:9001/3.0/members/332206073616310958883603584766061877545'] + 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42:07 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:07 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:07 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:07 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:07 GMT'] + location: ['http://localhost:9001/3.0/members/251126299931222865012121746260968668545'] + 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:07 GMT'] + location: ['http://localhost:9001/3.0/members/284306502156519275538099888765039370538'] + 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:10 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:10 GMT'] + location: ['http://localhost:9001/3.0/members/111518125863259070370781192119155695471'] + 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:10 GMT'] + location: ['http://localhost:9001/3.0/members/179806134936137118604824059501179937149'] + 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42:12 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:12 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:13 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:13 GMT'] + location: ['http://localhost:9001/3.0/members/61590141769245487871899723500918780907'] + 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:13 GMT'] + location: ['http://localhost:9001/3.0/members/201503883906298630827518845339601585997'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "owner@example.com", "role": "owner", "member_id": 61590141769245487871899723500918780907, + "self_link": "http://localhost:9001/3.0/members/61590141769245487871899723500918780907", + "delivery_mode": "regular", "http_etag": "\"736f3012a5de1de0d742ff6320e906f9cba590c8\"", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "user": + "http://localhost:9001/3.0/users/131635024950405220742461738530345678353"}], + "total_size": 1, "http_etag": "\"e135b1442cbccad9ef34ca48055d61ef3b0a702a\"", + "start": 0}'} + headers: + content-length: ['564'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "moderator@example.com", "role": "moderator", "member_id": 201503883906298630827518845339601585997, + "self_link": "http://localhost:9001/3.0/members/201503883906298630827518845339601585997", + "delivery_mode": "regular", "http_etag": "\"cdeb61469e5570affb71a57796e9973567fddb01\"", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "user": + "http://localhost:9001/3.0/users/83146606173125440413280377188622338830"}], + "total_size": 1, "http_etag": "\"21b32518f939a022a6fad93874a56985be8d60f4\"", + "start": 0}'} + headers: + content-length: ['577'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "owner@example.com", "role": "owner", "member_id": 61590141769245487871899723500918780907, + "self_link": "http://localhost:9001/3.0/members/61590141769245487871899723500918780907", + "delivery_mode": "regular", "http_etag": "\"736f3012a5de1de0d742ff6320e906f9cba590c8\"", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "user": + "http://localhost:9001/3.0/users/131635024950405220742461738530345678353"}], + "total_size": 1, "http_etag": "\"e135b1442cbccad9ef34ca48055d61ef3b0a702a\"", + "start": 0}'} + headers: + content-length: ['564'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:15 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42:16 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:16 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:16 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:16 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:16 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:16 GMT'] + location: ['http://localhost:9001/3.0/members/182676273644432614041186308304918909112'] + 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:17 GMT'] + location: ['http://localhost:9001/3.0/members/284680162738907736598610387905588588142'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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: ['Thu, 16 Apr 2015 16:42:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:19 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:43:57 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:57 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:57 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43:57 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:57 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43:58 GMT'] + location: ['http://localhost:9001/3.0/members/53064699859549006051745979807933217933'] + 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43:58 GMT'] + location: ['http://localhost:9001/3.0/members/257863126160904030631148364259859438156'] + 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43:59 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:01 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:01 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:01 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:01 GMT'] + location: ['http://localhost:9001/3.0/members/251843165139674562967795413690244833186'] + 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:01 GMT'] + location: ['http://localhost:9001/3.0/members/89740596109376925864215460816905862579'] + 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44:04 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:04 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:04 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:04 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:04 GMT'] + location: ['http://localhost:9001/3.0/members/132890310965667612721439011198175702240'] + 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:04 GMT'] + location: ['http://localhost:9001/3.0/members/258310193402653853994398108453002955719'] + 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:07 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44:08 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:08 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:08 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:08 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:08 GMT'] + location: ['http://localhost:9001/3.0/members/105994534851645433876409953025500570457'] + 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:08 GMT'] + location: ['http://localhost:9001/3.0/members/277843793697208885604607883057464993998'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/105994534851645433876409953025500570457", + "user": "http://localhost:9001/3.0/users/315431939790601232717683610123075875865", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "http_etag": "\"f4b498aa34223f62750debf58b3523dacd96f06c\"", "member_id": + 105994534851645433876409953025500570457, "role": "owner", "email": "owner@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"16d65cfca042cffebb6b12af75cd36f2851dbd60\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/277843793697208885604607883057464993998", + "user": "http://localhost:9001/3.0/users/182941967469173817890225088161918586872", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "http_etag": "\"2cf83cca74c7ec4675e2aa948152737c3622c370\"", "member_id": + 277843793697208885604607883057464993998, "role": "moderator", "email": "moderator@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"b25322e377c2d320a1e1a91b5ab6ce7f46e32c0e\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['578'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/105994534851645433876409953025500570457", + "user": "http://localhost:9001/3.0/users/315431939790601232717683610123075875865", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "http_etag": "\"f4b498aa34223f62750debf58b3523dacd96f06c\"", "member_id": + 105994534851645433876409953025500570457, "role": "owner", "email": "owner@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"16d65cfca042cffebb6b12af75cd36f2851dbd60\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:13 GMT'] + location: ['http://localhost:9001/3.0/members/172663757690029643644808669320713905686'] + 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:13 GMT'] + location: ['http://localhost:9001/3.0/members/331378197086806167063625737411758467536'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44:59 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:59 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:59 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:59 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&subscriber=owner%40example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:00 GMT'] + location: ['http://localhost:9001/3.0/members/207938957451825885834992529582722677369'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: list_id=foo.example.com&subscriber=moderator%40example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:00 GMT'] + location: ['http://localhost:9001/3.0/members/130240708509452547990578346984855215927'] + 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:02 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:04 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:04 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:04 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&subscriber=owner%40example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:04 GMT'] + location: ['http://localhost:9001/3.0/members/224411339104046376540115547152852076894'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: list_id=foo.example.com&subscriber=moderator%40example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:04 GMT'] + location: ['http://localhost:9001/3.0/members/93669113549835824248076423679845371016'] + 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:45:08 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:08 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:08 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:08 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&subscriber=owner%40example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:08 GMT'] + location: ['http://localhost:9001/3.0/members/208647597209356933866743966166539887496'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: list_id=foo.example.com&subscriber=moderator%40example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:08 GMT'] + location: ['http://localhost:9001/3.0/members/10602296017072151859118181935833874566'] + 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:45:12 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:12 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:12 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&subscriber=owner%40example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:12 GMT'] + location: ['http://localhost:9001/3.0/members/127122557679421292247773828241754762806'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: list_id=foo.example.com&subscriber=moderator%40example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:13 GMT'] + location: ['http://localhost:9001/3.0/members/165646376690356040045998589258436557682'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0, "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/owner@example.com", "email": "owner@example.com", + "role": "owner", "member_id": 127122557679421292247773828241754762806, "http_etag": + "\"1076feb467a6f583e7a0d31c756df245c1194541\"", "self_link": "http://localhost:9001/3.0/members/127122557679421292247773828241754762806", + "user": "http://localhost:9001/3.0/users/66006950103280025087184184142668411477", + "delivery_mode": "regular"}], "http_etag": "\"db154f4f59cb2dccf412d6a1e84312095c912885\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['565'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/moderator@example.com", "email": "moderator@example.com", + "role": "moderator", "member_id": 165646376690356040045998589258436557682, + "http_etag": "\"d909af1eb19d1148dc9009c2aa10e3a713519e8d\"", "self_link": + "http://localhost:9001/3.0/members/165646376690356040045998589258436557682", + "user": "http://localhost:9001/3.0/users/267356944548152089453027513756407493311", + "delivery_mode": "regular"}], "http_etag": "\"5199297186356445f188f9d3935ac6754b876505\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['578'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/owner@example.com", "email": "owner@example.com", + "role": "owner", "member_id": 127122557679421292247773828241754762806, "http_etag": + "\"1076feb467a6f583e7a0d31c756df245c1194541\"", "self_link": "http://localhost:9001/3.0/members/127122557679421292247773828241754762806", + "user": "http://localhost:9001/3.0/users/66006950103280025087184184142668411477", + "delivery_mode": "regular"}], "http_etag": "\"db154f4f59cb2dccf412d6a1e84312095c912885\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['565'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:45:18 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:18 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:18 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&subscriber=owner%40example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:18 GMT'] + location: ['http://localhost:9001/3.0/members/84060026499887006391595209170470905205'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: list_id=foo.example.com&subscriber=moderator%40example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:18 GMT'] + location: ['http://localhost:9001/3.0/members/181860071627863112772943576931576482514'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0, "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:22 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml b/src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml index 5569ce2..b4bf502 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml @@ -8,15 +8,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 12:01:03 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -33,7 +32,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 12:01:03 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -45,16 +44,398 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"http_etag": "\"51d78cb00e18a60461749d1207f2707594ce1a6d\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/65666166344199916015948757016727609115", - "email": "owner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/117102017827318954078289964069449293796", - "role": "owner", "http_etag": "\"432b0cb405562590d58f047540c7527fb868ab68\"", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": - 65666166344199916015948757016727609115}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/76322437701403563057266227005474594242", + "http_etag": "\"c5f72d9a0d22852a26a39bc60c3433bcae99effd\"", "email": "owner@example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/105016014310372328385151182937108251478", + "delivery_mode": "regular", "member_id": 105016014310372328385151182937108251478, + "role": "owner"}], "http_etag": "\"9054c23a796577bbc30389e9ec6eb6db46a39b9e\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['565'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/335144970835505823573394648211346249810", + "http_etag": "\"62489a59f1ce59cefafc65cc80ef907e8c3c694f\"", "email": "moderator@example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/269367401923733234340873234992853209578", + "delivery_mode": "regular", "member_id": 269367401923733234340873234992853209578, + "role": "moderator"}], "http_etag": "\"ed1c7a24ce931a648242ab08df3f551dddefead9\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['578'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", + "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/76322437701403563057266227005474594242", + "http_etag": "\"c5f72d9a0d22852a26a39bc60c3433bcae99effd\"", "email": "owner@example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/105016014310372328385151182937108251478", + "delivery_mode": "regular", "member_id": 105016014310372328385151182937108251478, + "role": "owner"}], "http_etag": "\"9054c23a796577bbc30389e9ec6eb6db46a39b9e\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['565'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", + "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/76322437701403563057266227005474594242", + "http_etag": "\"b88412df658abecab575cb8091a106ed41f5af1c\"", "email": "owner@example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/303494619116670421498100601405715118551", + "delivery_mode": "regular", "member_id": 303494619116670421498100601405715118551, + "role": "owner"}], "http_etag": "\"c4c72516f3f183d23a8d679a2c106f9b466c4c08\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['565'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/335144970835505823573394648211346249810", + "http_etag": "\"b34e00f125e0af41641a51107c276ab587b67c77\"", "email": "moderator@example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/181135376074126821683376564344095019421", + "delivery_mode": "regular", "member_id": 181135376074126821683376564344095019421, + "role": "moderator"}], "http_etag": "\"0fc98e05c429c8e0323643f4620446723b7ef5d0\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['578'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/76322437701403563057266227005474594242", + "http_etag": "\"b88412df658abecab575cb8091a106ed41f5af1c\"", "email": "owner@example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/303494619116670421498100601405715118551", + "delivery_mode": "regular", "member_id": 303494619116670421498100601405715118551, + "role": "owner"}], "http_etag": "\"c4c72516f3f183d23a8d679a2c106f9b466c4c08\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['565'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/335144970835505823573394648211346249810", + "http_etag": "\"b34e00f125e0af41641a51107c276ab587b67c77\"", "email": "moderator@example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/181135376074126821683376564344095019421", + "delivery_mode": "regular", "member_id": 181135376074126821683376564344095019421, + "role": "moderator"}], "http_etag": "\"0fc98e05c429c8e0323643f4620446723b7ef5d0\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['578'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", + "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/76322437701403563057266227005474594242", + "http_etag": "\"716db4fff8e3c773e9cdebedc8e73d5e6f1d6dff\"", "email": "owner@example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/54892694067040236354669655501258217027", + "delivery_mode": "regular", "member_id": 54892694067040236354669655501258217027, + "role": "owner"}], "http_etag": "\"6d7e28e5e1404697a2fa338c3d0edce062e7c830\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['563'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/335144970835505823573394648211346249810", + "http_etag": "\"8c98351c0a031f3836d3a24afc5274daf79f7097\"", "email": "moderator@example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/149769313085588494143611083725579758342", + "delivery_mode": "regular", "member_id": 149769313085588494143611083725579758342, + "role": "moderator"}], "http_etag": "\"4fab64d81f9655d042341cfa41687d7af807f629\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['578'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/76322437701403563057266227005474594242", + "http_etag": "\"716db4fff8e3c773e9cdebedc8e73d5e6f1d6dff\"", "email": "owner@example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/54892694067040236354669655501258217027", + "delivery_mode": "regular", "member_id": 54892694067040236354669655501258217027, + "role": "owner"}], "http_etag": "\"6d7e28e5e1404697a2fa338c3d0edce062e7c830\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['563'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/335144970835505823573394648211346249810", + "http_etag": "\"8c98351c0a031f3836d3a24afc5274daf79f7097\"", "email": "moderator@example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": + "http://localhost:9001/3.0/members/149769313085588494143611083725579758342", + "delivery_mode": "regular", "member_id": 149769313085588494143611083725579758342, + "role": "moderator"}], "http_etag": "\"4fab64d81f9655d042341cfa41687d7af807f629\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['578'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"e50a1910177375aa745cc8374c2c1fc9ef895815\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/255015826804171332424761416287966710611", + "email": "owner@example.com", "http_etag": "\"8dfae38adf8b21e5a7bf065a3cfcb14cc5d7198f\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/22780087936998497558061641431578590367", + "role": "owner", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "member_id": 22780087936998497558061641431578590367}]}'} headers: content-length: ['564'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 16:19:24 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -66,16 +447,17 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: - body: {string: !!python/unicode '{"http_etag": "\"c59397427b076a99f54451fb8426c485f0197621\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/142734914141373676799912641898971185828", - "email": "moderator@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/313429703557169445575348239981723434246", - "role": "moderator", "http_etag": "\"fc87fe575147375a29f2e51b16d7cd778ff9b6d4\"", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id": - 142734914141373676799912641898971185828}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"http_etag": "\"204d41efb85e7af30c9757e6d10473df568a6f97\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/88697961725422845867427722046476204629", + "email": "moderator@example.com", "http_etag": "\"0ba268e50acce51986439e4b4a1dbf134a63299d\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/195257236730512975572483640549246288339", + "role": "moderator", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "member_id": 195257236730512975572483640549246288339}]}'} headers: - content-length: ['578'] + content-length: ['577'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 16:19:24 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -87,15 +469,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", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", - "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 16:19:24 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -107,16 +489,636 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"http_etag": "\"51d78cb00e18a60461749d1207f2707594ce1a6d\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/65666166344199916015948757016727609115", - "email": "owner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/117102017827318954078289964069449293796", - "role": "owner", "http_etag": "\"432b0cb405562590d58f047540c7527fb868ab68\"", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": - 65666166344199916015948757016727609115}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"http_etag": "\"e50a1910177375aa745cc8374c2c1fc9ef895815\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/255015826804171332424761416287966710611", + "email": "owner@example.com", "http_etag": "\"8dfae38adf8b21e5a7bf065a3cfcb14cc5d7198f\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/22780087936998497558061641431578590367", + "role": "owner", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "member_id": 22780087936998497558061641431578590367}]}'} headers: content-length: ['564'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"dd7bd61fea656bf8acbddbcbed32d66c9118bfde\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/255015826804171332424761416287966710611", + "email": "owner@example.com", "http_etag": "\"7c42662be3d642a3c4dbdbee24119bcb810c2bae\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/181663476388650323315978644708920103530", + "role": "owner", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "member_id": 181663476388650323315978644708920103530}]}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"14c304c71363fb57dd5a58575e1c8d2bb64bbb02\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/88697961725422845867427722046476204629", + "email": "moderator@example.com", "http_etag": "\"449f8de55606d51cfa109407adcd67ade927375b\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/15886826379185509915208594522056123167", + "role": "moderator", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "member_id": 15886826379185509915208594522056123167}]}'} + headers: + content-length: ['575'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"dd7bd61fea656bf8acbddbcbed32d66c9118bfde\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/255015826804171332424761416287966710611", + "email": "owner@example.com", "http_etag": "\"7c42662be3d642a3c4dbdbee24119bcb810c2bae\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/181663476388650323315978644708920103530", + "role": "owner", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "member_id": 181663476388650323315978644708920103530}]}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"14c304c71363fb57dd5a58575e1c8d2bb64bbb02\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/88697961725422845867427722046476204629", + "email": "moderator@example.com", "http_etag": "\"449f8de55606d51cfa109407adcd67ade927375b\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/15886826379185509915208594522056123167", + "role": "moderator", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "member_id": 15886826379185509915208594522056123167}]}'} + headers: + content-length: ['575'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"c9010562fd7e6cc535b6f6888b11a1f8dd3f3550\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/255015826804171332424761416287966710611", + "email": "owner@example.com", "http_etag": "\"6d45ef3065113de179f78f250663e86a9058b927\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/230663657833890223096562397364921204613", + "role": "owner", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "member_id": 230663657833890223096562397364921204613}]}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"b21e3c106494bb2be4f5cafc38bb9a9d28614846\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/88697961725422845867427722046476204629", + "email": "moderator@example.com", "http_etag": "\"b33afa6ed1b954fb7337062e787fc51861be0881\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/127995892348853843267162606767745694932", + "role": "moderator", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "member_id": 127995892348853843267162606767745694932}]}'} + headers: + content-length: ['577'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"c9010562fd7e6cc535b6f6888b11a1f8dd3f3550\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/255015826804171332424761416287966710611", + "email": "owner@example.com", "http_etag": "\"6d45ef3065113de179f78f250663e86a9058b927\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/230663657833890223096562397364921204613", + "role": "owner", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "member_id": 230663657833890223096562397364921204613}]}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"b21e3c106494bb2be4f5cafc38bb9a9d28614846\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/88697961725422845867427722046476204629", + "email": "moderator@example.com", "http_etag": "\"b33afa6ed1b954fb7337062e787fc51861be0881\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/127995892348853843267162606767745694932", + "role": "moderator", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "member_id": 127995892348853843267162606767745694932}]}'} + headers: + content-length: ['577'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:00 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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: ['Thu, 16 Apr 2015 16:40:00 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/181063651408117211164204919007599259408", + "http_etag": "\"f4ff0e4a9190453a733596f7ec1e40f90b85158f\"", "user": "http://localhost:9001/3.0/users/209605544006964234273776222753532543294", + "role": "owner", "email": "owner@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": + 181063651408117211164204919007599259408}], "start": 0, "http_etag": "\"56807ef6464d01755b4e69cf2574da712476ff4c\"", + "total_size": 1}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:00 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/296109809687563538230789349645949917001", + "http_etag": "\"08d0ab7c6756bc2100b3d3d208a6523c46f4c567\"", "user": "http://localhost:9001/3.0/users/83073017996129754322972727314093801305", + "role": "moderator", "email": "moderator@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id": + 296109809687563538230789349645949917001}], "start": 0, "http_etag": "\"28e9fa7cfac2265502c3ecf956b8362b1cd2bfe3\"", + "total_size": 1}'} + headers: + content-length: ['577'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:00 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:00 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/181063651408117211164204919007599259408", + "http_etag": "\"f4ff0e4a9190453a733596f7ec1e40f90b85158f\"", "user": "http://localhost:9001/3.0/users/209605544006964234273776222753532543294", + "role": "owner", "email": "owner@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": + 181063651408117211164204919007599259408}], "start": 0, "http_etag": "\"56807ef6464d01755b4e69cf2574da712476ff4c\"", + "total_size": 1}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:00 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/82825025129642147557629451651525546650", + "http_etag": "\"2eb5b7c5b3d2c5933cea0e7758808aff261d0741\"", "user": "http://localhost:9001/3.0/users/209605544006964234273776222753532543294", + "role": "owner", "email": "owner@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": + 82825025129642147557629451651525546650}], "start": 0, "http_etag": "\"184bd483ef899d6a8269376ac7af0f2204ab6fb2\"", + "total_size": 1}'} + headers: + content-length: ['564'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/5688776331463680649567654598484251153", + "http_etag": "\"2778b45cfb47b3d1fb7b175aa0493fc05e8abd69\"", "user": "http://localhost:9001/3.0/users/83073017996129754322972727314093801305", + "role": "moderator", "email": "moderator@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id": + 5688776331463680649567654598484251153}], "start": 0, "http_etag": "\"a8ec9064a789c4c32edc960378a9900ad5541055\"", + "total_size": 1}'} + headers: + content-length: ['573'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/82825025129642147557629451651525546650", + "http_etag": "\"2eb5b7c5b3d2c5933cea0e7758808aff261d0741\"", "user": "http://localhost:9001/3.0/users/209605544006964234273776222753532543294", + "role": "owner", "email": "owner@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": + 82825025129642147557629451651525546650}], "start": 0, "http_etag": "\"184bd483ef899d6a8269376ac7af0f2204ab6fb2\"", + "total_size": 1}'} + headers: + content-length: ['564'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/5688776331463680649567654598484251153", + "http_etag": "\"2778b45cfb47b3d1fb7b175aa0493fc05e8abd69\"", "user": "http://localhost:9001/3.0/users/83073017996129754322972727314093801305", + "role": "moderator", "email": "moderator@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id": + 5688776331463680649567654598484251153}], "start": 0, "http_etag": "\"a8ec9064a789c4c32edc960378a9900ad5541055\"", + "total_size": 1}'} + headers: + content-length: ['573'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/93684702680889272211906019681720765455", + "http_etag": "\"dc58af8f3379e46a9a61e477b636733bc3436e0f\"", "user": "http://localhost:9001/3.0/users/209605544006964234273776222753532543294", + "role": "owner", "email": "owner@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": + 93684702680889272211906019681720765455}], "start": 0, "http_etag": "\"e79d42d2c2c0e92898af4c7c74ae6a0fc4a2d58b\"", + "total_size": 1}'} + headers: + content-length: ['564'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/151486281752054879640303959064533071770", + "http_etag": "\"f5f8687d373fb1424491a1eb40b84958119f9261\"", "user": "http://localhost:9001/3.0/users/83073017996129754322972727314093801305", + "role": "moderator", "email": "moderator@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id": + 151486281752054879640303959064533071770}], "start": 0, "http_etag": "\"80559c4d20dd8798a0c53860a115910591d9d92f\"", + "total_size": 1}'} + headers: + content-length: ['577'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/93684702680889272211906019681720765455", + "http_etag": "\"dc58af8f3379e46a9a61e477b636733bc3436e0f\"", "user": "http://localhost:9001/3.0/users/209605544006964234273776222753532543294", + "role": "owner", "email": "owner@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": + 93684702680889272211906019681720765455}], "start": 0, "http_etag": "\"e79d42d2c2c0e92898af4c7c74ae6a0fc4a2d58b\"", + "total_size": 1}'} + headers: + content-length: ['564'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/151486281752054879640303959064533071770", + "http_etag": "\"f5f8687d373fb1424491a1eb40b84958119f9261\"", "user": "http://localhost:9001/3.0/users/83073017996129754322972727314093801305", + "role": "moderator", "email": "moderator@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id": + 151486281752054879640303959064533071770}], "start": 0, "http_etag": "\"80559c4d20dd8798a0c53860a115910591d9d92f\"", + "total_size": 1}'} + headers: + content-length: ['577'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:05 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -129,14 +1131,394 @@ uri: http://localhost:9001/3.0/lists/foo@example.com response: body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", - "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "owner@example.com", "role": "owner", "member_id": 97417354924445189237669628372538288770, + "self_link": "http://localhost:9001/3.0/members/97417354924445189237669628372538288770", + "delivery_mode": "regular", "http_etag": "\"535309035dce1006bd5f2d9923f65def7ca26a25\"", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "user": + "http://localhost:9001/3.0/users/131635024950405220742461738530345678353"}], + "total_size": 1, "http_etag": "\"9ec1585753230510ca031d2685012394720e8a62\"", + "start": 0}'} + headers: + content-length: ['564'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "moderator@example.com", "role": "moderator", "member_id": 332206073616310958883603584766061877545, + "self_link": "http://localhost:9001/3.0/members/332206073616310958883603584766061877545", + "delivery_mode": "regular", "http_etag": "\"e42a5121b6d933f0e71ae10241e81a5d989266f5\"", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "user": + "http://localhost:9001/3.0/users/83146606173125440413280377188622338830"}], + "total_size": 1, "http_etag": "\"e89417e4da8ef0f7675c1406ec622ec616023c4e\"", + "start": 0}'} + headers: + content-length: ['577'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "owner@example.com", "role": "owner", "member_id": 97417354924445189237669628372538288770, + "self_link": "http://localhost:9001/3.0/members/97417354924445189237669628372538288770", + "delivery_mode": "regular", "http_etag": "\"535309035dce1006bd5f2d9923f65def7ca26a25\"", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "user": + "http://localhost:9001/3.0/users/131635024950405220742461738530345678353"}], + "total_size": 1, "http_etag": "\"9ec1585753230510ca031d2685012394720e8a62\"", + "start": 0}'} + headers: + content-length: ['564'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "owner@example.com", "role": "owner", "member_id": 251126299931222865012121746260968668545, + "self_link": "http://localhost:9001/3.0/members/251126299931222865012121746260968668545", + "delivery_mode": "regular", "http_etag": "\"7ba3255df250d9877dd6d4795db49dbb98672c95\"", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "user": + "http://localhost:9001/3.0/users/131635024950405220742461738530345678353"}], + "total_size": 1, "http_etag": "\"ddf75b905e218ed7ac1289e0a68a03dee6ba27e2\"", + "start": 0}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "moderator@example.com", "role": "moderator", "member_id": 284306502156519275538099888765039370538, + "self_link": "http://localhost:9001/3.0/members/284306502156519275538099888765039370538", + "delivery_mode": "regular", "http_etag": "\"b586ba91b866c223bdd197cc4ff7c25a92af9fc6\"", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "user": + "http://localhost:9001/3.0/users/83146606173125440413280377188622338830"}], + "total_size": 1, "http_etag": "\"dc4f09ce90acd89a0578e2293b69db41f0324dc7\"", + "start": 0}'} + headers: + content-length: ['577'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "owner@example.com", "role": "owner", "member_id": 251126299931222865012121746260968668545, + "self_link": "http://localhost:9001/3.0/members/251126299931222865012121746260968668545", + "delivery_mode": "regular", "http_etag": "\"7ba3255df250d9877dd6d4795db49dbb98672c95\"", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "user": + "http://localhost:9001/3.0/users/131635024950405220742461738530345678353"}], + "total_size": 1, "http_etag": "\"ddf75b905e218ed7ac1289e0a68a03dee6ba27e2\"", + "start": 0}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "moderator@example.com", "role": "moderator", "member_id": 284306502156519275538099888765039370538, + "self_link": "http://localhost:9001/3.0/members/284306502156519275538099888765039370538", + "delivery_mode": "regular", "http_etag": "\"b586ba91b866c223bdd197cc4ff7c25a92af9fc6\"", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "user": + "http://localhost:9001/3.0/users/83146606173125440413280377188622338830"}], + "total_size": 1, "http_etag": "\"dc4f09ce90acd89a0578e2293b69db41f0324dc7\"", + "start": 0}'} + headers: + content-length: ['577'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "owner@example.com", "role": "owner", "member_id": 111518125863259070370781192119155695471, + "self_link": "http://localhost:9001/3.0/members/111518125863259070370781192119155695471", + "delivery_mode": "regular", "http_etag": "\"2ee0d1b53ef699ce772cb3cee6c638de8365d54b\"", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "user": + "http://localhost:9001/3.0/users/131635024950405220742461738530345678353"}], + "total_size": 1, "http_etag": "\"fb2389d61df94f9b372cdea9014b6d72f4b2eb84\"", + "start": 0}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "moderator@example.com", "role": "moderator", "member_id": 179806134936137118604824059501179937149, + "self_link": "http://localhost:9001/3.0/members/179806134936137118604824059501179937149", + "delivery_mode": "regular", "http_etag": "\"83c7ded7f74e8ce75e3e83b993b2abbff39942b3\"", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "user": + "http://localhost:9001/3.0/users/83146606173125440413280377188622338830"}], + "total_size": 1, "http_etag": "\"f46e28500163cd20da06e5fb48bd9d6de9a8ec71\"", + "start": 0}'} + headers: + content-length: ['577'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "owner@example.com", "role": "owner", "member_id": 111518125863259070370781192119155695471, + "self_link": "http://localhost:9001/3.0/members/111518125863259070370781192119155695471", + "delivery_mode": "regular", "http_etag": "\"2ee0d1b53ef699ce772cb3cee6c638de8365d54b\"", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "user": + "http://localhost:9001/3.0/users/131635024950405220742461738530345678353"}], + "total_size": 1, "http_etag": "\"fb2389d61df94f9b372cdea9014b6d72f4b2eb84\"", + "start": 0}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "moderator@example.com", "role": "moderator", "member_id": 179806134936137118604824059501179937149, + "self_link": "http://localhost:9001/3.0/members/179806134936137118604824059501179937149", + "delivery_mode": "regular", "http_etag": "\"83c7ded7f74e8ce75e3e83b993b2abbff39942b3\"", + "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "user": + "http://localhost:9001/3.0/users/83146606173125440413280377188622338830"}], + "total_size": 1, "http_etag": "\"f46e28500163cd20da06e5fb48bd9d6de9a8ec71\"", + "start": 0}'} + headers: + content-length: ['577'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:42 GMT'] + date: ['Thu, 16 Apr 2015 16:43:58 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -153,7 +1535,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:42 GMT'] + date: ['Thu, 16 Apr 2015 16:43:58 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -165,16 +1547,17 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"http_etag": "\"0cb4d7b03c6e1af1a9ea0488f225e1eaee21d06f\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/146478159952862640555572319802110037529", - "email": "owner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/117102017827318954078289964069449293796", - "role": "owner", "http_etag": "\"85a930c254b3f42b5cf86c653442fea56835dcec\"", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": - 146478159952862640555572319802110037529}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/53064699859549006051745979807933217933", + "user": "http://localhost:9001/3.0/users/315431939790601232717683610123075875865", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "http_etag": "\"8fa09a0c1e2961fff71e3ae3c211751a8f734d51\"", "member_id": + 53064699859549006051745979807933217933, "role": "owner", "email": "owner@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"b0a3e299bae8d935c362e4311cbe25f8f0068c7c\"", + "start": 0, "total_size": 1}'} headers: - content-length: ['566'] + content-length: ['564'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:42 GMT'] + date: ['Thu, 16 Apr 2015 16:43:58 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -186,58 +1569,17 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: - body: {string: !!python/unicode '{"http_etag": "\"544213e84cea14e55fa5e4b5d7283acb2a0fa1f8\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/300345844286885579524106623093994765189", - "email": "moderator@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/313429703557169445575348239981723434246", - "role": "moderator", "http_etag": "\"a0565c2e2754fb1c2bd5cef276c64d818485f1a9\"", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id": - 300345844286885579524106623093994765189}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/257863126160904030631148364259859438156", + "user": "http://localhost:9001/3.0/users/182941967469173817890225088161918586872", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "http_etag": "\"2db1a2b5b428d361e9a20c061eda5701207a5a75\"", "member_id": + 257863126160904030631148364259859438156, "role": "moderator", "email": "moderator@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"573b7302c418902ae72fca4bd6d6234777293ad5\"", + "start": 0, "total_size": 1}'} headers: content-length: ['578'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00: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.0b2'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"http_etag": "\"0cb4d7b03c6e1af1a9ea0488f225e1eaee21d06f\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/146478159952862640555572319802110037529", - "email": "owner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/117102017827318954078289964069449293796", - "role": "owner", "http_etag": "\"85a930c254b3f42b5cf86c653442fea56835dcec\"", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": - 146478159952862640555572319802110037529}], "start": 0, "total_size": 1}'} - headers: - content-length: ['566'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00: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.0b2'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"http_etag": "\"544213e84cea14e55fa5e4b5d7283acb2a0fa1f8\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/300345844286885579524106623093994765189", - "email": "moderator@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/313429703557169445575348239981723434246", - "role": "moderator", "http_etag": "\"a0565c2e2754fb1c2bd5cef276c64d818485f1a9\"", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id": - 300345844286885579524106623093994765189}], "start": 0, "total_size": 1}'} - headers: - content-length: ['578'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:42 GMT'] + date: ['Thu, 16 Apr 2015 16:43:58 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -249,15 +1591,57 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", - "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:43 GMT'] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/53064699859549006051745979807933217933", + "user": "http://localhost:9001/3.0/users/315431939790601232717683610123075875865", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "http_etag": "\"8fa09a0c1e2961fff71e3ae3c211751a8f734d51\"", "member_id": + 53064699859549006051745979807933217933, "role": "owner", "email": "owner@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"b0a3e299bae8d935c362e4311cbe25f8f0068c7c\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['564'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -274,7 +1658,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:43 GMT'] + date: ['Thu, 16 Apr 2015 16:44:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -286,16 +1670,17 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"http_etag": "\"bae7530d8cf648d529d508d3c46be38477c8d3ad\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/333804327984641227543735764681736417610", - "email": "owner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/117102017827318954078289964069449293796", - "role": "owner", "http_etag": "\"ec0178c2e8d6fb0133a819a2a064d3da9ba36c61\"", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": - 333804327984641227543735764681736417610}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/251843165139674562967795413690244833186", + "user": "http://localhost:9001/3.0/users/315431939790601232717683610123075875865", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "http_etag": "\"a2219536c71302bccc2a1964753362f1fa5ac606\"", "member_id": + 251843165139674562967795413690244833186, "role": "owner", "email": "owner@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"a2016b99d942dfad8edaefae9565a26e09819b6a\"", + "start": 0, "total_size": 1}'} headers: content-length: ['566'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:43 GMT'] + date: ['Thu, 16 Apr 2015 16:44:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -307,16 +1692,17 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: - body: {string: !!python/unicode '{"http_etag": "\"6dcb366c09097b00549bde66eeb52f0ce1a4ec22\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/193153637813201025305722262172721795279", - "email": "moderator@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/313429703557169445575348239981723434246", - "role": "moderator", "http_etag": "\"28617c5a79940598bbb23f35c3f5e46ec6eb6d46\"", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id": - 193153637813201025305722262172721795279}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/89740596109376925864215460816905862579", + "user": "http://localhost:9001/3.0/users/182941967469173817890225088161918586872", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "http_etag": "\"1d2143f6c7b123b68949ce618982f6e2bfaad507\"", "member_id": + 89740596109376925864215460816905862579, "role": "moderator", "email": "moderator@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"cd7d4be09df66c98f18ede6ca2c96c50143acbb5\"", + "start": 0, "total_size": 1}'} headers: - content-length: ['578'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:43 GMT'] + date: ['Thu, 16 Apr 2015 16:44:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -328,16 +1714,17 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"http_etag": "\"bae7530d8cf648d529d508d3c46be38477c8d3ad\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/333804327984641227543735764681736417610", - "email": "owner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/117102017827318954078289964069449293796", - "role": "owner", "http_etag": "\"ec0178c2e8d6fb0133a819a2a064d3da9ba36c61\"", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": - 333804327984641227543735764681736417610}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/251843165139674562967795413690244833186", + "user": "http://localhost:9001/3.0/users/315431939790601232717683610123075875865", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "http_etag": "\"a2219536c71302bccc2a1964753362f1fa5ac606\"", "member_id": + 251843165139674562967795413690244833186, "role": "owner", "email": "owner@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"a2016b99d942dfad8edaefae9565a26e09819b6a\"", + "start": 0, "total_size": 1}'} headers: content-length: ['566'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:43 GMT'] + date: ['Thu, 16 Apr 2015 16:44:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -349,16 +1736,520 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: - body: {string: !!python/unicode '{"http_etag": "\"6dcb366c09097b00549bde66eeb52f0ce1a4ec22\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/193153637813201025305722262172721795279", - "email": "moderator@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/313429703557169445575348239981723434246", - "role": "moderator", "http_etag": "\"28617c5a79940598bbb23f35c3f5e46ec6eb6d46\"", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "member_id": - 193153637813201025305722262172721795279}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/89740596109376925864215460816905862579", + "user": "http://localhost:9001/3.0/users/182941967469173817890225088161918586872", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "http_etag": "\"1d2143f6c7b123b68949ce618982f6e2bfaad507\"", "member_id": + 89740596109376925864215460816905862579, "role": "moderator", "email": "moderator@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"cd7d4be09df66c98f18ede6ca2c96c50143acbb5\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/132890310965667612721439011198175702240", + "user": "http://localhost:9001/3.0/users/315431939790601232717683610123075875865", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "http_etag": "\"335cf709556fb1871a42a38724d6fafb623247d3\"", "member_id": + 132890310965667612721439011198175702240, "role": "owner", "email": "owner@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"fe20a92511442f8d1e5177a250f73488ff68b7eb\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/258310193402653853994398108453002955719", + "user": "http://localhost:9001/3.0/users/182941967469173817890225088161918586872", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "http_etag": "\"9568508f7d3b1e18de04c2f62e1c4500950a4755\"", "member_id": + 258310193402653853994398108453002955719, "role": "moderator", "email": "moderator@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"49ceff7a15e761582d9ea863c42428990c0804fc\"", + "start": 0, "total_size": 1}'} headers: content-length: ['578'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:43 GMT'] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/132890310965667612721439011198175702240", + "user": "http://localhost:9001/3.0/users/315431939790601232717683610123075875865", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "http_etag": "\"335cf709556fb1871a42a38724d6fafb623247d3\"", "member_id": + 132890310965667612721439011198175702240, "role": "owner", "email": "owner@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"fe20a92511442f8d1e5177a250f73488ff68b7eb\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['566'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/258310193402653853994398108453002955719", + "user": "http://localhost:9001/3.0/users/182941967469173817890225088161918586872", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "http_etag": "\"9568508f7d3b1e18de04c2f62e1c4500950a4755\"", "member_id": + 258310193402653853994398108453002955719, "role": "moderator", "email": "moderator@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"49ceff7a15e761582d9ea863c42428990c0804fc\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['578'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0, "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/owner@example.com", "email": "owner@example.com", + "role": "owner", "member_id": 207938957451825885834992529582722677369, "http_etag": + "\"dd8ff6fa1d2b14302ae08e62475bcad60dc66ca3\"", "self_link": "http://localhost:9001/3.0/members/207938957451825885834992529582722677369", + "user": "http://localhost:9001/3.0/users/66006950103280025087184184142668411477", + "delivery_mode": "regular"}], "http_etag": "\"e9d36178b93aaf31a47e2997490fb19e0b99b5f8\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['565'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/moderator@example.com", "email": "moderator@example.com", + "role": "moderator", "member_id": 130240708509452547990578346984855215927, + "http_etag": "\"f4d53d071edd0222b3db69fe5664c3e8adac1532\"", "self_link": + "http://localhost:9001/3.0/members/130240708509452547990578346984855215927", + "user": "http://localhost:9001/3.0/users/267356944548152089453027513756407493311", + "delivery_mode": "regular"}], "http_etag": "\"1eb7d611a50bb0051dd5fb39210d687fe9b510fa\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['578'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/owner@example.com", "email": "owner@example.com", + "role": "owner", "member_id": 207938957451825885834992529582722677369, "http_etag": + "\"dd8ff6fa1d2b14302ae08e62475bcad60dc66ca3\"", "self_link": "http://localhost:9001/3.0/members/207938957451825885834992529582722677369", + "user": "http://localhost:9001/3.0/users/66006950103280025087184184142668411477", + "delivery_mode": "regular"}], "http_etag": "\"e9d36178b93aaf31a47e2997490fb19e0b99b5f8\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['565'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0, "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/owner@example.com", "email": "owner@example.com", + "role": "owner", "member_id": 224411339104046376540115547152852076894, "http_etag": + "\"a8c747a584d486469362663e17a3817ce41ebbdb\"", "self_link": "http://localhost:9001/3.0/members/224411339104046376540115547152852076894", + "user": "http://localhost:9001/3.0/users/66006950103280025087184184142668411477", + "delivery_mode": "regular"}], "http_etag": "\"d1151e3249f013ae7163ed53bee589904c879e4c\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['565'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/moderator@example.com", "email": "moderator@example.com", + "role": "moderator", "member_id": 93669113549835824248076423679845371016, + "http_etag": "\"b1b456792d4f4e260d9d9f2c01d162e90dc9c33c\"", "self_link": + "http://localhost:9001/3.0/members/93669113549835824248076423679845371016", + "user": "http://localhost:9001/3.0/users/267356944548152089453027513756407493311", + "delivery_mode": "regular"}], "http_etag": "\"5be9bb024be7e8c0cfbc9136f4d4d9d17e92ad97\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/owner@example.com", "email": "owner@example.com", + "role": "owner", "member_id": 224411339104046376540115547152852076894, "http_etag": + "\"a8c747a584d486469362663e17a3817ce41ebbdb\"", "self_link": "http://localhost:9001/3.0/members/224411339104046376540115547152852076894", + "user": "http://localhost:9001/3.0/users/66006950103280025087184184142668411477", + "delivery_mode": "regular"}], "http_etag": "\"d1151e3249f013ae7163ed53bee589904c879e4c\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['565'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/moderator@example.com", "email": "moderator@example.com", + "role": "moderator", "member_id": 93669113549835824248076423679845371016, + "http_etag": "\"b1b456792d4f4e260d9d9f2c01d162e90dc9c33c\"", "self_link": + "http://localhost:9001/3.0/members/93669113549835824248076423679845371016", + "user": "http://localhost:9001/3.0/users/267356944548152089453027513756407493311", + "delivery_mode": "regular"}], "http_etag": "\"5be9bb024be7e8c0cfbc9136f4d4d9d17e92ad97\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0, "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/owner@example.com", "email": "owner@example.com", + "role": "owner", "member_id": 208647597209356933866743966166539887496, "http_etag": + "\"f854f389774412f755685be68ca150a97a9ee9d4\"", "self_link": "http://localhost:9001/3.0/members/208647597209356933866743966166539887496", + "user": "http://localhost:9001/3.0/users/66006950103280025087184184142668411477", + "delivery_mode": "regular"}], "http_etag": "\"a1d6f0bf27bfbc41942f5fd834906ac5bc92a740\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['565'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/moderator@example.com", "email": "moderator@example.com", + "role": "moderator", "member_id": 10602296017072151859118181935833874566, + "http_etag": "\"ec79e0e4fe7a0f717626b7e1acece81c155d0085\"", "self_link": + "http://localhost:9001/3.0/members/10602296017072151859118181935833874566", + "user": "http://localhost:9001/3.0/users/267356944548152089453027513756407493311", + "delivery_mode": "regular"}], "http_etag": "\"550273c40d8089abf4d4a0535249c6d27ed947e9\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/owner@example.com", "email": "owner@example.com", + "role": "owner", "member_id": 208647597209356933866743966166539887496, "http_etag": + "\"f854f389774412f755685be68ca150a97a9ee9d4\"", "self_link": "http://localhost:9001/3.0/members/208647597209356933866743966166539887496", + "user": "http://localhost:9001/3.0/users/66006950103280025087184184142668411477", + "delivery_mode": "regular"}], "http_etag": "\"a1d6f0bf27bfbc41942f5fd834906ac5bc92a740\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['565'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/moderator@example.com", "email": "moderator@example.com", + "role": "moderator", "member_id": 10602296017072151859118181935833874566, + "http_etag": "\"ec79e0e4fe7a0f717626b7e1acece81c155d0085\"", "self_link": + "http://localhost:9001/3.0/members/10602296017072151859118181935833874566", + "user": "http://localhost:9001/3.0/users/267356944548152089453027513756407493311", + "delivery_mode": "regular"}], "http_etag": "\"550273c40d8089abf4d4a0535249c6d27ed947e9\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:09 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/list_subscription.yaml b/src/postorius/tests/fixtures/vcr_cassettes/list_subscription.yaml new file mode 100644 index 0000000..c31f8eb --- /dev/null +++ b/src/postorius/tests/fixtures/vcr_cassettes/list_subscription.yaml @@ -0,0 +1,2213 @@ +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.0b2'] + 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: ['Thu, 16 Apr 2015 16:39:57 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:57 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:57 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39:57 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:57 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"scheme": "http", "digest_last_sent_at": null, + "autorespond_requests": "none", "http_etag": "\"d77542b834aae87e4a9f3923b935edf306fbb279\"", + "include_rfc2369_headers": true, "archive_policy": "public", "list_name": + "foo", "leave_address": "foo-leave@example.com", "anonymous_list": false, + "join_address": "foo-join@example.com", "posting_pipeline": "default-posting-pipeline", + "posting_address": "foo@example.com", "autoresponse_postings_text": "", "autoresponse_request_text": + "", "autorespond_postings": "none", "post_id": 1, "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_owner_text": "", "subject_prefix": "[Foo] ", "volume": 1, "fqdn_listname": + "foo@example.com", "subscription_policy": "confirm", "bounces_address": "foo-bounces@example.com", + "first_strip_reply_to": false, "reply_goes_to_list": "no_munging", "advertised": + true, "acceptable_aliases": [], "last_post_at": null, "next_digest_number": + 1, "reply_to_address": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "admin_notify_mchanges": false, "send_welcome_message": true, "display_name": + "Foo", "administrivia": true, "collapse_alternatives": true, "default_nonmember_action": + "hold", "owner_address": "foo-owner@example.com", "request_address": "foo-request@example.com", + "default_member_action": "defer", "digest_size_threshold": 30.0, "created_at": + "2015-04-16T16:39:57.609435", "no_reply_address": "noreply@example.com", "description": + "", "autorespond_owner": "none", "filter_content": false, "convert_html_to_plaintext": + false, "allow_list_posts": true, "mail_host": "example.com", "admin_immed_notify": + true}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:57 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: advertised=True&autoresponse_owner_text=&administrivia=True&allow_list_posts=True&autoresponse_postings_text=&admin_notify_mchanges=False&first_strip_reply_to=False&description=&archive_policy=public&reply_goes_to_list=no_munging&autorespond_postings=none&default_member_action=defer&anonymous_list=False&subscription_policy=open&filter_content=False&convert_html_to_plaintext=False&digest_size_threshold=30.0&admin_immed_notify=True&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&send_welcome_message=True&collapse_alternatives=True&display_name=Foo&posting_pipeline=default-posting-pipeline&autorespond_owner=none&default_nonmember_action=hold&subject_prefix=%5BFoo%5D+&reply_to_address=&include_rfc2369_headers=True&autoresponse_request_text=&autoresponse_grace_period=90d&autorespond_requests=none + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PATCH' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39:57 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:01 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:01 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"convert_html_to_plaintext": false, "owner_address": + "foo-owner@example.com", "autorespond_requests": "none", "anonymous_list": + false, "admin_notify_mchanges": false, "autoresponse_request_text": "", "http_etag": + "\"15320bc8797ac3fe8d158ee5081fe486993acdc2\"", "administrivia": true, "join_address": + "foo-join@example.com", "digest_size_threshold": 30.0, "next_digest_number": + 1, "request_address": "foo-request@example.com", "collapse_alternatives": + true, "posting_address": "foo@example.com", "allow_list_posts": true, "last_post_at": + null, "post_id": 1, "volume": 1, "autoresponse_grace_period": "90d", "reply_to_address": + "", "advertised": true, "autoresponse_owner_text": "", "subscription_policy": + "confirm", "scheme": "http", "display_name": "Foo", "default_nonmember_action": + "hold", "bounces_address": "foo-bounces@example.com", "acceptable_aliases": + [], "filter_content": false, "fqdn_listname": "foo@example.com", "welcome_message_uri": + "mailman:///welcome.txt", "send_welcome_message": true, "list_name": "foo", + "first_strip_reply_to": false, "autorespond_owner": "none", "reply_goes_to_list": + "no_munging", "digest_last_sent_at": null, "leave_address": "foo-leave@example.com", + "description": "", "archive_policy": "public", "subject_prefix": "[Foo] ", + "autoresponse_postings_text": "", "admin_immed_notify": true, "web_host": + "example.com", "mail_host": "example.com", "autorespond_postings": "none", + "no_reply_address": "noreply@example.com", "include_rfc2369_headers": true, + "default_member_action": "defer", "posting_pipeline": "default-posting-pipeline", + "created_at": "2015-04-16T16:42:01.346254"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:01 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: administrivia=True&admin_immed_notify=True&subscription_policy=open&autorespond_postings=none&convert_html_to_plaintext=False&filter_content=False&advertised=True&autoresponse_postings_text=&autorespond_owner=none&reply_goes_to_list=no_munging&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&description=&autorespond_requests=none&anonymous_list=False&archive_policy=public&subject_prefix=%5BFoo%5D+&autoresponse_owner_text=&first_strip_reply_to=False&send_welcome_message=True&collapse_alternatives=True&reply_to_address=&digest_size_threshold=30.0&include_rfc2369_headers=True&autoresponse_grace_period=90d&posting_pipeline=default-posting-pipeline&allow_list_posts=True&admin_notify_mchanges=False&autoresponse_request_text=&default_nonmember_action=hold&default_member_action=defer&display_name=Foo + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PATCH' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:01 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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: ['Thu, 16 Apr 2015 16:43:54 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:54 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43:54 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": "", + "subscription_policy": "confirm", "display_name": "Foo", "send_welcome_message": + true, "convert_html_to_plaintext": false, "leave_address": "foo-leave@example.com", + "reply_goes_to_list": "no_munging", "default_member_action": "defer", "digest_size_threshold": + 30.0, "autorespond_owner": "none", "reply_to_address": "", "advertised": true, + "no_reply_address": "noreply@example.com", "autoresponse_grace_period": "90d", + "bounces_address": "foo-bounces@example.com", "default_nonmember_action": + "hold", "autoresponse_owner_text": "", "owner_address": "foo-owner@example.com", + "filter_content": false, "post_id": 1, "include_rfc2369_headers": true, "autorespond_requests": + "none", "join_address": "foo-join@example.com", "next_digest_number": 1, "web_host": + "example.com", "admin_immed_notify": true, "allow_list_posts": true, "digest_last_sent_at": + null, "anonymous_list": false, "autorespond_postings": "none", "collapse_alternatives": + true, "scheme": "http", "http_etag": "\"7a835d188a41447ddf89a5c46de5caba7c7f53c4\"", + "subject_prefix": "[Foo] ", "first_strip_reply_to": false, "acceptable_aliases": + [], "fqdn_listname": "foo@example.com", "autoresponse_request_text": "", "autoresponse_postings_text": + "", "admin_notify_mchanges": false, "list_name": "foo", "last_post_at": null, + "request_address": "foo-request@example.com", "archive_policy": "public", + "welcome_message_uri": "mailman:///welcome.txt", "volume": 1, "posting_address": + "foo@example.com", "created_at": "2015-04-16T16:43:54.172847", "posting_pipeline": + "default-posting-pipeline", "administrivia": true}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:54 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: anonymous_list=False&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&display_name=Foo&autorespond_postings=none&convert_html_to_plaintext=False&admin_immed_notify=True&digest_size_threshold=30.0&default_member_action=defer&collapse_alternatives=True&first_strip_reply_to=False&subscription_policy=open&default_nonmember_action=hold&admin_notify_mchanges=False&autoresponse_grace_period=90d&include_rfc2369_headers=True&autorespond_owner=none&autoresponse_request_text=&reply_to_address=&autoresponse_postings_text=&reply_goes_to_list=no_munging&description=&filter_content=False&administrivia=True&advertised=True&posting_pipeline=default-posting-pipeline&autoresponse_owner_text=&subject_prefix=%5BFoo%5D+&autorespond_requests=none&allow_list_posts=True&send_welcome_message=True&archive_policy=public + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PATCH' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44:55 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:55 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:55 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"digest_last_sent_at": null, "description": + "", "request_address": "foo-request@example.com", "acceptable_aliases": [], + "autoresponse_grace_period": "90d", "autorespond_requests": "none", "volume": + 1, "archive_policy": "public", "autoresponse_owner_text": "", "join_address": + "foo-join@example.com", "autoresponse_request_text": "", "default_member_action": + "defer", "bounces_address": "foo-bounces@example.com", "convert_html_to_plaintext": + false, "owner_address": "foo-owner@example.com", "last_post_at": null, "autoresponse_postings_text": + "", "post_id": 1, "no_reply_address": "noreply@example.com", "http_etag": + "\"af7238e7bc1b061a8ad4b40725d78f53dae92caf\"", "scheme": "http", "web_host": + "example.com", "subject_prefix": "[Foo] ", "next_digest_number": 1, "leave_address": + "foo-leave@example.com", "include_rfc2369_headers": true, "send_welcome_message": + true, "welcome_message_uri": "mailman:///welcome.txt", "digest_size_threshold": + 30.0, "fqdn_listname": "foo@example.com", "anonymous_list": false, "admin_notify_mchanges": + false, "administrivia": true, "first_strip_reply_to": false, "subscription_policy": + "confirm", "filter_content": false, "display_name": "Foo", "autorespond_owner": + "none", "posting_address": "foo@example.com", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "created_at": "2015-04-16T16:44:55.254610", "reply_goes_to_list": + "no_munging", "collapse_alternatives": true, "allow_list_posts": true, "list_name": + "foo", "autorespond_postings": "none", "admin_immed_notify": true, "advertised": + true, "mail_host": "example.com", "default_nonmember_action": "hold"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:55 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: send_welcome_message=True&default_nonmember_action=hold&subscription_policy=open&reply_to_address=&default_member_action=defer&admin_immed_notify=True&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&convert_html_to_plaintext=False&digest_size_threshold=30.0&admin_notify_mchanges=False&reply_goes_to_list=no_munging&description=&subject_prefix=%5BFoo%5D+&autorespond_owner=none&archive_policy=public&autoresponse_grace_period=90d&autoresponse_owner_text=&advertised=True&first_strip_reply_to=False&filter_content=False&allow_list_posts=True&autorespond_postings=none&include_rfc2369_headers=True&autoresponse_request_text=&posting_pipeline=default-posting-pipeline&administrivia=True&display_name=Foo&anonymous_list=False&collapse_alternatives=True&autoresponse_postings_text=&autorespond_requests=none + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PATCH' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:55 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:55 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:50:13 GMT'] + location: ['http://localhost:9001/3.0/domains/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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "http_etag": + "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "mail_host": "example.com", "url_host": "example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:50: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:50: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"member_count": 0, "display_name": "Foo", "list_name": + "foo", "fqdn_listname": "foo@example.com", "mail_host": "example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_id": "foo.example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:50: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"description": "", "anonymous_list": false, + "posting_address": "foo@example.com", "http_etag": "\"6978863c18ff0de0dbf8d0905cd26f54a81f0e21\"", + "autorespond_postings": "none", "subject_prefix": "[Foo] ", "admin_notify_mchanges": + false, "default_member_action": "defer", "reply_to_address": "", "next_digest_number": + 1, "autoresponse_grace_period": "90d", "display_name": "Foo", "list_name": + "foo", "first_strip_reply_to": false, "archive_policy": "public", "autoresponse_owner_text": + "", "autorespond_owner": "none", "posting_pipeline": "default-posting-pipeline", + "no_reply_address": "noreply@example.com", "autoresponse_postings_text": "", + "scheme": "http", "fqdn_listname": "foo@example.com", "welcome_message_uri": + "mailman:///welcome.txt", "last_post_at": null, "volume": 1, "allow_list_posts": + true, "include_rfc2369_headers": true, "post_id": 1, "mail_host": "example.com", + "advertised": true, "reply_goes_to_list": "no_munging", "owner_address": "foo-owner@example.com", + "collapse_alternatives": true, "bounces_address": "foo-bounces@example.com", + "digest_size_threshold": 30.0, "send_welcome_message": true, "request_address": + "foo-request@example.com", "autorespond_requests": "none", "digest_last_sent_at": + null, "autoresponse_request_text": "", "web_host": "example.com", "admin_immed_notify": + true, "leave_address": "foo-leave@example.com", "subscription_policy": "confirm", + "acceptable_aliases": [], "join_address": "foo-join@example.com", "convert_html_to_plaintext": + false, "administrivia": true, "filter_content": false, "default_nonmember_action": + "hold", "created_at": "2015-04-16T16:50:13.299514"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:50:13 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: admin_notify_mchanges=False&default_member_action=defer&autorespond_owner=none&send_welcome_message=True&default_nonmember_action=hold&administrivia=True&filter_content=False&subscription_policy=open&allow_list_posts=True&advertised=True&autoresponse_owner_text=&display_name=Foo&posting_pipeline=default-posting-pipeline&first_strip_reply_to=False&autoresponse_request_text=&reply_to_address=&subject_prefix=%5BFoo%5D+&description=&autorespond_postings=none&anonymous_list=False&archive_policy=public&include_rfc2369_headers=True&convert_html_to_plaintext=False&reply_goes_to_list=no_munging&autorespond_requests=none&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&autoresponse_grace_period=90d&digest_size_threshold=30.0&autoresponse_postings_text=&collapse_alternatives=True&admin_immed_notify=True + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PATCH' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:50:13 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"description": "", "anonymous_list": false, + "posting_address": "foo@example.com", "http_etag": "\"405ef8e359e0a1cc6c86665ba21fd29d32dc3a05\"", + "autorespond_postings": "none", "subject_prefix": "[Foo] ", "admin_notify_mchanges": + false, "default_member_action": "defer", "reply_to_address": "", "next_digest_number": + 1, "autoresponse_grace_period": "90d", "display_name": "Foo", "list_name": + "foo", "first_strip_reply_to": false, "archive_policy": "public", "autoresponse_owner_text": + "", "autorespond_owner": "none", "posting_pipeline": "default-posting-pipeline", + "no_reply_address": "noreply@example.com", "autoresponse_postings_text": "", + "scheme": "http", "fqdn_listname": "foo@example.com", "welcome_message_uri": + "mailman:///welcome.txt", "last_post_at": null, "volume": 1, "allow_list_posts": + true, "include_rfc2369_headers": true, "post_id": 1, "mail_host": "example.com", + "advertised": true, "reply_goes_to_list": "no_munging", "owner_address": "foo-owner@example.com", + "collapse_alternatives": true, "bounces_address": "foo-bounces@example.com", + "digest_size_threshold": 30.0, "send_welcome_message": true, "request_address": + "foo-request@example.com", "autorespond_requests": "none", "digest_last_sent_at": + null, "autoresponse_request_text": "", "web_host": "example.com", "admin_immed_notify": + true, "leave_address": "foo-leave@example.com", "subscription_policy": "open", + "acceptable_aliases": [], "join_address": "foo-join@example.com", "convert_html_to_plaintext": + false, "administrivia": true, "filter_content": false, "default_nonmember_action": + "hold", "created_at": "2015-04-16T16:50:13.299514"}'} + headers: + content-length: ['1614'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:50: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"member_count": 0, "display_name": "Foo", "list_name": + "foo", "fqdn_listname": "foo@example.com", "mail_host": "example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_id": "foo.example.com", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": + 1}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:50: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:50: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:50: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:50:14 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:51:54 GMT'] + location: ['http://localhost:9001/3.0/domains/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.0b2'] + 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", + "url_host": "example.com", "description": null, "base_url": "http://example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "mail_host": + "example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:51:54 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:51:54 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"display_name": "Foo", "volume": 1, "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0, "list_name": "foo", "list_id": "foo.example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "fqdn_listname": "foo@example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:51: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"autorespond_owner": "none", "welcome_message_uri": + "mailman:///welcome.txt", "filter_content": false, "posting_pipeline": "default-posting-pipeline", + "digest_last_sent_at": null, "admin_notify_mchanges": false, "bounces_address": + "foo-bounces@example.com", "leave_address": "foo-leave@example.com", "convert_html_to_plaintext": + false, "advertised": true, "autorespond_postings": "none", "send_welcome_message": + true, "subject_prefix": "[Foo] ", "next_digest_number": 1, "subscription_policy": + "confirm", "autoresponse_postings_text": "", "administrivia": true, "archive_policy": + "public", "join_address": "foo-join@example.com", "mail_host": "example.com", + "request_address": "foo-request@example.com", "post_id": 1, "list_name": "foo", + "admin_immed_notify": true, "fqdn_listname": "foo@example.com", "allow_list_posts": + true, "include_rfc2369_headers": true, "display_name": "Foo", "owner_address": + "foo-owner@example.com", "volume": 1, "default_nonmember_action": "hold", + "autoresponse_owner_text": "", "reply_to_address": "", "autoresponse_request_text": + "", "http_etag": "\"a87cf70dd6e4863bd00a5a81eb31d3f970e1ef00\"", "autoresponse_grace_period": + "90d", "first_strip_reply_to": false, "web_host": "example.com", "last_post_at": + null, "anonymous_list": false, "created_at": "2015-04-16T16:51:54.304917", + "collapse_alternatives": true, "no_reply_address": "noreply@example.com", + "scheme": "http", "default_member_action": "defer", "digest_size_threshold": + 30.0, "reply_goes_to_list": "no_munging", "posting_address": "foo@example.com", + "description": "", "autorespond_requests": "none", "acceptable_aliases": []}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:51:54 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: advertised=True&autorespond_owner=none&subscription_policy=open&collapse_alternatives=True&admin_immed_notify=True&first_strip_reply_to=False&autoresponse_owner_text=&posting_pipeline=default-posting-pipeline&digest_size_threshold=30.0&allow_list_posts=True&autoresponse_request_text=&archive_policy=public&autorespond_postings=none&autoresponse_grace_period=90d&administrivia=True&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&autorespond_requests=none&default_nonmember_action=hold&subject_prefix=%5BFoo%5D+&admin_notify_mchanges=False&convert_html_to_plaintext=False&display_name=Foo&description=&reply_to_address=&anonymous_list=False&autoresponse_postings_text=&send_welcome_message=True&include_rfc2369_headers=True&filter_content=False&default_member_action=defer&reply_goes_to_list=no_munging + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PATCH' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:51:54 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"autorespond_owner": "none", "welcome_message_uri": + "mailman:///welcome.txt", "filter_content": false, "posting_pipeline": "default-posting-pipeline", + "digest_last_sent_at": null, "admin_notify_mchanges": false, "bounces_address": + "foo-bounces@example.com", "leave_address": "foo-leave@example.com", "convert_html_to_plaintext": + false, "advertised": true, "autorespond_postings": "none", "send_welcome_message": + true, "subject_prefix": "[Foo] ", "next_digest_number": 1, "subscription_policy": + "open", "autoresponse_postings_text": "", "administrivia": true, "archive_policy": + "public", "join_address": "foo-join@example.com", "mail_host": "example.com", + "request_address": "foo-request@example.com", "post_id": 1, "list_name": "foo", + "admin_immed_notify": true, "fqdn_listname": "foo@example.com", "allow_list_posts": + true, "include_rfc2369_headers": true, "display_name": "Foo", "owner_address": + "foo-owner@example.com", "volume": 1, "default_nonmember_action": "hold", + "autoresponse_owner_text": "", "reply_to_address": "", "autoresponse_request_text": + "", "http_etag": "\"a1d083236dc47a82ce710dccd313cef6271d59cb\"", "autoresponse_grace_period": + "90d", "first_strip_reply_to": false, "web_host": "example.com", "last_post_at": + null, "anonymous_list": false, "created_at": "2015-04-16T16:51:54.304917", + "collapse_alternatives": true, "no_reply_address": "noreply@example.com", + "scheme": "http", "default_member_action": "defer", "digest_size_threshold": + 30.0, "reply_goes_to_list": "no_munging", "posting_address": "foo@example.com", + "description": "", "autorespond_requests": "none", "acceptable_aliases": []}'} + headers: + content-length: ['1614'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:51: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"display_name": "Foo", "volume": 1, "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0, "list_name": "foo", "list_id": "foo.example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "fqdn_listname": "foo@example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:51: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:51: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:51: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:51:55 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:52:38 GMT'] + location: ['http://localhost:9001/3.0/domains/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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"description": null, "mail_host": "example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "self_link": + "http://localhost:9001/3.0/domains/example.com", "base_url": "http://example.com", + "url_host": "example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:52: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:52: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.0b2'] + 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", "display_name": + "Foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "list_id": "foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:52: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"default_member_action": "defer", "owner_address": + "foo-owner@example.com", "request_address": "foo-request@example.com", "post_id": + 1, "admin_notify_mchanges": false, "subscription_policy": "confirm", "display_name": + "Foo", "anonymous_list": false, "http_etag": "\"7752ce78ea0109c0b4603c66a8e4c63c6b4c5e57\"", + "reply_goes_to_list": "no_munging", "include_rfc2369_headers": true, "created_at": + "2015-04-16T16:52:38.790657", "bounces_address": "foo-bounces@example.com", + "welcome_message_uri": "mailman:///welcome.txt", "archive_policy": "public", + "filter_content": false, "advertised": true, "autoresponse_request_text": + "", "list_name": "foo", "join_address": "foo-join@example.com", "admin_immed_notify": + true, "last_post_at": null, "autorespond_requests": "none", "reply_to_address": + "", "digest_last_sent_at": null, "collapse_alternatives": true, "posting_address": + "foo@example.com", "administrivia": true, "volume": 1, "leave_address": "foo-leave@example.com", + "autoresponse_owner_text": "", "mail_host": "example.com", "allow_list_posts": + true, "fqdn_listname": "foo@example.com", "next_digest_number": 1, "scheme": + "http", "convert_html_to_plaintext": false, "send_welcome_message": true, + "no_reply_address": "noreply@example.com", "autoresponse_postings_text": "", + "autorespond_owner": "none", "web_host": "example.com", "subject_prefix": + "[Foo] ", "first_strip_reply_to": false, "autoresponse_grace_period": "90d", + "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", + "autorespond_postings": "none", "description": "", "digest_size_threshold": + 30.0, "default_nonmember_action": "hold"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:52:38 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: advertised=True&default_nonmember_action=hold&default_member_action=defer&autorespond_requests=none&admin_notify_mchanges=False&include_rfc2369_headers=True&autoresponse_request_text=&allow_list_posts=True&reply_to_address=&filter_content=False&display_name=Foo&autorespond_owner=none&reply_goes_to_list=no_munging&autoresponse_grace_period=90d&posting_pipeline=default-posting-pipeline&archive_policy=public&admin_immed_notify=True&convert_html_to_plaintext=False&administrivia=True&autorespond_postings=none&collapse_alternatives=True&send_welcome_message=True&subject_prefix=%5BFoo%5D+&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&digest_size_threshold=30.0&subscription_policy=open&anonymous_list=False&autoresponse_owner_text=&first_strip_reply_to=False&description=&autoresponse_postings_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.0b2'] + method: !!python/unicode 'PATCH' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:52:38 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"default_member_action": "defer", "owner_address": + "foo-owner@example.com", "request_address": "foo-request@example.com", "post_id": + 1, "admin_notify_mchanges": false, "subscription_policy": "open", "display_name": + "Foo", "anonymous_list": false, "http_etag": "\"fae95f1fe5230931eae81435b589fa53f354b3a4\"", + "reply_goes_to_list": "no_munging", "include_rfc2369_headers": true, "created_at": + "2015-04-16T16:52:38.790657", "bounces_address": "foo-bounces@example.com", + "welcome_message_uri": "mailman:///welcome.txt", "archive_policy": "public", + "filter_content": false, "advertised": true, "autoresponse_request_text": + "", "list_name": "foo", "join_address": "foo-join@example.com", "admin_immed_notify": + true, "last_post_at": null, "autorespond_requests": "none", "reply_to_address": + "", "digest_last_sent_at": null, "collapse_alternatives": true, "posting_address": + "foo@example.com", "administrivia": true, "volume": 1, "leave_address": "foo-leave@example.com", + "autoresponse_owner_text": "", "mail_host": "example.com", "allow_list_posts": + true, "fqdn_listname": "foo@example.com", "next_digest_number": 1, "scheme": + "http", "convert_html_to_plaintext": false, "send_welcome_message": true, + "no_reply_address": "noreply@example.com", "autoresponse_postings_text": "", + "autorespond_owner": "none", "web_host": "example.com", "subject_prefix": + "[Foo] ", "first_strip_reply_to": false, "autoresponse_grace_period": "90d", + "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", + "autorespond_postings": "none", "description": "", "digest_size_threshold": + 30.0, "default_nonmember_action": "hold"}'} + headers: + content-length: ['1614'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:52:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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", "display_name": + "Foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "mail_host": "example.com", "fqdn_listname": "foo@example.com", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "list_id": "foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:52:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member + response: + body: {string: !!python/unicode '{"total_size": 0, "start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:52:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member + response: + body: {string: !!python/unicode '{"total_size": 0, "start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:52:39 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:52:39 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:53:33 GMT'] + location: ['http://localhost:9001/3.0/domains/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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"description": null, "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "mail_host": "example.com", "self_link": + "http://localhost:9001/3.0/domains/example.com", "url_host": "example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:53:33 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:53:33 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_id": "foo.example.com", + "list_name": "foo", "display_name": "Foo", "volume": 1, "member_count": 0, + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "mail_host": + "example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:53: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"subscription_policy": "confirm", "description": + "", "convert_html_to_plaintext": false, "administrivia": true, "send_welcome_message": + true, "digest_size_threshold": 30.0, "no_reply_address": "noreply@example.com", + "volume": 1, "collapse_alternatives": true, "autorespond_owner": "none", "first_strip_reply_to": + false, "posting_address": "foo@example.com", "mail_host": "example.com", "archive_policy": + "public", "admin_immed_notify": true, "join_address": "foo-join@example.com", + "posting_pipeline": "default-posting-pipeline", "autoresponse_owner_text": + "", "leave_address": "foo-leave@example.com", "autorespond_postings": "none", + "next_digest_number": 1, "anonymous_list": false, "owner_address": "foo-owner@example.com", + "fqdn_listname": "foo@example.com", "filter_content": false, "include_rfc2369_headers": + true, "scheme": "http", "welcome_message_uri": "mailman:///welcome.txt", "autorespond_requests": + "none", "autoresponse_request_text": "", "autoresponse_postings_text": "", + "autoresponse_grace_period": "90d", "request_address": "foo-request@example.com", + "reply_to_address": "", "reply_goes_to_list": "no_munging", "created_at": + "2015-04-16T16:53:33.845815", "list_name": "foo", "acceptable_aliases": [], + "http_etag": "\"64a1ae4df547e7d016c3596abede82f9bf8f1f28\"", "subject_prefix": + "[Foo] ", "display_name": "Foo", "last_post_at": null, "web_host": "example.com", + "allow_list_posts": true, "bounces_address": "foo-bounces@example.com", "advertised": + true, "default_member_action": "defer", "admin_notify_mchanges": false, "digest_last_sent_at": + null, "post_id": 1, "default_nonmember_action": "hold"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:53:33 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: description=&autoresponse_postings_text=&subject_prefix=%5BFoo%5D+&convert_html_to_plaintext=False&autorespond_requests=none&display_name=Foo&default_nonmember_action=hold&autorespond_postings=none&autoresponse_owner_text=&allow_list_posts=True&posting_pipeline=default-posting-pipeline&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&archive_policy=public&digest_size_threshold=30.0&include_rfc2369_headers=True&admin_immed_notify=True&administrivia=True&admin_notify_mchanges=False&reply_goes_to_list=no_munging&subscription_policy=open&collapse_alternatives=True&default_member_action=defer&autoresponse_request_text=&first_strip_reply_to=False&send_welcome_message=True&reply_to_address=&anonymous_list=False&autorespond_owner=none&autoresponse_grace_period=90d&advertised=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.0b2'] + method: !!python/unicode 'PATCH' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:53: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"subscription_policy": "open", "description": + "", "convert_html_to_plaintext": false, "administrivia": true, "send_welcome_message": + true, "digest_size_threshold": 30.0, "no_reply_address": "noreply@example.com", + "volume": 1, "collapse_alternatives": true, "autorespond_owner": "none", "first_strip_reply_to": + false, "posting_address": "foo@example.com", "mail_host": "example.com", "archive_policy": + "public", "admin_immed_notify": true, "join_address": "foo-join@example.com", + "posting_pipeline": "default-posting-pipeline", "autoresponse_owner_text": + "", "leave_address": "foo-leave@example.com", "autorespond_postings": "none", + "next_digest_number": 1, "anonymous_list": false, "owner_address": "foo-owner@example.com", + "fqdn_listname": "foo@example.com", "filter_content": false, "include_rfc2369_headers": + true, "scheme": "http", "welcome_message_uri": "mailman:///welcome.txt", "autorespond_requests": + "none", "autoresponse_request_text": "", "autoresponse_postings_text": "", + "autoresponse_grace_period": "90d", "request_address": "foo-request@example.com", + "reply_to_address": "", "reply_goes_to_list": "no_munging", "created_at": + "2015-04-16T16:53:33.845815", "list_name": "foo", "acceptable_aliases": [], + "http_etag": "\"17b793c3a8732df2922b6dcd5056bd7f1dad1747\"", "subject_prefix": + "[Foo] ", "display_name": "Foo", "last_post_at": null, "web_host": "example.com", + "allow_list_posts": true, "bounces_address": "foo-bounces@example.com", "advertised": + true, "default_member_action": "defer", "admin_notify_mchanges": false, "digest_last_sent_at": + null, "post_id": 1, "default_nonmember_action": "hold"}'} + headers: + content-length: ['1614'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:53: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_id": "foo.example.com", + "list_name": "foo", "display_name": "Foo", "volume": 1, "member_count": 0, + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "mail_host": + "example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:53: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member + response: + body: {string: !!python/unicode '{"total_size": 0, "start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:53: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member + response: + body: {string: !!python/unicode '{"total_size": 0, "start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:53: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:53:35 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:57:46 GMT'] + location: ['http://localhost:9001/3.0/domains/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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"base_url": "http://example.com", "http_etag": + "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null, "mail_host": "example.com", "url_host": "example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:57: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:57: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "display_name": "Foo", "mail_host": "example.com", "list_name": "foo", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": 0, "volume": + 1}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:57: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "send_welcome_message": + true, "scheme": "http", "convert_html_to_plaintext": false, "reply_goes_to_list": + "no_munging", "autoresponse_postings_text": "", "first_strip_reply_to": false, + "list_name": "foo", "web_host": "example.com", "display_name": "Foo", "last_post_at": + null, "default_nonmember_action": "hold", "subject_prefix": "[Foo] ", "archive_policy": + "public", "autoresponse_request_text": "", "include_rfc2369_headers": true, + "reply_to_address": "", "post_id": 1, "autoresponse_owner_text": "", "volume": + 1, "leave_address": "foo-leave@example.com", "digest_last_sent_at": null, + "admin_notify_mchanges": false, "digest_size_threshold": 30.0, "welcome_message_uri": + "mailman:///welcome.txt", "admin_immed_notify": true, "autorespond_owner": + "none", "description": "", "bounces_address": "foo-bounces@example.com", "autoresponse_grace_period": + "90d", "subscription_policy": "confirm", "request_address": "foo-request@example.com", + "autorespond_requests": "none", "next_digest_number": 1, "filter_content": + false, "no_reply_address": "noreply@example.com", "join_address": "foo-join@example.com", + "posting_pipeline": "default-posting-pipeline", "advertised": true, "allow_list_posts": + true, "collapse_alternatives": true, "autorespond_postings": "none", "owner_address": + "foo-owner@example.com", "mail_host": "example.com", "created_at": "2015-04-16T16:57:46.705298", + "acceptable_aliases": [], "http_etag": "\"70f6c2809530797ec8584a0acea1b88ccd0c131b\"", + "anonymous_list": false, "default_member_action": "defer", "administrivia": + true, "posting_address": "foo@example.com"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:57:46 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: default_member_action=defer&reply_to_address=&autoresponse_grace_period=90d&description=&digest_size_threshold=30.0&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&admin_immed_notify=True&anonymous_list=False&subject_prefix=%5BFoo%5D+&first_strip_reply_to=False&autoresponse_owner_text=&autoresponse_postings_text=&reply_goes_to_list=no_munging&autorespond_postings=none&send_welcome_message=True&display_name=Foo&autorespond_owner=none&filter_content=False&allow_list_posts=True&posting_pipeline=default-posting-pipeline&subscription_policy=open&archive_policy=public&default_nonmember_action=hold&advertised=True&admin_notify_mchanges=False&include_rfc2369_headers=True&administrivia=True&autorespond_requests=none&convert_html_to_plaintext=False&collapse_alternatives=True&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.0b2'] + method: !!python/unicode 'PATCH' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:57:46 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "send_welcome_message": + true, "scheme": "http", "convert_html_to_plaintext": false, "reply_goes_to_list": + "no_munging", "autoresponse_postings_text": "", "first_strip_reply_to": false, + "list_name": "foo", "web_host": "example.com", "display_name": "Foo", "last_post_at": + null, "default_nonmember_action": "hold", "subject_prefix": "[Foo] ", "archive_policy": + "public", "autoresponse_request_text": "", "include_rfc2369_headers": true, + "reply_to_address": "", "post_id": 1, "autoresponse_owner_text": "", "volume": + 1, "leave_address": "foo-leave@example.com", "digest_last_sent_at": null, + "admin_notify_mchanges": false, "digest_size_threshold": 30.0, "welcome_message_uri": + "mailman:///welcome.txt", "admin_immed_notify": true, "autorespond_owner": + "none", "description": "", "bounces_address": "foo-bounces@example.com", "autoresponse_grace_period": + "90d", "subscription_policy": "open", "request_address": "foo-request@example.com", + "autorespond_requests": "none", "next_digest_number": 1, "filter_content": + false, "no_reply_address": "noreply@example.com", "join_address": "foo-join@example.com", + "posting_pipeline": "default-posting-pipeline", "advertised": true, "allow_list_posts": + true, "collapse_alternatives": true, "autorespond_postings": "none", "owner_address": + "foo-owner@example.com", "mail_host": "example.com", "created_at": "2015-04-16T16:57:46.705298", + "acceptable_aliases": [], "http_etag": "\"0697cc0a81d49dd65e3d42be2bfc60dde2f6b1c9\"", + "anonymous_list": false, "default_member_action": "defer", "administrivia": + true, "posting_address": "foo@example.com"}'} + headers: + content-length: ['1614'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:57: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "display_name": "Foo", "mail_host": "example.com", "list_name": "foo", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": 0, "volume": + 1}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:57: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member + response: + body: {string: !!python/unicode '{"start": 0, "total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:57: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member + response: + body: {string: !!python/unicode '{"start": 0, "total_size": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:57: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:57:48 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:59:42 GMT'] + location: ['http://localhost:9001/3.0/domains/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.0b2'] + 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, "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "mail_host": "example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:59: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:59: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "member_count": 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "volume": 1, "list_name": "foo", "list_id": "foo.example.com", + "mail_host": "example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:59: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"owner_address": "foo-owner@example.com", "archive_policy": + "public", "autoresponse_owner_text": "", "no_reply_address": "noreply@example.com", + "collapse_alternatives": true, "allow_list_posts": true, "scheme": "http", + "next_digest_number": 1, "welcome_message_uri": "mailman:///welcome.txt", + "list_name": "foo", "subscription_policy": "confirm", "include_rfc2369_headers": + true, "digest_size_threshold": 30.0, "anonymous_list": false, "convert_html_to_plaintext": + false, "autoresponse_grace_period": "90d", "join_address": "foo-join@example.com", + "administrivia": true, "leave_address": "foo-leave@example.com", "autoresponse_postings_text": + "", "admin_immed_notify": true, "first_strip_reply_to": false, "post_id": + 1, "filter_content": false, "advertised": true, "last_post_at": null, "subject_prefix": + "[Foo] ", "send_welcome_message": true, "display_name": "Foo", "default_member_action": + "defer", "reply_to_address": "", "volume": 1, "admin_notify_mchanges": false, + "http_etag": "\"45225a41a37e7bb1d686306e4356f42ed4f2deb7\"", "reply_goes_to_list": + "no_munging", "autorespond_postings": "none", "mail_host": "example.com", + "autorespond_requests": "none", "created_at": "2015-04-16T16:59:42.882961", + "acceptable_aliases": [], "fqdn_listname": "foo@example.com", "request_address": + "foo-request@example.com", "web_host": "example.com", "posting_pipeline": + "default-posting-pipeline", "posting_address": "foo@example.com", "digest_last_sent_at": + null, "autorespond_owner": "none", "autoresponse_request_text": "", "description": + "", "default_nonmember_action": "hold", "bounces_address": "foo-bounces@example.com"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:59:42 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: autorespond_postings=none&anonymous_list=False&archive_policy=public&include_rfc2369_headers=True&autoresponse_owner_text=&convert_html_to_plaintext=False&reply_to_address=&subject_prefix=%5BFoo%5D+&description=&autoresponse_postings_text=&collapse_alternatives=True&admin_immed_notify=True&reply_goes_to_list=no_munging&autorespond_requests=none&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&autoresponse_grace_period=90d&digest_size_threshold=30.0&administrivia=True&filter_content=False&subscription_policy=open&allow_list_posts=True&advertised=True&posting_pipeline=default-posting-pipeline&admin_notify_mchanges=False&default_member_action=defer&send_welcome_message=True&default_nonmember_action=hold&first_strip_reply_to=False&autoresponse_request_text=&autorespond_owner=none&display_name=Foo + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PATCH' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:59: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"owner_address": "foo-owner@example.com", "archive_policy": + "public", "autoresponse_owner_text": "", "no_reply_address": "noreply@example.com", + "collapse_alternatives": true, "allow_list_posts": true, "scheme": "http", + "next_digest_number": 1, "welcome_message_uri": "mailman:///welcome.txt", + "list_name": "foo", "subscription_policy": "open", "include_rfc2369_headers": + true, "digest_size_threshold": 30.0, "anonymous_list": false, "convert_html_to_plaintext": + false, "autoresponse_grace_period": "90d", "join_address": "foo-join@example.com", + "administrivia": true, "leave_address": "foo-leave@example.com", "autoresponse_postings_text": + "", "admin_immed_notify": true, "first_strip_reply_to": false, "post_id": + 1, "filter_content": false, "advertised": true, "last_post_at": null, "subject_prefix": + "[Foo] ", "send_welcome_message": true, "display_name": "Foo", "default_member_action": + "defer", "reply_to_address": "", "volume": 1, "admin_notify_mchanges": false, + "http_etag": "\"e5dc720cd08fe2b0929583158bbd918d91f8ec54\"", "reply_goes_to_list": + "no_munging", "autorespond_postings": "none", "mail_host": "example.com", + "autorespond_requests": "none", "created_at": "2015-04-16T16:59:42.882961", + "acceptable_aliases": [], "fqdn_listname": "foo@example.com", "request_address": + "foo-request@example.com", "web_host": "example.com", "posting_pipeline": + "default-posting-pipeline", "posting_address": "foo@example.com", "digest_last_sent_at": + null, "autorespond_owner": "none", "autoresponse_request_text": "", "description": + "", "default_nonmember_action": "hold", "bounces_address": "foo-bounces@example.com"}'} + headers: + content-length: ['1614'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:59: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "member_count": 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "volume": 1, "list_name": "foo", "list_id": "foo.example.com", + "mail_host": "example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:59: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:59: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:59: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:59: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 17:00:40 GMT'] + location: ['http://localhost:9001/3.0/domains/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.0b2'] + 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", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 17:00: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 17:00: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "list_name": "foo", "display_name": "Foo", "mail_host": "example.com", "volume": + 1, "member_count": 0, "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 17:00: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"default_member_action": "defer", "autorespond_owner": + "none", "post_id": 1, "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", + "description": "", "display_name": "Foo", "reply_to_address": "", "fqdn_listname": + "foo@example.com", "archive_policy": "public", "subscription_policy": "confirm", + "admin_notify_mchanges": false, "advertised": true, "last_post_at": null, + "http_etag": "\"4e303aa31d4cdfbd48eb683ba6643e177274f9b2\"", "autorespond_postings": + "none", "first_strip_reply_to": false, "autorespond_requests": "none", "autoresponse_request_text": + "", "filter_content": false, "bounces_address": "foo-bounces@example.com", + "created_at": "2015-04-16T17:00:40.227620", "collapse_alternatives": true, + "volume": 1, "mail_host": "example.com", "join_address": "foo-join@example.com", + "digest_last_sent_at": null, "autoresponse_owner_text": "", "reply_goes_to_list": + "no_munging", "next_digest_number": 1, "scheme": "http", "autoresponse_grace_period": + "90d", "list_name": "foo", "digest_size_threshold": 30.0, "allow_list_posts": + true, "default_nonmember_action": "hold", "admin_immed_notify": true, "posting_address": + "foo@example.com", "anonymous_list": false, "leave_address": "foo-leave@example.com", + "request_address": "foo-request@example.com", "welcome_message_uri": "mailman:///welcome.txt", + "administrivia": true, "subject_prefix": "[Foo] ", "owner_address": "foo-owner@example.com", + "include_rfc2369_headers": true, "convert_html_to_plaintext": false, "autoresponse_postings_text": + "", "web_host": "example.com", "send_welcome_message": true, "no_reply_address": + "noreply@example.com"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 17:00:40 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: autorespond_postings=none&reply_goes_to_list=no_munging&subject_prefix=%5BFoo%5D+&default_nonmember_action=hold&convert_html_to_plaintext=False&autoresponse_request_text=&default_member_action=defer&reply_to_address=&autoresponse_owner_text=&send_welcome_message=True&autorespond_requests=none&autorespond_owner=none&allow_list_posts=True&include_rfc2369_headers=True&display_name=Foo&collapse_alternatives=True&administrivia=True&archive_policy=public&subscription_policy=open&description=&first_strip_reply_to=False&admin_notify_mchanges=False&anonymous_list=False&advertised=True&autoresponse_grace_period=90d&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&admin_immed_notify=True&digest_size_threshold=30.0&filter_content=False&posting_pipeline=default-posting-pipeline&autoresponse_postings_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.0b2'] + method: !!python/unicode 'PATCH' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 17:00: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"default_member_action": "defer", "autorespond_owner": + "none", "post_id": 1, "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", + "description": "", "display_name": "Foo", "reply_to_address": "", "fqdn_listname": + "foo@example.com", "archive_policy": "public", "subscription_policy": "open", + "admin_notify_mchanges": false, "advertised": true, "last_post_at": null, + "http_etag": "\"1269e019ae162c202fad9909aab36ebc18010fa7\"", "autorespond_postings": + "none", "first_strip_reply_to": false, "autorespond_requests": "none", "autoresponse_request_text": + "", "filter_content": false, "bounces_address": "foo-bounces@example.com", + "created_at": "2015-04-16T17:00:40.227620", "collapse_alternatives": true, + "volume": 1, "mail_host": "example.com", "join_address": "foo-join@example.com", + "digest_last_sent_at": null, "autoresponse_owner_text": "", "reply_goes_to_list": + "no_munging", "next_digest_number": 1, "scheme": "http", "autoresponse_grace_period": + "90d", "list_name": "foo", "digest_size_threshold": 30.0, "allow_list_posts": + true, "default_nonmember_action": "hold", "admin_immed_notify": true, "posting_address": + "foo@example.com", "anonymous_list": false, "leave_address": "foo-leave@example.com", + "request_address": "foo-request@example.com", "welcome_message_uri": "mailman:///welcome.txt", + "administrivia": true, "subject_prefix": "[Foo] ", "owner_address": "foo-owner@example.com", + "include_rfc2369_headers": true, "convert_html_to_plaintext": false, "autoresponse_postings_text": + "", "web_host": "example.com", "send_welcome_message": true, "no_reply_address": + "noreply@example.com"}'} + headers: + content-length: ['1614'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 17:00: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "list_name": "foo", "display_name": "Foo", "mail_host": "example.com", "volume": + 1, "member_count": 0, "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 17:00: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member + response: + body: {string: !!python/unicode '{"total_size": 0, "start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 17:00: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member + response: + body: {string: !!python/unicode '{"total_size": 0, "start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\""}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 17:00: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 17:00:41 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options.yaml index 48ff9a6..b7c3ab0 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options.yaml @@ -12,7 +12,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:38 GMT'] + date: ['Thu, 16 Apr 2015 12:00:59 GMT'] location: ['http://localhost:9001/3.0/domains/example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -25,13 +25,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:38 GMT'] + date: ['Thu, 16 Apr 2015 12:00:59 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -47,7 +47,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:38 GMT'] + date: ['Thu, 16 Apr 2015 12:00:59 GMT'] location: ['http://localhost:9001/3.0/lists/test_list.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -60,15 +60,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test_list.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id": - "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", - "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", - "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count": - 0}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "test_list.example.com", + "volume": 1, "display_name": "Test_list", "member_count": 0, "fqdn_listname": + "test_list@example.com", "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'} headers: content-length: ['324'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:38 GMT'] + date: ['Thu, 16 Apr 2015 12:00:59 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -80,12 +79,12 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers response: - body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", - "prototype": false, "mail-archive": true, "mhonarc": true}'} + body: {string: !!python/unicode '{"mail-archive": true, "prototype": false, "http_etag": + "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", "mhonarc": true}'} headers: content-length: ['120'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:38 GMT'] + date: ['Thu, 16 Apr 2015 12:00:59 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -97,15 +96,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test_list.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id": - "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", - "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", - "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count": - 0}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "test_list.example.com", + "volume": 1, "display_name": "Test_list", "member_count": 0, "fqdn_listname": + "test_list@example.com", "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'} headers: content-length: ['324'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:38 GMT'] + date: ['Thu, 16 Apr 2015 12:00:59 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -120,7 +118,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:38 GMT'] + date: ['Thu, 16 Apr 2015 12:00:59 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -137,7 +135,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:38 GMT'] + date: ['Thu, 16 Apr 2015 12:01:00 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -149,13 +147,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:38 GMT'] + date: ['Thu, 16 Apr 2015 12:01:00 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -167,13 +165,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:38 GMT'] + date: ['Thu, 16 Apr 2015 12:01:00 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -189,7 +187,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:38 GMT'] + date: ['Thu, 16 Apr 2015 12:01:00 GMT'] location: ['http://localhost:9001/3.0/lists/test_list.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -202,15 +200,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test_list.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id": - "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", - "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", - "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count": - 0}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "test_list.example.com", + "volume": 1, "display_name": "Test_list", "member_count": 0, "fqdn_listname": + "test_list@example.com", "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'} headers: content-length: ['324'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:38 GMT'] + date: ['Thu, 16 Apr 2015 12:01:00 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -222,12 +219,12 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers response: - body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", - "prototype": false, "mail-archive": true, "mhonarc": true}'} + body: {string: !!python/unicode '{"mail-archive": true, "prototype": false, "http_etag": + "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", "mhonarc": true}'} headers: content-length: ['120'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:38 GMT'] + date: ['Thu, 16 Apr 2015 12:01:00 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -239,15 +236,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test_list.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id": - "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", - "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", - "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count": - 0}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "test_list.example.com", + "volume": 1, "display_name": "Test_list", "member_count": 0, "fqdn_listname": + "test_list@example.com", "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'} headers: content-length: ['324'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:38 GMT'] + date: ['Thu, 16 Apr 2015 12:01:00 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -262,7 +258,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:38 GMT'] + date: ['Thu, 16 Apr 2015 12:01:00 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -279,7 +275,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 12:01:00 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -291,13 +287,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 12:01:00 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -309,13 +305,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 12:01:00 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -331,7 +327,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 12:01:00 GMT'] location: ['http://localhost:9001/3.0/lists/test_list.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -344,15 +340,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test_list.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id": - "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", - "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", - "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count": - 0}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "test_list.example.com", + "volume": 1, "display_name": "Test_list", "member_count": 0, "fqdn_listname": + "test_list@example.com", "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'} headers: content-length: ['324'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 12:01:00 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -364,12 +359,12 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers response: - body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", - "prototype": false, "mail-archive": true, "mhonarc": true}'} + body: {string: !!python/unicode '{"mail-archive": true, "prototype": false, "http_etag": + "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", "mhonarc": true}'} headers: content-length: ['120'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 12:01:00 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -384,7 +379,1957 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 12:01:01 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:18 GMT'] + location: ['http://localhost:9001/3.0/domains/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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:18 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "volume": 1, "list_name": + "test_list", "mail_host": "example.com", "list_id": "test_list.example.com", + "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "mail-archive": true, "prototype": + false, "http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\""}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "volume": 1, "list_name": + "test_list", "mail_host": "example.com", "list_id": "test_list.example.com", + "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:19 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19:19 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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19:19 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:19 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "volume": 1, "list_name": + "test_list", "mail_host": "example.com", "list_id": "test_list.example.com", + "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "mail-archive": true, "prototype": + false, "http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\""}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "volume": 1, "list_name": + "test_list", "mail_host": "example.com", "list_id": "test_list.example.com", + "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19:20 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:20 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "volume": 1, "list_name": + "test_list", "mail_host": "example.com", "list_id": "test_list.example.com", + "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "mail-archive": true, "prototype": + false, "http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\""}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39:52 GMT'] + location: ['http://localhost:9001/3.0/domains/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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:52 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39:52 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "test_list@example.com", + "list_name": "test_list", "list_id": "test_list.example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "display_name": "Test_list", + "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "member_count": 0}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", + "prototype": false, "mail-archive": true}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "test_list@example.com", + "list_name": "test_list", "list_id": "test_list.example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "display_name": "Test_list", + "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "member_count": 0}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:53 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39:54 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "test_list@example.com", + "list_name": "test_list", "list_id": "test_list.example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "display_name": "Test_list", + "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "member_count": 0}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", + "prototype": false, "mail-archive": true}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "test_list@example.com", + "list_name": "test_list", "list_id": "test_list.example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "display_name": "Test_list", + "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "member_count": 0}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:39:55 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:55 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39:55 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "test_list@example.com", + "list_name": "test_list", "list_id": "test_list.example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "display_name": "Test_list", + "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "member_count": 0}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", + "prototype": false, "mail-archive": true}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39:56 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:41:55 GMT'] + location: ['http://localhost:9001/3.0/domains/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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41:55 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:41:55 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id": + "test_list.example.com", "list_name": "test_list", "volume": 1, "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "member_count": 0, "mail_host": + "example.com", "display_name": "Test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "mail-archive": true, "prototype": + false, "http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\""}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id": + "test_list.example.com", "list_name": "test_list", "volume": 1, "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "member_count": 0, "mail_host": + "example.com", "display_name": "Test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:41:56 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:41:56 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:41:56 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id": + "test_list.example.com", "list_name": "test_list", "volume": 1, "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "member_count": 0, "mail_host": + "example.com", "display_name": "Test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41:57 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "mail-archive": true, "prototype": + false, "http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\""}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41:57 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id": + "test_list.example.com", "list_name": "test_list", "volume": 1, "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "member_count": 0, "mail_host": + "example.com", "display_name": "Test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41:57 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:41:57 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:41:58 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41:58 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:41:58 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id": + "test_list.example.com", "list_name": "test_list", "volume": 1, "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "member_count": 0, "mail_host": + "example.com", "display_name": "Test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "mail-archive": true, "prototype": + false, "http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\""}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:00 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43:46 GMT'] + location: ['http://localhost:9001/3.0/domains/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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:46 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43:46 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "test_list@example.com", "display_name": "Test_list", "list_name": "test_list", + "list_id": "test_list.example.com", "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "member_count": + 0}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", + "mail-archive": true, "mhonarc": true, "prototype": false}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "test_list@example.com", "display_name": "Test_list", "list_name": "test_list", + "list_id": "test_list.example.com", "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "member_count": + 0}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43:48 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:48 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43:48 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "test_list@example.com", "display_name": "Test_list", "list_name": "test_list", + "list_id": "test_list.example.com", "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "member_count": + 0}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", + "mail-archive": true, "mhonarc": true, "prototype": false}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "test_list@example.com", "display_name": "Test_list", "list_name": "test_list", + "list_id": "test_list.example.com", "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "member_count": + 0}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43:50 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:43:50 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:50 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43:50 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "test_list@example.com", "display_name": "Test_list", "list_name": "test_list", + "list_id": "test_list.example.com", "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "member_count": + 0}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", + "mail-archive": true, "mhonarc": true, "prototype": false}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:46 GMT'] + location: ['http://localhost:9001/3.0/domains/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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:46 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:46 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "fqdn_listname": + "test_list@example.com", "list_id": "test_list.example.com", "volume": 1, + "member_count": 0, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", + "prototype": false, "mhonarc": true, "mail-archive": true}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "fqdn_listname": + "test_list@example.com", "list_id": "test_list.example.com", "volume": 1, + "member_count": 0, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:48 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:48 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "fqdn_listname": + "test_list@example.com", "list_id": "test_list.example.com", "volume": 1, + "member_count": 0, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", + "prototype": false, "mhonarc": true, "mail-archive": true}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "fqdn_listname": + "test_list@example.com", "list_id": "test_list.example.com", "volume": 1, + "member_count": 0, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:50 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:51 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test_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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:51 GMT'] + location: ['http://localhost:9001/3.0/lists/test_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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "fqdn_listname": + "test_list@example.com", "list_id": "test_list.example.com", "volume": 1, + "member_count": 0, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", + "prototype": false, "mhonarc": true, "mail-archive": true}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:53 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_disable_archiver.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_disable_archiver.yaml index 6dc1011..ba5c86d 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_disable_archiver.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_disable_archiver.yaml @@ -8,15 +8,425 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test_list.example.com response: + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "test_list.example.com", + "volume": 1, "display_name": "Test_list", "member_count": 0, "fqdn_listname": + "test_list@example.com", "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01:00 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mail-archive": true, "prototype": false, "http_etag": + "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", "mhonarc": true}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01:00 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: mhonarc=True&prototype=True&mail-archive=True + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 12:01:00 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mhonarc=True&prototype=True&mail-archive=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.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 12:01:01 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mail-archive": false, "prototype": false, "http_etag": + "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", "mhonarc": true}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mail-archive": false, "prototype": false, "http_etag": + "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", "mhonarc": true}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "volume": 1, "list_name": + "test_list", "mail_host": "example.com", "list_id": "test_list.example.com", + "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "mail-archive": true, "prototype": + false, "http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\""}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: mail-archive=True&prototype=True&mhonarc=True + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail-archive=False&prototype=True&mhonarc=True + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "mail-archive": false, "prototype": + false, "http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\""}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "mail-archive": false, "prototype": + false, "http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\""}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "test_list@example.com", + "list_name": "test_list", "list_id": "test_list.example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "display_name": "Test_list", + "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "member_count": 0}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", + "prototype": false, "mail-archive": true}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:55 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: mhonarc=True&prototype=True&mail-archive=True + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mhonarc=True&prototype=True&mail-archive=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.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", + "prototype": false, "mail-archive": false}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", + "prototype": false, "mail-archive": false}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id": - "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", - "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", - "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count": + "test_list.example.com", "list_name": "test_list", "volume": 1, "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "member_count": 0, "mail_host": + "example.com", "display_name": "Test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "mail-archive": true, "prototype": + false, "http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\""}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41:59 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: mail-archive=True&mhonarc=True&prototype=True + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:41:59 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail-archive=False&mhonarc=True&prototype=True + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:41:59 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "mail-archive": false, "prototype": + false, "http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\""}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "mail-archive": false, "prototype": + false, "http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\""}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "test_list@example.com", "display_name": "Test_list", "list_name": "test_list", + "list_id": "test_list.example.com", "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "member_count": 0}'} headers: content-length: ['324'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 16:43:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -29,11 +439,11 @@ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers response: body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", - "prototype": false, "mail-archive": true, "mhonarc": true}'} + "mail-archive": true, "mhonarc": true, "prototype": false}'} headers: content-length: ['120'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 16:43:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -49,7 +459,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 16:43:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -65,7 +475,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 16:43:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -78,11 +488,11 @@ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers response: body: {string: !!python/unicode '{"http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", - "prototype": false, "mail-archive": false, "mhonarc": true}'} + "mail-archive": false, "mhonarc": true, "prototype": false}'} headers: content-length: ['121'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 16:43:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -95,11 +505,114 @@ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers response: body: {string: !!python/unicode '{"http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", - "prototype": false, "mail-archive": false, "mhonarc": true}'} + "mail-archive": false, "mhonarc": true, "prototype": false}'} headers: content-length: ['121'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "fqdn_listname": + "test_list@example.com", "list_id": "test_list.example.com", "volume": 1, + "member_count": 0, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"http_etag": "\"dfd159ec866aff2f484eb6399b59057ba112d3e5\"", + "prototype": false, "mhonarc": true, "mail-archive": true}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:52 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: prototype=True&mail-archive=True&mhonarc=True + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:52 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: prototype=True&mail-archive=False&mhonarc=True + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:52 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", + "prototype": false, "mhonarc": true, "mail-archive": false}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", + "prototype": false, "mhonarc": true, "mail-archive": false}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_enable_archiver.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_enable_archiver.yaml index 5d4b0ad..f1fc62c 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_enable_archiver.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_enable_archiver.yaml @@ -8,15 +8,425 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test_list.example.com response: + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "test_list.example.com", + "volume": 1, "display_name": "Test_list", "member_count": 0, "fqdn_listname": + "test_list@example.com", "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mail-archive": false, "prototype": false, "http_etag": + "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", "mhonarc": true}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01:01 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: mhonarc=True&prototype=False&mail-archive=True + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 12:01:01 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mhonarc=False&prototype=False&mail-archive=True + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 12:01:01 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mail-archive": true, "prototype": false, "http_etag": + "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", "mhonarc": false}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mail-archive": true, "prototype": false, "http_etag": + "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", "mhonarc": false}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "volume": 1, "list_name": + "test_list", "mail_host": "example.com", "list_id": "test_list.example.com", + "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "mail-archive": false, "prototype": + false, "http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\""}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: mail-archive=True&prototype=False&mhonarc=True + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail-archive=True&prototype=False&mhonarc=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.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": false, "mail-archive": true, "prototype": + false, "http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\""}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": false, "mail-archive": true, "prototype": + false, "http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\""}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "test_list@example.com", + "list_name": "test_list", "list_id": "test_list.example.com", "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "display_name": "Test_list", + "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "member_count": 0}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", + "prototype": false, "mail-archive": false}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: mhonarc=True&prototype=False&mail-archive=True + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mhonarc=False&prototype=False&mail-archive=True + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": false, "http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", + "prototype": false, "mail-archive": true}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": false, "http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", + "prototype": false, "mail-archive": true}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: body: {string: !!python/unicode '{"fqdn_listname": "test_list@example.com", "list_id": - "test_list.example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", - "list_name": "test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", - "volume": 1, "display_name": "Test_list", "mail_host": "example.com", "member_count": + "test_list.example.com", "list_name": "test_list", "volume": 1, "http_etag": + "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "member_count": 0, "mail_host": + "example.com", "display_name": "Test_list", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": true, "mail-archive": false, "prototype": + false, "http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\""}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41:59 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: mail-archive=True&mhonarc=True&prototype=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.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:41:59 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail-archive=True&mhonarc=False&prototype=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.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:41:59 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": false, "mail-archive": true, "prototype": + false, "http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\""}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"mhonarc": false, "mail-archive": true, "prototype": + false, "http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\""}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:41: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "test_list@example.com", "display_name": "Test_list", "list_name": "test_list", + "list_id": "test_list.example.com", "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "member_count": 0}'} headers: content-length: ['324'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 16:43:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -29,11 +439,11 @@ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers response: body: {string: !!python/unicode '{"http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", - "prototype": false, "mail-archive": false, "mhonarc": true}'} + "mail-archive": false, "mhonarc": true, "prototype": false}'} headers: content-length: ['121'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 16:43:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -49,7 +459,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 16:43:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -65,7 +475,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 16:43:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -78,11 +488,11 @@ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers response: body: {string: !!python/unicode '{"http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", - "prototype": false, "mail-archive": true, "mhonarc": false}'} + "mail-archive": true, "mhonarc": false, "prototype": false}'} headers: content-length: ['121'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 16:43:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -95,11 +505,114 @@ uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers response: body: {string: !!python/unicode '{"http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", - "prototype": false, "mail-archive": true, "mhonarc": false}'} + "mail-archive": true, "mhonarc": false, "prototype": false}'} headers: content-length: ['121'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:39 GMT'] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "fqdn_listname": + "test_list@example.com", "list_id": "test_list.example.com", "volume": 1, + "member_count": 0, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "display_name": "Test_list"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", + "prototype": false, "mhonarc": true, "mail-archive": false}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:52 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: prototype=False&mail-archive=True&mhonarc=True + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:53 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: prototype=False&mail-archive=True&mhonarc=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.0b2'] + method: !!python/unicode 'PUT' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:53 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", + "prototype": false, "mhonarc": false, "mail-archive": true}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", + "prototype": false, "mhonarc": false, "mail-archive": true}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:53 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_creation.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_creation.yaml index 8ae0e42..60bd840 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_creation.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_creation.yaml @@ -13,7 +13,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:11 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,13 +25,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:11 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -43,15 +43,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode '{"http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", - "entries": [{"self_link": "http://localhost:9001/3.0/domains/example.com", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}], - "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "self_link": + "http://localhost:9001/3.0/domains/example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "url_host": "example.com", "description": + null}], "http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", "start": + 0, "total_size": 1}'} headers: content-length: ['338'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:11 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -63,13 +63,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:11 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -81,13 +81,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:11 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -99,13 +99,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:11 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -121,7 +121,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:11 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} @@ -134,19 +134,18 @@ 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", "list_id": - "a_new_list.example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", - "list_name": "a_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "volume": 1, "display_name": "A_new_list", "mail_host": "example.com", "member_count": - 0}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "a_new_list.example.com", + "volume": 1, "display_name": "A_new_list", "member_count": 0, "fqdn_listname": + "a_new_list@example.com", "list_name": "a_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} headers: content-length: ['329'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:11 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 + body: role=owner&list_id=a_new_list.example.com&subscriber=owner%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -158,8 +157,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] - location: ['http://localhost:9001/3.0/members/334326661981448123324369958221998209208'] + date: ['Thu, 16 Apr 2015 12:01:11 GMT'] + location: ['http://localhost:9001/3.0/members/218566503232219098365057087224468809974'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -171,35 +170,34 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config response: - body: {string: !!python/unicode '{"request_address": "a_new_list-request@example.com", - "web_host": "example.com", "digest_last_sent_at": null, "posting_address": - "a_new_list@example.com", "reply_to_address": "", "digest_size_threshold": - 30.0, "admin_notify_mchanges": false, "scheme": "http", "autorespond_owner": - "none", "send_welcome_message": true, "fqdn_listname": "a_new_list@example.com", - "http_etag": "\"2c436b0bb4e5b3e256976cceb9890f61e0324649\"", "admin_immed_notify": - true, "owner_address": "a_new_list-owner@example.com", "convert_html_to_plaintext": - false, "autorespond_requests": "none", "list_name": "a_new_list", "autoresponse_postings_text": - "", "post_id": 1, "volume": 1, "include_rfc2369_headers": true, "first_strip_reply_to": - false, "subscription_policy": "confirm", "description": "", "default_member_action": - "defer", "bounces_address": "a_new_list-bounces@example.com", "join_address": - "a_new_list-join@example.com", "autoresponse_grace_period": "90d", "anonymous_list": - false, "default_nonmember_action": "hold", "acceptable_aliases": [], "advertised": - true, "display_name": "A_new_list", "posting_pipeline": "default-posting-pipeline", - "filter_content": false, "last_post_at": null, "leave_address": "a_new_list-leave@example.com", - "no_reply_address": "noreply@example.com", "created_at": "2015-04-15T20:00:48.758263", - "subject_prefix": "[A_new_list] ", "autoresponse_request_text": "", "administrivia": - true, "reply_goes_to_list": "no_munging", "next_digest_number": 1, "collapse_alternatives": - true, "archive_policy": "public", "welcome_message_uri": "mailman:///welcome.txt", - "mail_host": "example.com", "autoresponse_owner_text": "", "allow_list_posts": - true, "autorespond_postings": "none"}'} + body: {string: !!python/unicode '{"autoresponse_postings_text": "", "volume": + 1, "administrivia": true, "posting_address": "a_new_list@example.com", "scheme": + "http", "advertised": true, "autorespond_postings": "none", "request_address": + "a_new_list-request@example.com", "leave_address": "a_new_list-leave@example.com", + "bounces_address": "a_new_list-bounces@example.com", "first_strip_reply_to": + false, "next_digest_number": 1, "filter_content": false, "post_id": 1, "autorespond_owner": + "none", "display_name": "A_new_list", "send_welcome_message": true, "admin_immed_notify": + true, "last_post_at": null, "reply_goes_to_list": "no_munging", "acceptable_aliases": + [], "subject_prefix": "[A_new_list] ", "web_host": "example.com", "autoresponse_owner_text": + "", "admin_notify_mchanges": false, "default_nonmember_action": "hold", "allow_list_posts": + true, "collapse_alternatives": true, "autoresponse_grace_period": "90d", "welcome_message_uri": + "mailman:///welcome.txt", "fqdn_listname": "a_new_list@example.com", "default_member_action": + "defer", "join_address": "a_new_list-join@example.com", "owner_address": "a_new_list-owner@example.com", + "autorespond_requests": "none", "subscription_policy": "confirm", "mail_host": + "example.com", "http_etag": "\"b6bc5f7bdbb61251403d2a81fad8f338b8e4582b\"", + "posting_pipeline": "default-posting-pipeline", "reply_to_address": "", "digest_size_threshold": + 30.0, "description": "", "anonymous_list": false, "convert_html_to_plaintext": + false, "no_reply_address": "noreply@example.com", "list_name": "a_new_list", + "digest_last_sent_at": null, "include_rfc2369_headers": true, "autoresponse_request_text": + "", "created_at": "2015-04-16T12:01:11.210745", "archive_policy": "public"}'} headers: content-length: ['1687'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:11 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: - body: convert_html_to_plaintext=False&autoresponse_postings_text=&send_welcome_message=True&autorespond_requests=none&display_name=A_new_list&autorespond_postings=none&filter_content=False&reply_goes_to_list=no_munging&admin_notify_mchanges=False&default_member_action=defer&first_strip_reply_to=False&autoresponse_grace_period=90d&reply_to_address=&autoresponse_owner_text=&description=A+new+list.&archive_policy=public&anonymous_list=False&digest_size_threshold=30.0&advertised=True&autoresponse_request_text=&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&include_rfc2369_headers=True&allow_list_posts=True&admin_immed_notify=True&subject_prefix=%5BA_new_list%5D+&autorespond_owner=none&collapse_alternatives=True&default_nonmember_action=hold&subscription_policy=confirm&posting_pipeline=default-posting-pipeline&administrivia=True + body: autorespond_requests=none&collapse_alternatives=True&include_rfc2369_headers=True&autorespond_owner=none&subject_prefix=%5BA_new_list%5D+&admin_immed_notify=True&administrivia=True&default_member_action=defer&subscription_policy=confirm&default_nonmember_action=hold&anonymous_list=False&allow_list_posts=True&description=A+new+list.&advertised=True&digest_size_threshold=30.0&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&admin_notify_mchanges=False&reply_goes_to_list=no_munging&filter_content=False&first_strip_reply_to=False&autoresponse_owner_text=&reply_to_address=&autoresponse_grace_period=90d&convert_html_to_plaintext=False&display_name=A_new_list&archive_policy=public&send_welcome_message=True&autoresponse_postings_text=&autorespond_postings=none&autoresponse_request_text=&posting_pipeline=default-posting-pipeline headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -211,7 +209,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:11 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -223,15 +221,14 @@ 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", "list_id": - "a_new_list.example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", - "list_name": "a_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "volume": 1, "display_name": "A_new_list", "mail_host": "example.com", "member_count": - 0}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "a_new_list.example.com", + "volume": 1, "display_name": "A_new_list", "member_count": 0, "fqdn_listname": + "a_new_list@example.com", "list_name": "a_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} headers: content-length: ['329'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:11 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -243,17 +240,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": "\"3759623188199673e6694d21f0003f1e64651318\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/334326661981448123324369958221998209208", - "email": "owner@example.com", "list_id": "a_new_list.example.com", "user": - "http://localhost:9001/3.0/users/117102017827318954078289964069449293796", - "role": "owner", "http_etag": "\"b5c1302df79cb187a3bc0a7898edb19a3ec4d008\"", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": - 334326661981448123324369958221998209208}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"list_id": "a_new_list.example.com", + "user": "http://localhost:9001/3.0/users/76322437701403563057266227005474594242", + "http_etag": "\"eda93c4132f478d9bb71feb933f2967ce6853ee6\"", "email": "owner@example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": + "http://localhost:9001/3.0/members/218566503232219098365057087224468809974", + "delivery_mode": "regular", "member_id": 218566503232219098365057087224468809974, + "role": "owner"}], "http_etag": "\"5206d6b08101a075068afa95b92280e8c0ef9d22\"", + "start": 0, "total_size": 1}'} headers: - content-length: ['573'] + content-length: ['572'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:11 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -265,16 +263,16 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists response: - body: {string: !!python/unicode '{"http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\"", - "entries": [{"fqdn_listname": "a_new_list@example.com", "list_id": "a_new_list.example.com", - "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", "list_name": - "a_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "volume": 1, "display_name": "A_new_list", "mail_host": "example.com", "member_count": - 0}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "list_id": + "a_new_list.example.com", "volume": 1, "display_name": "A_new_list", "member_count": + 0, "fqdn_listname": "a_new_list@example.com", "list_name": "a_new_list", "self_link": + "http://localhost:9001/3.0/lists/a_new_list.example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}], + "http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\"", "start": 0, "total_size": + 1}'} headers: content-length: ['434'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:49 GMT'] + date: ['Thu, 16 Apr 2015 12:01:11 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -286,15 +284,14 @@ 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", "list_id": - "a_new_list.example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", - "list_name": "a_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "volume": 1, "display_name": "A_new_list", "mail_host": "example.com", "member_count": - 0}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "a_new_list.example.com", + "volume": 1, "display_name": "A_new_list", "member_count": 0, "fqdn_listname": + "a_new_list@example.com", "list_name": "a_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} headers: content-length: ['329'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:49 GMT'] + date: ['Thu, 16 Apr 2015 12:01:11 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -309,7 +306,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:49 GMT'] + date: ['Thu, 16 Apr 2015 12:01:11 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -326,7 +323,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:49 GMT'] + date: ['Thu, 16 Apr 2015 12:01:11 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -338,13 +335,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:49 GMT'] + date: ['Thu, 16 Apr 2015 12:01:11 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -361,7 +358,1481 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:49 GMT'] + date: ['Thu, 16 Apr 2015 12:01:12 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode '{"http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", + "start": 0, "total_size": 1, "entries": [{"base_url": "http://example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}]}'} + headers: + content-length: ['338'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19:37 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:37 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.0b2'] + 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", "http_etag": + "\"447e005af2b208bfea01f6425b786356f0a374de\"", "volume": 1, "list_name": + "a_new_list", "mail_host": "example.com", "list_id": "a_new_list.example.com", + "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "display_name": "A_new_list"}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19:37 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:37 GMT'] + location: ['http://localhost:9001/3.0/members/215561431848211475185423337736166171944'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config + response: + body: {string: !!python/unicode '{"fqdn_listname": "a_new_list@example.com", "autoresponse_grace_period": + "90d", "request_address": "a_new_list-request@example.com", "no_reply_address": + "noreply@example.com", "welcome_message_uri": "mailman:///welcome.txt", "bounces_address": + "a_new_list-bounces@example.com", "list_name": "a_new_list", "anonymous_list": + false, "leave_address": "a_new_list-leave@example.com", "administrivia": true, + "autorespond_owner": "none", "next_digest_number": 1, "join_address": "a_new_list-join@example.com", + "display_name": "A_new_list", "collapse_alternatives": true, "allow_list_posts": + true, "admin_notify_mchanges": false, "reply_to_address": "", "digest_last_sent_at": + null, "post_id": 1, "volume": 1, "first_strip_reply_to": false, "posting_pipeline": + "default-posting-pipeline", "acceptable_aliases": [], "http_etag": "\"8531e63de9e962172edc85acf8a39afc355557ae\"", + "created_at": "2015-04-16T16:19:37.587414", "autorespond_requests": "none", + "advertised": true, "autoresponse_owner_text": "", "reply_goes_to_list": "no_munging", + "web_host": "example.com", "subscription_policy": "confirm", "autoresponse_request_text": + "", "description": "", "autorespond_postings": "none", "filter_content": false, + "owner_address": "a_new_list-owner@example.com", "default_member_action": + "defer", "archive_policy": "public", "digest_size_threshold": 30.0, "posting_address": + "a_new_list@example.com", "last_post_at": null, "autoresponse_postings_text": + "", "mail_host": "example.com", "include_rfc2369_headers": true, "subject_prefix": + "[A_new_list] ", "send_welcome_message": true, "scheme": "http", "admin_immed_notify": + true, "default_nonmember_action": "hold", "convert_html_to_plaintext": false}'} + headers: + content-length: ['1687'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: administrivia=True&admin_immed_notify=True&description=A+new+list.&subject_prefix=%5BA_new_list%5D+&autorespond_requests=none&autorespond_postings=none&digest_size_threshold=30.0&allow_list_posts=True&convert_html_to_plaintext=False&autoresponse_owner_text=&display_name=A_new_list&send_welcome_message=True&archive_policy=public&autoresponse_postings_text=&reply_to_address=&default_member_action=defer&autorespond_owner=none&collapse_alternatives=True&subscription_policy=confirm&default_nonmember_action=hold&advertised=True&posting_pipeline=default-posting-pipeline&include_rfc2369_headers=True&admin_notify_mchanges=False&first_strip_reply_to=False&autoresponse_grace_period=90d&autoresponse_request_text=&anonymous_list=False&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&reply_goes_to_list=no_munging&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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19:37 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.0b2'] + 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", "http_etag": + "\"447e005af2b208bfea01f6425b786356f0a374de\"", "volume": 1, "list_name": + "a_new_list", "mail_host": "example.com", "list_id": "a_new_list.example.com", + "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "display_name": "A_new_list"}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"d4284b8d226a1c2a3e636b9b388c10d5d9ec2129\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "a_new_list.example.com", + "user": "http://localhost:9001/3.0/users/255015826804171332424761416287966710611", + "email": "owner@example.com", "http_etag": "\"9b369669bda3b53ccc657feff8af0f729d32441d\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/215561431848211475185423337736166171944", + "role": "owner", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "member_id": 215561431848211475185423337736166171944}]}'} + headers: + content-length: ['573'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\"", + "start": 0, "total_size": 1, "entries": [{"fqdn_listname": "a_new_list@example.com", + "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", "volume": 1, + "list_name": "a_new_list", "mail_host": "example.com", "list_id": "a_new_list.example.com", + "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "display_name": "A_new_list"}]}'} + headers: + content-length: ['434'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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", "http_etag": + "\"447e005af2b208bfea01f6425b786356f0a374de\"", "volume": 1, "list_name": + "a_new_list", "mail_host": "example.com", "list_id": "a_new_list.example.com", + "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "display_name": "A_new_list"}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19:38 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40:18 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode '{"entries": [{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}], "start": 0, "http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", + "total_size": 1}'} + headers: + content-length: ['338'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:18 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:18 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "a_new_list@example.com", + "list_name": "a_new_list", "list_id": "a_new_list.example.com", "http_etag": + "\"447e005af2b208bfea01f6425b786356f0a374de\"", "display_name": "A_new_list", + "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "member_count": 0}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=a_new_list.example.com&role=owner&subscriber=owner%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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:19 GMT'] + location: ['http://localhost:9001/3.0/members/184489973487362440808396422842455008710'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config + response: + body: {string: !!python/unicode '{"scheme": "http", "digest_last_sent_at": null, + "autorespond_requests": "none", "http_etag": "\"8ad55ff1643a1f5ee77a563e6693e8c91d824c98\"", + "include_rfc2369_headers": true, "archive_policy": "public", "list_name": + "a_new_list", "leave_address": "a_new_list-leave@example.com", "anonymous_list": + false, "join_address": "a_new_list-join@example.com", "posting_pipeline": + "default-posting-pipeline", "posting_address": "a_new_list@example.com", "autoresponse_postings_text": + "", "autoresponse_request_text": "", "autorespond_postings": "none", "post_id": + 1, "welcome_message_uri": "mailman:///welcome.txt", "autoresponse_owner_text": + "", "subject_prefix": "[A_new_list] ", "volume": 1, "fqdn_listname": "a_new_list@example.com", + "subscription_policy": "confirm", "bounces_address": "a_new_list-bounces@example.com", + "first_strip_reply_to": false, "reply_goes_to_list": "no_munging", "advertised": + true, "acceptable_aliases": [], "last_post_at": null, "next_digest_number": + 1, "reply_to_address": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "admin_notify_mchanges": false, "send_welcome_message": true, "display_name": + "A_new_list", "administrivia": true, "collapse_alternatives": true, "default_nonmember_action": + "hold", "owner_address": "a_new_list-owner@example.com", "request_address": + "a_new_list-request@example.com", "default_member_action": "defer", "digest_size_threshold": + 30.0, "created_at": "2015-04-16T16:40:18.876190", "no_reply_address": "noreply@example.com", + "description": "", "autorespond_owner": "none", "filter_content": false, "convert_html_to_plaintext": + false, "allow_list_posts": true, "mail_host": "example.com", "admin_immed_notify": + true}'} + headers: + content-length: ['1687'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:19 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: advertised=True&autoresponse_owner_text=&administrivia=True&allow_list_posts=True&autoresponse_postings_text=&admin_notify_mchanges=False&first_strip_reply_to=False&description=A+new+list.&archive_policy=public&reply_goes_to_list=no_munging&autorespond_postings=none&default_member_action=defer&anonymous_list=False&subscription_policy=confirm&filter_content=False&convert_html_to_plaintext=False&digest_size_threshold=30.0&admin_immed_notify=True&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&send_welcome_message=True&collapse_alternatives=True&display_name=A_new_list&posting_pipeline=default-posting-pipeline&autorespond_owner=none&default_nonmember_action=hold&subject_prefix=%5BA_new_list%5D+&reply_to_address=&include_rfc2369_headers=True&autoresponse_request_text=&autoresponse_grace_period=90d&autorespond_requests=none + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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: ['Thu, 16 Apr 2015 16:40:19 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "a_new_list@example.com", + "list_name": "a_new_list", "list_id": "a_new_list.example.com", "http_etag": + "\"447e005af2b208bfea01f6425b786356f0a374de\"", "display_name": "A_new_list", + "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "member_count": 0}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/184489973487362440808396422842455008710", + "http_etag": "\"d0b7ee3e813572f34e2327fae6b0a2b3159355f5\"", "user": "http://localhost:9001/3.0/users/209605544006964234273776222753532543294", + "role": "owner", "email": "owner@example.com", "list_id": "a_new_list.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "member_id": + 184489973487362440808396422842455008710}], "start": 0, "http_etag": "\"8fb5d881bf8ed20a2b24581bee3621a4f5d6f5b9\"", + "total_size": 1}'} + headers: + content-length: ['573'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"volume": 1, "fqdn_listname": "a_new_list@example.com", + "list_name": "a_new_list", "list_id": "a_new_list.example.com", "http_etag": + "\"447e005af2b208bfea01f6425b786356f0a374de\"", "display_name": "A_new_list", + "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "member_count": 0}], "start": 0, "http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\"", + "total_size": 1}'} + headers: + content-length: ['434'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "a_new_list@example.com", + "list_name": "a_new_list", "list_id": "a_new_list.example.com", "http_etag": + "\"447e005af2b208bfea01f6425b786356f0a374de\"", "display_name": "A_new_list", + "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "member_count": 0}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40:19 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40:19 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40:20 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42:28 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "url_host": + "example.com", "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}], "total_size": 1, "http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", + "start": 0}'} + headers: + content-length: ['338'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:29 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:29 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.0b2'] + 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", "list_id": + "a_new_list.example.com", "list_name": "a_new_list", "volume": 1, "http_etag": + "\"447e005af2b208bfea01f6425b786356f0a374de\"", "member_count": 0, "mail_host": + "example.com", "display_name": "A_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com"}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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=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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:29 GMT'] + location: ['http://localhost:9001/3.0/members/250525517747855225577593706149877534358'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config + response: + body: {string: !!python/unicode '{"convert_html_to_plaintext": false, "owner_address": + "a_new_list-owner@example.com", "autorespond_requests": "none", "anonymous_list": + false, "admin_notify_mchanges": false, "autoresponse_request_text": "", "http_etag": + "\"de0756ec06081064bac1ec5a64401e1fd50ced7f\"", "administrivia": true, "join_address": + "a_new_list-join@example.com", "digest_size_threshold": 30.0, "next_digest_number": + 1, "request_address": "a_new_list-request@example.com", "collapse_alternatives": + true, "posting_address": "a_new_list@example.com", "allow_list_posts": true, + "last_post_at": null, "post_id": 1, "volume": 1, "autoresponse_grace_period": + "90d", "reply_to_address": "", "advertised": true, "autoresponse_owner_text": + "", "subscription_policy": "confirm", "scheme": "http", "display_name": "A_new_list", + "default_nonmember_action": "hold", "bounces_address": "a_new_list-bounces@example.com", + "acceptable_aliases": [], "filter_content": false, "fqdn_listname": "a_new_list@example.com", + "welcome_message_uri": "mailman:///welcome.txt", "send_welcome_message": true, + "list_name": "a_new_list", "first_strip_reply_to": false, "autorespond_owner": + "none", "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "leave_address": + "a_new_list-leave@example.com", "description": "", "archive_policy": "public", + "subject_prefix": "[A_new_list] ", "autoresponse_postings_text": "", "admin_immed_notify": + true, "web_host": "example.com", "mail_host": "example.com", "autorespond_postings": + "none", "no_reply_address": "noreply@example.com", "include_rfc2369_headers": + true, "default_member_action": "defer", "posting_pipeline": "default-posting-pipeline", + "created_at": "2015-04-16T16:42:29.131906"}'} + headers: + content-length: ['1687'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: administrivia=True&admin_immed_notify=True&subscription_policy=confirm&autorespond_postings=none&convert_html_to_plaintext=False&filter_content=False&advertised=True&autoresponse_postings_text=&autorespond_owner=none&reply_goes_to_list=no_munging&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&description=A+new+list.&autorespond_requests=none&anonymous_list=False&archive_policy=public&subject_prefix=%5BA_new_list%5D+&autoresponse_owner_text=&first_strip_reply_to=False&send_welcome_message=True&collapse_alternatives=True&reply_to_address=&digest_size_threshold=30.0&include_rfc2369_headers=True&autoresponse_grace_period=90d&posting_pipeline=default-posting-pipeline&allow_list_posts=True&admin_notify_mchanges=False&autoresponse_request_text=&default_nonmember_action=hold&default_member_action=defer&display_name=A_new_list + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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", "list_id": + "a_new_list.example.com", "list_name": "a_new_list", "volume": 1, "http_etag": + "\"447e005af2b208bfea01f6425b786356f0a374de\"", "member_count": 0, "mail_host": + "example.com", "display_name": "A_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com"}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "a_new_list.example.com", + "email": "owner@example.com", "role": "owner", "member_id": 250525517747855225577593706149877534358, + "self_link": "http://localhost:9001/3.0/members/250525517747855225577593706149877534358", + "delivery_mode": "regular", "http_etag": "\"affaf15e96906362f52a93b66101b1e32189c621\"", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "user": + "http://localhost:9001/3.0/users/131635024950405220742461738530345678353"}], + "total_size": 1, "http_etag": "\"4932823a8ac8265f6b7d719986528b5d261ae625\"", + "start": 0}'} + headers: + content-length: ['573'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "a_new_list@example.com", + "list_id": "a_new_list.example.com", "list_name": "a_new_list", "volume": + 1, "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", "member_count": + 0, "mail_host": "example.com", "display_name": "A_new_list", "self_link": + "http://localhost:9001/3.0/lists/a_new_list.example.com"}], "total_size": + 1, "http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\"", "start": 0}'} + headers: + content-length: ['434'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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", "list_id": + "a_new_list.example.com", "list_name": "a_new_list", "volume": 1, "http_etag": + "\"447e005af2b208bfea01f6425b786356f0a374de\"", "member_count": 0, "mail_host": + "example.com", "display_name": "A_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com"}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42:31 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "url_host": + "example.com", "description": null, "base_url": "http://example.com", "http_etag": + "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "self_link": "http://localhost:9001/3.0/domains/example.com"}], + "http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", "total_size": + 1, "start": 0}'} + headers: + content-length: ['338'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:36 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:36 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, + "member_count": 0, "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", + "display_name": "A_new_list"}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:36 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=a_new_list.example.com&subscriber=owner%40example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:36 GMT'] + location: ['http://localhost:9001/3.0/members/275930179249419162526689292552469499640'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config + response: + body: {string: !!python/unicode '{"digest_last_sent_at": null, "description": + "", "request_address": "a_new_list-request@example.com", "acceptable_aliases": + [], "autoresponse_grace_period": "90d", "autorespond_requests": "none", "volume": + 1, "archive_policy": "public", "autoresponse_owner_text": "", "join_address": + "a_new_list-join@example.com", "autoresponse_request_text": "", "default_member_action": + "defer", "bounces_address": "a_new_list-bounces@example.com", "convert_html_to_plaintext": + false, "owner_address": "a_new_list-owner@example.com", "last_post_at": null, + "autoresponse_postings_text": "", "post_id": 1, "no_reply_address": "noreply@example.com", + "http_etag": "\"e02610ba5d6391569bfd7c76bd995e839ea4bcfd\"", "scheme": "http", + "web_host": "example.com", "subject_prefix": "[A_new_list] ", "next_digest_number": + 1, "leave_address": "a_new_list-leave@example.com", "include_rfc2369_headers": + true, "send_welcome_message": true, "welcome_message_uri": "mailman:///welcome.txt", + "digest_size_threshold": 30.0, "fqdn_listname": "a_new_list@example.com", + "anonymous_list": false, "admin_notify_mchanges": false, "administrivia": + true, "first_strip_reply_to": false, "subscription_policy": "confirm", "filter_content": + false, "display_name": "A_new_list", "autorespond_owner": "none", "posting_address": + "a_new_list@example.com", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "created_at": "2015-04-16T16:45:36.407091", "reply_goes_to_list": + "no_munging", "collapse_alternatives": true, "allow_list_posts": true, "list_name": + "a_new_list", "autorespond_postings": "none", "admin_immed_notify": true, + "advertised": true, "mail_host": "example.com", "default_nonmember_action": + "hold"}'} + headers: + content-length: ['1687'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:36 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: send_welcome_message=True&default_nonmember_action=hold&subscription_policy=confirm&reply_to_address=&default_member_action=defer&admin_immed_notify=True&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&convert_html_to_plaintext=False&digest_size_threshold=30.0&admin_notify_mchanges=False&reply_goes_to_list=no_munging&description=A+new+list.&subject_prefix=%5BA_new_list%5D+&autorespond_owner=none&archive_policy=public&autoresponse_grace_period=90d&autoresponse_owner_text=&advertised=True&first_strip_reply_to=False&filter_content=False&allow_list_posts=True&autorespond_postings=none&include_rfc2369_headers=True&autoresponse_request_text=&posting_pipeline=default-posting-pipeline&administrivia=True&display_name=A_new_list&anonymous_list=False&collapse_alternatives=True&autoresponse_postings_text=&autorespond_requests=none + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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: ['Thu, 16 Apr 2015 16:45:36 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, + "member_count": 0, "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", + "display_name": "A_new_list"}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "a_new_list.example.com", + "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": + "owner@example.com", "role": "owner", "member_id": 275930179249419162526689292552469499640, + "http_etag": "\"c246fa4d9308d89332781d6100daed062534ab70\"", "self_link": + "http://localhost:9001/3.0/members/275930179249419162526689292552469499640", + "user": "http://localhost:9001/3.0/users/66006950103280025087184184142668411477", + "delivery_mode": "regular"}], "http_etag": "\"bf463081b335fdc7102f5bea96f41a0bdd407b30\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['572'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "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, "member_count": 0, "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", + "display_name": "A_new_list"}], "http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['434'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/a_new_list.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, + "member_count": 0, "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", + "display_name": "A_new_list"}'} + headers: + content-length: ['329'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:45: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:45:37 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + 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: ['Thu, 16 Apr 2015 16:45:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_index.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_index.yaml index ef33473..4c729a6 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_index.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_index.yaml @@ -13,7 +13,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,13 +25,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -43,13 +43,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -65,7 +65,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01: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} @@ -78,16 +78,16 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists response: - body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", - "entries": [{"fqdn_listname": "foo@example.com", "list_id": "foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_name": - "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "display_name": "Foo", "mail_host": "example.com", "member_count": 0}], - "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "list_id": + "foo.example.com", "volume": 1, "display_name": "Foo", "member_count": 0, + "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], "http_etag": + "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "start": 0, "total_size": + 1}'} headers: content-length: ['399'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -99,15 +99,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -119,30 +118,30 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com/config response: - body: {string: !!python/unicode '{"request_address": "foo-request@example.com", - "web_host": "example.com", "digest_last_sent_at": null, "posting_address": - "foo@example.com", "reply_to_address": "", "digest_size_threshold": 30.0, - "admin_notify_mchanges": false, "scheme": "http", "autorespond_owner": "none", - "send_welcome_message": true, "fqdn_listname": "foo@example.com", "http_etag": - "\"364934c1f57eb144f582394c473883804a69ade5\"", "admin_immed_notify": true, - "owner_address": "foo-owner@example.com", "convert_html_to_plaintext": false, - "autorespond_requests": "none", "list_name": "foo", "autoresponse_postings_text": - "", "post_id": 1, "volume": 1, "include_rfc2369_headers": true, "first_strip_reply_to": - false, "subscription_policy": "confirm", "description": "", "default_member_action": - "defer", "bounces_address": "foo-bounces@example.com", "join_address": "foo-join@example.com", - "autoresponse_grace_period": "90d", "anonymous_list": false, "default_nonmember_action": - "hold", "acceptable_aliases": [], "advertised": true, "display_name": "Foo", - "posting_pipeline": "default-posting-pipeline", "filter_content": false, "last_post_at": - null, "leave_address": "foo-leave@example.com", "no_reply_address": "noreply@example.com", - "created_at": "2015-04-15T20:00:48.209721", "subject_prefix": "[Foo] ", "autoresponse_request_text": - "", "administrivia": true, "reply_goes_to_list": "no_munging", "next_digest_number": - 1, "collapse_alternatives": true, "archive_policy": "public", "welcome_message_uri": - "mailman:///welcome.txt", "mail_host": "example.com", "autoresponse_owner_text": - "", "allow_list_posts": true, "autorespond_postings": "none"}'} + body: {string: !!python/unicode '{"autoresponse_postings_text": "", "volume": + 1, "administrivia": true, "posting_address": "foo@example.com", "scheme": + "http", "advertised": true, "autorespond_postings": "none", "request_address": + "foo-request@example.com", "leave_address": "foo-leave@example.com", "bounces_address": + "foo-bounces@example.com", "first_strip_reply_to": false, "next_digest_number": + 1, "filter_content": false, "post_id": 1, "autorespond_owner": "none", "display_name": + "Foo", "send_welcome_message": true, "admin_immed_notify": true, "last_post_at": + null, "reply_goes_to_list": "no_munging", "acceptable_aliases": [], "subject_prefix": + "[Foo] ", "web_host": "example.com", "autoresponse_owner_text": "", "admin_notify_mchanges": + false, "default_nonmember_action": "hold", "allow_list_posts": true, "collapse_alternatives": + true, "autoresponse_grace_period": "90d", "welcome_message_uri": "mailman:///welcome.txt", + "fqdn_listname": "foo@example.com", "default_member_action": "defer", "join_address": + "foo-join@example.com", "owner_address": "foo-owner@example.com", "autorespond_requests": + "none", "subscription_policy": "confirm", "mail_host": "example.com", "http_etag": + "\"5052f0c472d6a2a68a267b9c559e202112b78dca\"", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "digest_size_threshold": 30.0, "description": "", + "anonymous_list": false, "convert_html_to_plaintext": false, "no_reply_address": + "noreply@example.com", "list_name": "foo", "digest_last_sent_at": null, "include_rfc2369_headers": + true, "autoresponse_request_text": "", "created_at": "2015-04-16T12:01:10.633275", + "archive_policy": "public"}'} headers: content-length: ['1617'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -154,15 +153,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode '{"http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", - "entries": [{"self_link": "http://localhost:9001/3.0/domains/example.com", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}], - "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "self_link": + "http://localhost:9001/3.0/domains/example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "url_host": "example.com", "description": + null}], "http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", "start": + 0, "total_size": 1}'} headers: content-length: ['338'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -174,13 +173,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -192,30 +191,30 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com/config response: - body: {string: !!python/unicode '{"request_address": "foo-request@example.com", - "web_host": "example.com", "digest_last_sent_at": null, "posting_address": - "foo@example.com", "reply_to_address": "", "digest_size_threshold": 30.0, - "admin_notify_mchanges": false, "scheme": "http", "autorespond_owner": "none", - "send_welcome_message": true, "fqdn_listname": "foo@example.com", "http_etag": - "\"364934c1f57eb144f582394c473883804a69ade5\"", "admin_immed_notify": true, - "owner_address": "foo-owner@example.com", "convert_html_to_plaintext": false, - "autorespond_requests": "none", "list_name": "foo", "autoresponse_postings_text": - "", "post_id": 1, "volume": 1, "include_rfc2369_headers": true, "first_strip_reply_to": - false, "subscription_policy": "confirm", "description": "", "default_member_action": - "defer", "bounces_address": "foo-bounces@example.com", "join_address": "foo-join@example.com", - "autoresponse_grace_period": "90d", "anonymous_list": false, "default_nonmember_action": - "hold", "acceptable_aliases": [], "advertised": true, "display_name": "Foo", - "posting_pipeline": "default-posting-pipeline", "filter_content": false, "last_post_at": - null, "leave_address": "foo-leave@example.com", "no_reply_address": "noreply@example.com", - "created_at": "2015-04-15T20:00:48.209721", "subject_prefix": "[Foo] ", "autoresponse_request_text": - "", "administrivia": true, "reply_goes_to_list": "no_munging", "next_digest_number": - 1, "collapse_alternatives": true, "archive_policy": "public", "welcome_message_uri": - "mailman:///welcome.txt", "mail_host": "example.com", "autoresponse_owner_text": - "", "allow_list_posts": true, "autorespond_postings": "none"}'} + body: {string: !!python/unicode '{"autoresponse_postings_text": "", "volume": + 1, "administrivia": true, "posting_address": "foo@example.com", "scheme": + "http", "advertised": true, "autorespond_postings": "none", "request_address": + "foo-request@example.com", "leave_address": "foo-leave@example.com", "bounces_address": + "foo-bounces@example.com", "first_strip_reply_to": false, "next_digest_number": + 1, "filter_content": false, "post_id": 1, "autorespond_owner": "none", "display_name": + "Foo", "send_welcome_message": true, "admin_immed_notify": true, "last_post_at": + null, "reply_goes_to_list": "no_munging", "acceptable_aliases": [], "subject_prefix": + "[Foo] ", "web_host": "example.com", "autoresponse_owner_text": "", "admin_notify_mchanges": + false, "default_nonmember_action": "hold", "allow_list_posts": true, "collapse_alternatives": + true, "autoresponse_grace_period": "90d", "welcome_message_uri": "mailman:///welcome.txt", + "fqdn_listname": "foo@example.com", "default_member_action": "defer", "join_address": + "foo-join@example.com", "owner_address": "foo-owner@example.com", "autorespond_requests": + "none", "subscription_policy": "confirm", "mail_host": "example.com", "http_etag": + "\"5052f0c472d6a2a68a267b9c559e202112b78dca\"", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "digest_size_threshold": 30.0, "description": "", + "anonymous_list": false, "convert_html_to_plaintext": false, "no_reply_address": + "noreply@example.com", "list_name": "foo", "digest_last_sent_at": null, "include_rfc2369_headers": + true, "autoresponse_request_text": "", "created_at": "2015-04-16T12:01:10.633275", + "archive_policy": "public"}'} headers: content-length: ['1617'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -227,30 +226,30 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com/config response: - body: {string: !!python/unicode '{"request_address": "foo-request@example.com", - "web_host": "example.com", "digest_last_sent_at": null, "posting_address": - "foo@example.com", "reply_to_address": "", "digest_size_threshold": 30.0, - "admin_notify_mchanges": false, "scheme": "http", "autorespond_owner": "none", - "send_welcome_message": true, "fqdn_listname": "foo@example.com", "http_etag": - "\"364934c1f57eb144f582394c473883804a69ade5\"", "admin_immed_notify": true, - "owner_address": "foo-owner@example.com", "convert_html_to_plaintext": false, - "autorespond_requests": "none", "list_name": "foo", "autoresponse_postings_text": - "", "post_id": 1, "volume": 1, "include_rfc2369_headers": true, "first_strip_reply_to": - false, "subscription_policy": "confirm", "description": "", "default_member_action": - "defer", "bounces_address": "foo-bounces@example.com", "join_address": "foo-join@example.com", - "autoresponse_grace_period": "90d", "anonymous_list": false, "default_nonmember_action": - "hold", "acceptable_aliases": [], "advertised": true, "display_name": "Foo", - "posting_pipeline": "default-posting-pipeline", "filter_content": false, "last_post_at": - null, "leave_address": "foo-leave@example.com", "no_reply_address": "noreply@example.com", - "created_at": "2015-04-15T20:00:48.209721", "subject_prefix": "[Foo] ", "autoresponse_request_text": - "", "administrivia": true, "reply_goes_to_list": "no_munging", "next_digest_number": - 1, "collapse_alternatives": true, "archive_policy": "public", "welcome_message_uri": - "mailman:///welcome.txt", "mail_host": "example.com", "autoresponse_owner_text": - "", "allow_list_posts": true, "autorespond_postings": "none"}'} + body: {string: !!python/unicode '{"autoresponse_postings_text": "", "volume": + 1, "administrivia": true, "posting_address": "foo@example.com", "scheme": + "http", "advertised": true, "autorespond_postings": "none", "request_address": + "foo-request@example.com", "leave_address": "foo-leave@example.com", "bounces_address": + "foo-bounces@example.com", "first_strip_reply_to": false, "next_digest_number": + 1, "filter_content": false, "post_id": 1, "autorespond_owner": "none", "display_name": + "Foo", "send_welcome_message": true, "admin_immed_notify": true, "last_post_at": + null, "reply_goes_to_list": "no_munging", "acceptable_aliases": [], "subject_prefix": + "[Foo] ", "web_host": "example.com", "autoresponse_owner_text": "", "admin_notify_mchanges": + false, "default_nonmember_action": "hold", "allow_list_posts": true, "collapse_alternatives": + true, "autoresponse_grace_period": "90d", "welcome_message_uri": "mailman:///welcome.txt", + "fqdn_listname": "foo@example.com", "default_member_action": "defer", "join_address": + "foo-join@example.com", "owner_address": "foo-owner@example.com", "autorespond_requests": + "none", "subscription_policy": "confirm", "mail_host": "example.com", "http_etag": + "\"5052f0c472d6a2a68a267b9c559e202112b78dca\"", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "digest_size_threshold": 30.0, "description": "", + "anonymous_list": false, "convert_html_to_plaintext": false, "no_reply_address": + "noreply@example.com", "list_name": "foo", "digest_last_sent_at": null, "include_rfc2369_headers": + true, "autoresponse_request_text": "", "created_at": "2015-04-16T12:01:10.633275", + "archive_policy": "public"}'} headers: content-length: ['1617'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -262,16 +261,16 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists response: - body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", - "entries": [{"fqdn_listname": "foo@example.com", "list_id": "foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_name": - "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "display_name": "Foo", "mail_host": "example.com", "member_count": 0}], - "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "list_id": + "foo.example.com", "volume": 1, "display_name": "Foo", "member_count": 0, + "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], "http_etag": + "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "start": 0, "total_size": + 1}'} headers: content-length: ['399'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -283,15 +282,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -306,7 +304,1253 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "start": 0, "total_size": 1, "entries": [{"fqdn_listname": "foo@example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, + "list_name": "foo", "mail_host": "example.com", "list_id": "foo.example.com", + "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "display_name": "Foo"}]}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "autoresponse_grace_period": + "90d", "request_address": "foo-request@example.com", "no_reply_address": "noreply@example.com", + "welcome_message_uri": "mailman:///welcome.txt", "bounces_address": "foo-bounces@example.com", + "list_name": "foo", "anonymous_list": false, "leave_address": "foo-leave@example.com", + "administrivia": true, "autorespond_owner": "none", "next_digest_number": + 1, "join_address": "foo-join@example.com", "display_name": "Foo", "collapse_alternatives": + true, "allow_list_posts": true, "admin_notify_mchanges": false, "reply_to_address": + "", "digest_last_sent_at": null, "post_id": 1, "volume": 1, "first_strip_reply_to": + false, "posting_pipeline": "default-posting-pipeline", "acceptable_aliases": + [], "http_etag": "\"3701d822c6fe66cb555e4a2764b706790c7cea9c\"", "created_at": + "2015-04-16T16:19:36.608659", "autorespond_requests": "none", "advertised": + true, "autoresponse_owner_text": "", "reply_goes_to_list": "no_munging", "web_host": + "example.com", "subscription_policy": "confirm", "autoresponse_request_text": + "", "description": "", "autorespond_postings": "none", "filter_content": false, + "owner_address": "foo-owner@example.com", "default_member_action": "defer", + "archive_policy": "public", "digest_size_threshold": 30.0, "posting_address": + "foo@example.com", "last_post_at": null, "autoresponse_postings_text": "", + "mail_host": "example.com", "include_rfc2369_headers": true, "subject_prefix": + "[Foo] ", "send_welcome_message": true, "scheme": "http", "admin_immed_notify": + true, "default_nonmember_action": "hold", "convert_html_to_plaintext": false}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode '{"http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", + "start": 0, "total_size": 1, "entries": [{"base_url": "http://example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}]}'} + headers: + content-length: ['338'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "autoresponse_grace_period": + "90d", "request_address": "foo-request@example.com", "no_reply_address": "noreply@example.com", + "welcome_message_uri": "mailman:///welcome.txt", "bounces_address": "foo-bounces@example.com", + "list_name": "foo", "anonymous_list": false, "leave_address": "foo-leave@example.com", + "administrivia": true, "autorespond_owner": "none", "next_digest_number": + 1, "join_address": "foo-join@example.com", "display_name": "Foo", "collapse_alternatives": + true, "allow_list_posts": true, "admin_notify_mchanges": false, "reply_to_address": + "", "digest_last_sent_at": null, "post_id": 1, "volume": 1, "first_strip_reply_to": + false, "posting_pipeline": "default-posting-pipeline", "acceptable_aliases": + [], "http_etag": "\"3701d822c6fe66cb555e4a2764b706790c7cea9c\"", "created_at": + "2015-04-16T16:19:36.608659", "autorespond_requests": "none", "advertised": + true, "autoresponse_owner_text": "", "reply_goes_to_list": "no_munging", "web_host": + "example.com", "subscription_policy": "confirm", "autoresponse_request_text": + "", "description": "", "autorespond_postings": "none", "filter_content": false, + "owner_address": "foo-owner@example.com", "default_member_action": "defer", + "archive_policy": "public", "digest_size_threshold": 30.0, "posting_address": + "foo@example.com", "last_post_at": null, "autoresponse_postings_text": "", + "mail_host": "example.com", "include_rfc2369_headers": true, "subject_prefix": + "[Foo] ", "send_welcome_message": true, "scheme": "http", "admin_immed_notify": + true, "default_nonmember_action": "hold", "convert_html_to_plaintext": false}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "autoresponse_grace_period": + "90d", "request_address": "foo-request@example.com", "no_reply_address": "noreply@example.com", + "welcome_message_uri": "mailman:///welcome.txt", "bounces_address": "foo-bounces@example.com", + "list_name": "foo", "anonymous_list": false, "leave_address": "foo-leave@example.com", + "administrivia": true, "autorespond_owner": "none", "next_digest_number": + 1, "join_address": "foo-join@example.com", "display_name": "Foo", "collapse_alternatives": + true, "allow_list_posts": true, "admin_notify_mchanges": false, "reply_to_address": + "", "digest_last_sent_at": null, "post_id": 1, "volume": 1, "first_strip_reply_to": + false, "posting_pipeline": "default-posting-pipeline", "acceptable_aliases": + [], "http_etag": "\"3701d822c6fe66cb555e4a2764b706790c7cea9c\"", "created_at": + "2015-04-16T16:19:36.608659", "autorespond_requests": "none", "advertised": + true, "autoresponse_owner_text": "", "reply_goes_to_list": "no_munging", "web_host": + "example.com", "subscription_policy": "confirm", "autoresponse_request_text": + "", "description": "", "autorespond_postings": "none", "filter_content": false, + "owner_address": "foo-owner@example.com", "default_member_action": "defer", + "archive_policy": "public", "digest_size_threshold": 30.0, "posting_address": + "foo@example.com", "last_post_at": null, "autoresponse_postings_text": "", + "mail_host": "example.com", "include_rfc2369_headers": true, "subject_prefix": + "[Foo] ", "send_welcome_message": true, "scheme": "http", "admin_immed_notify": + true, "default_nonmember_action": "hold", "convert_html_to_plaintext": false}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "start": 0, "total_size": 1, "entries": [{"fqdn_listname": "foo@example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, + "list_name": "foo", "mail_host": "example.com", "list_id": "foo.example.com", + "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "display_name": "Foo"}]}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}], "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "total_size": 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"scheme": "http", "digest_last_sent_at": null, + "autorespond_requests": "none", "http_etag": "\"c313c303336752cef456d716e089b9956c2beebd\"", + "include_rfc2369_headers": true, "archive_policy": "public", "list_name": + "foo", "leave_address": "foo-leave@example.com", "anonymous_list": false, + "join_address": "foo-join@example.com", "posting_pipeline": "default-posting-pipeline", + "posting_address": "foo@example.com", "autoresponse_postings_text": "", "autoresponse_request_text": + "", "autorespond_postings": "none", "post_id": 1, "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_owner_text": "", "subject_prefix": "[Foo] ", "volume": 1, "fqdn_listname": + "foo@example.com", "subscription_policy": "confirm", "bounces_address": "foo-bounces@example.com", + "first_strip_reply_to": false, "reply_goes_to_list": "no_munging", "advertised": + true, "acceptable_aliases": [], "last_post_at": null, "next_digest_number": + 1, "reply_to_address": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "admin_notify_mchanges": false, "send_welcome_message": true, "display_name": + "Foo", "administrivia": true, "collapse_alternatives": true, "default_nonmember_action": + "hold", "owner_address": "foo-owner@example.com", "request_address": "foo-request@example.com", + "default_member_action": "defer", "digest_size_threshold": 30.0, "created_at": + "2015-04-16T16:40:17.504055", "no_reply_address": "noreply@example.com", "description": + "", "autorespond_owner": "none", "filter_content": false, "convert_html_to_plaintext": + false, "allow_list_posts": true, "mail_host": "example.com", "admin_immed_notify": + true}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode '{"entries": [{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}], "start": 0, "http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", + "total_size": 1}'} + headers: + content-length: ['338'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"scheme": "http", "digest_last_sent_at": null, + "autorespond_requests": "none", "http_etag": "\"c313c303336752cef456d716e089b9956c2beebd\"", + "include_rfc2369_headers": true, "archive_policy": "public", "list_name": + "foo", "leave_address": "foo-leave@example.com", "anonymous_list": false, + "join_address": "foo-join@example.com", "posting_pipeline": "default-posting-pipeline", + "posting_address": "foo@example.com", "autoresponse_postings_text": "", "autoresponse_request_text": + "", "autorespond_postings": "none", "post_id": 1, "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_owner_text": "", "subject_prefix": "[Foo] ", "volume": 1, "fqdn_listname": + "foo@example.com", "subscription_policy": "confirm", "bounces_address": "foo-bounces@example.com", + "first_strip_reply_to": false, "reply_goes_to_list": "no_munging", "advertised": + true, "acceptable_aliases": [], "last_post_at": null, "next_digest_number": + 1, "reply_to_address": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "admin_notify_mchanges": false, "send_welcome_message": true, "display_name": + "Foo", "administrivia": true, "collapse_alternatives": true, "default_nonmember_action": + "hold", "owner_address": "foo-owner@example.com", "request_address": "foo-request@example.com", + "default_member_action": "defer", "digest_size_threshold": 30.0, "created_at": + "2015-04-16T16:40:17.504055", "no_reply_address": "noreply@example.com", "description": + "", "autorespond_owner": "none", "filter_content": false, "convert_html_to_plaintext": + false, "allow_list_posts": true, "mail_host": "example.com", "admin_immed_notify": + true}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"scheme": "http", "digest_last_sent_at": null, + "autorespond_requests": "none", "http_etag": "\"c313c303336752cef456d716e089b9956c2beebd\"", + "include_rfc2369_headers": true, "archive_policy": "public", "list_name": + "foo", "leave_address": "foo-leave@example.com", "anonymous_list": false, + "join_address": "foo-join@example.com", "posting_pipeline": "default-posting-pipeline", + "posting_address": "foo@example.com", "autoresponse_postings_text": "", "autoresponse_request_text": + "", "autorespond_postings": "none", "post_id": 1, "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_owner_text": "", "subject_prefix": "[Foo] ", "volume": 1, "fqdn_listname": + "foo@example.com", "subscription_policy": "confirm", "bounces_address": "foo-bounces@example.com", + "first_strip_reply_to": false, "reply_goes_to_list": "no_munging", "advertised": + true, "acceptable_aliases": [], "last_post_at": null, "next_digest_number": + 1, "reply_to_address": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "admin_notify_mchanges": false, "send_welcome_message": true, "display_name": + "Foo", "administrivia": true, "collapse_alternatives": true, "default_nonmember_action": + "hold", "owner_address": "foo-owner@example.com", "request_address": "foo-request@example.com", + "default_member_action": "defer", "digest_size_threshold": 30.0, "created_at": + "2015-04-16T16:40:17.504055", "no_reply_address": "noreply@example.com", "description": + "", "autorespond_owner": "none", "filter_content": false, "convert_html_to_plaintext": + false, "allow_list_posts": true, "mail_host": "example.com", "admin_immed_notify": + true}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}], "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "total_size": 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:18 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", + "list_id": "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": 0, "mail_host": + "example.com", "display_name": "Foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com"}], + "total_size": 1, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "start": 0}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"convert_html_to_plaintext": false, "owner_address": + "foo-owner@example.com", "autorespond_requests": "none", "anonymous_list": + false, "admin_notify_mchanges": false, "autoresponse_request_text": "", "http_etag": + "\"fc724b4203a39f9e7553df0fe830a83e931f48ef\"", "administrivia": true, "join_address": + "foo-join@example.com", "digest_size_threshold": 30.0, "next_digest_number": + 1, "request_address": "foo-request@example.com", "collapse_alternatives": + true, "posting_address": "foo@example.com", "allow_list_posts": true, "last_post_at": + null, "post_id": 1, "volume": 1, "autoresponse_grace_period": "90d", "reply_to_address": + "", "advertised": true, "autoresponse_owner_text": "", "subscription_policy": + "confirm", "scheme": "http", "display_name": "Foo", "default_nonmember_action": + "hold", "bounces_address": "foo-bounces@example.com", "acceptable_aliases": + [], "filter_content": false, "fqdn_listname": "foo@example.com", "welcome_message_uri": + "mailman:///welcome.txt", "send_welcome_message": true, "list_name": "foo", + "first_strip_reply_to": false, "autorespond_owner": "none", "reply_goes_to_list": + "no_munging", "digest_last_sent_at": null, "leave_address": "foo-leave@example.com", + "description": "", "archive_policy": "public", "subject_prefix": "[Foo] ", + "autoresponse_postings_text": "", "admin_immed_notify": true, "web_host": + "example.com", "mail_host": "example.com", "autorespond_postings": "none", + "no_reply_address": "noreply@example.com", "include_rfc2369_headers": true, + "default_member_action": "defer", "posting_pipeline": "default-posting-pipeline", + "created_at": "2015-04-16T16:42:27.302367"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "url_host": + "example.com", "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}], "total_size": 1, "http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", + "start": 0}'} + headers: + content-length: ['338'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"convert_html_to_plaintext": false, "owner_address": + "foo-owner@example.com", "autorespond_requests": "none", "anonymous_list": + false, "admin_notify_mchanges": false, "autoresponse_request_text": "", "http_etag": + "\"fc724b4203a39f9e7553df0fe830a83e931f48ef\"", "administrivia": true, "join_address": + "foo-join@example.com", "digest_size_threshold": 30.0, "next_digest_number": + 1, "request_address": "foo-request@example.com", "collapse_alternatives": + true, "posting_address": "foo@example.com", "allow_list_posts": true, "last_post_at": + null, "post_id": 1, "volume": 1, "autoresponse_grace_period": "90d", "reply_to_address": + "", "advertised": true, "autoresponse_owner_text": "", "subscription_policy": + "confirm", "scheme": "http", "display_name": "Foo", "default_nonmember_action": + "hold", "bounces_address": "foo-bounces@example.com", "acceptable_aliases": + [], "filter_content": false, "fqdn_listname": "foo@example.com", "welcome_message_uri": + "mailman:///welcome.txt", "send_welcome_message": true, "list_name": "foo", + "first_strip_reply_to": false, "autorespond_owner": "none", "reply_goes_to_list": + "no_munging", "digest_last_sent_at": null, "leave_address": "foo-leave@example.com", + "description": "", "archive_policy": "public", "subject_prefix": "[Foo] ", + "autoresponse_postings_text": "", "admin_immed_notify": true, "web_host": + "example.com", "mail_host": "example.com", "autorespond_postings": "none", + "no_reply_address": "noreply@example.com", "include_rfc2369_headers": true, + "default_member_action": "defer", "posting_pipeline": "default-posting-pipeline", + "created_at": "2015-04-16T16:42:27.302367"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"convert_html_to_plaintext": false, "owner_address": + "foo-owner@example.com", "autorespond_requests": "none", "anonymous_list": + false, "admin_notify_mchanges": false, "autoresponse_request_text": "", "http_etag": + "\"fc724b4203a39f9e7553df0fe830a83e931f48ef\"", "administrivia": true, "join_address": + "foo-join@example.com", "digest_size_threshold": 30.0, "next_digest_number": + 1, "request_address": "foo-request@example.com", "collapse_alternatives": + true, "posting_address": "foo@example.com", "allow_list_posts": true, "last_post_at": + null, "post_id": 1, "volume": 1, "autoresponse_grace_period": "90d", "reply_to_address": + "", "advertised": true, "autoresponse_owner_text": "", "subscription_policy": + "confirm", "scheme": "http", "display_name": "Foo", "default_nonmember_action": + "hold", "bounces_address": "foo-bounces@example.com", "acceptable_aliases": + [], "filter_content": false, "fqdn_listname": "foo@example.com", "welcome_message_uri": + "mailman:///welcome.txt", "send_welcome_message": true, "list_name": "foo", + "first_strip_reply_to": false, "autorespond_owner": "none", "reply_goes_to_list": + "no_munging", "digest_last_sent_at": null, "leave_address": "foo-leave@example.com", + "description": "", "archive_policy": "public", "subject_prefix": "[Foo] ", + "autoresponse_postings_text": "", "admin_immed_notify": true, "web_host": + "example.com", "mail_host": "example.com", "autorespond_postings": "none", + "no_reply_address": "noreply@example.com", "include_rfc2369_headers": true, + "default_member_action": "defer", "posting_pipeline": "default-posting-pipeline", + "created_at": "2015-04-16T16:42:27.302367"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", + "list_id": "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": 0, "mail_host": + "example.com", "display_name": "Foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com"}], + "total_size": 1, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "start": 0}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:45:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:34 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}], "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": + 1, "start": 0}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"digest_last_sent_at": null, "description": + "", "request_address": "foo-request@example.com", "acceptable_aliases": [], + "autoresponse_grace_period": "90d", "autorespond_requests": "none", "volume": + 1, "archive_policy": "public", "autoresponse_owner_text": "", "join_address": + "foo-join@example.com", "autoresponse_request_text": "", "default_member_action": + "defer", "bounces_address": "foo-bounces@example.com", "convert_html_to_plaintext": + false, "owner_address": "foo-owner@example.com", "last_post_at": null, "autoresponse_postings_text": + "", "post_id": 1, "no_reply_address": "noreply@example.com", "http_etag": + "\"7fee195e5bdae7f06a4859204904e08fe4f03991\"", "scheme": "http", "web_host": + "example.com", "subject_prefix": "[Foo] ", "next_digest_number": 1, "leave_address": + "foo-leave@example.com", "include_rfc2369_headers": true, "send_welcome_message": + true, "welcome_message_uri": "mailman:///welcome.txt", "digest_size_threshold": + 30.0, "fqdn_listname": "foo@example.com", "anonymous_list": false, "admin_notify_mchanges": + false, "administrivia": true, "first_strip_reply_to": false, "subscription_policy": + "confirm", "filter_content": false, "display_name": "Foo", "autorespond_owner": + "none", "posting_address": "foo@example.com", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "created_at": "2015-04-16T16:45:34.072606", "reply_goes_to_list": + "no_munging", "collapse_alternatives": true, "allow_list_posts": true, "list_name": + "foo", "autorespond_postings": "none", "admin_immed_notify": true, "advertised": + true, "mail_host": "example.com", "default_nonmember_action": "hold"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "url_host": + "example.com", "description": null, "base_url": "http://example.com", "http_etag": + "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "self_link": "http://localhost:9001/3.0/domains/example.com"}], + "http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", "total_size": + 1, "start": 0}'} + headers: + content-length: ['338'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"digest_last_sent_at": null, "description": + "", "request_address": "foo-request@example.com", "acceptable_aliases": [], + "autoresponse_grace_period": "90d", "autorespond_requests": "none", "volume": + 1, "archive_policy": "public", "autoresponse_owner_text": "", "join_address": + "foo-join@example.com", "autoresponse_request_text": "", "default_member_action": + "defer", "bounces_address": "foo-bounces@example.com", "convert_html_to_plaintext": + false, "owner_address": "foo-owner@example.com", "last_post_at": null, "autoresponse_postings_text": + "", "post_id": 1, "no_reply_address": "noreply@example.com", "http_etag": + "\"7fee195e5bdae7f06a4859204904e08fe4f03991\"", "scheme": "http", "web_host": + "example.com", "subject_prefix": "[Foo] ", "next_digest_number": 1, "leave_address": + "foo-leave@example.com", "include_rfc2369_headers": true, "send_welcome_message": + true, "welcome_message_uri": "mailman:///welcome.txt", "digest_size_threshold": + 30.0, "fqdn_listname": "foo@example.com", "anonymous_list": false, "admin_notify_mchanges": + false, "administrivia": true, "first_strip_reply_to": false, "subscription_policy": + "confirm", "filter_content": false, "display_name": "Foo", "autorespond_owner": + "none", "posting_address": "foo@example.com", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "created_at": "2015-04-16T16:45:34.072606", "reply_goes_to_list": + "no_munging", "collapse_alternatives": true, "allow_list_posts": true, "list_name": + "foo", "autorespond_postings": "none", "admin_immed_notify": true, "advertised": + true, "mail_host": "example.com", "default_nonmember_action": "hold"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"digest_last_sent_at": null, "description": + "", "request_address": "foo-request@example.com", "acceptable_aliases": [], + "autoresponse_grace_period": "90d", "autorespond_requests": "none", "volume": + 1, "archive_policy": "public", "autoresponse_owner_text": "", "join_address": + "foo-join@example.com", "autoresponse_request_text": "", "default_member_action": + "defer", "bounces_address": "foo-bounces@example.com", "convert_html_to_plaintext": + false, "owner_address": "foo-owner@example.com", "last_post_at": null, "autoresponse_postings_text": + "", "post_id": 1, "no_reply_address": "noreply@example.com", "http_etag": + "\"7fee195e5bdae7f06a4859204904e08fe4f03991\"", "scheme": "http", "web_host": + "example.com", "subject_prefix": "[Foo] ", "next_digest_number": 1, "leave_address": + "foo-leave@example.com", "include_rfc2369_headers": true, "send_welcome_message": + true, "welcome_message_uri": "mailman:///welcome.txt", "digest_size_threshold": + 30.0, "fqdn_listname": "foo@example.com", "anonymous_list": false, "admin_notify_mchanges": + false, "administrivia": true, "first_strip_reply_to": false, "subscription_policy": + "confirm", "filter_content": false, "display_name": "Foo", "autorespond_owner": + "none", "posting_address": "foo@example.com", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "created_at": "2015-04-16T16:45:34.072606", "reply_goes_to_list": + "no_munging", "collapse_alternatives": true, "allow_list_posts": true, "list_name": + "foo", "autorespond_postings": "none", "admin_immed_notify": true, "advertised": + true, "mail_host": "example.com", "default_nonmember_action": "hold"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}], "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": + 1, "start": 0}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:35 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_moderator.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_moderator.yaml index 8c90c88..40f42cd 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 @@ -13,7 +13,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:01 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,13 +25,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -43,13 +43,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -65,7 +65,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01: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} @@ -78,15 +78,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -103,7 +102,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -120,7 +119,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -137,11 +136,11 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 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 + body: role=moderator&list_id=foo.example.com&subscriber=newmod%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -153,8 +152,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] - location: ['http://localhost:9001/3.0/members/77877321659467212687479413596598956489'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] + location: ['http://localhost:9001/3.0/members/176156648385078183222497182306743796819'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -171,7 +170,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -183,16 +182,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: - body: {string: !!python/unicode '{"http_etag": "\"fbf6bcd8ca1197bca59d957ecd23dcb9ef1c37de\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/77877321659467212687479413596598956489", - "email": "newmod@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/280696364750368978857520113682724449041", - "role": "moderator", "http_etag": "\"87c931801634d83cddd530b9f55873f04b7d1820\"", - "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "member_id": - 77877321659467212687479413596598956489}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/38954589365743393634307757736089440455", + "http_etag": "\"ff6669337f4cd1e1145f36d201a85298d0a7ff2c\"", "email": "newmod@example.com", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": + "http://localhost:9001/3.0/members/176156648385078183222497182306743796819", + "delivery_mode": "regular", "member_id": 176156648385078183222497182306743796819, + "role": "moderator"}], "http_etag": "\"91c6ad2f3c3cdfd7d0e94050832ae93d46d03ec1\"", + "start": 0, "total_size": 1}'} headers: - content-length: ['570'] + content-length: ['571'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -204,16 +205,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: - body: {string: !!python/unicode '{"http_etag": "\"fbf6bcd8ca1197bca59d957ecd23dcb9ef1c37de\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/77877321659467212687479413596598956489", - "email": "newmod@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/280696364750368978857520113682724449041", - "role": "moderator", "http_etag": "\"87c931801634d83cddd530b9f55873f04b7d1820\"", - "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "member_id": - 77877321659467212687479413596598956489}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/38954589365743393634307757736089440455", + "http_etag": "\"ff6669337f4cd1e1145f36d201a85298d0a7ff2c\"", "email": "newmod@example.com", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": + "http://localhost:9001/3.0/members/176156648385078183222497182306743796819", + "delivery_mode": "regular", "member_id": 176156648385078183222497182306743796819, + "role": "moderator"}], "http_etag": "\"91c6ad2f3c3cdfd7d0e94050832ae93d46d03ec1\"", + "start": 0, "total_size": 1}'} headers: - content-length: ['570'] + content-length: ['571'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -225,15 +228,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -248,7 +250,1283 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:22 GMT'] + location: ['http://localhost:9001/3.0/members/172019473393758327873860858790991475264'] + 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"acd6845a3adaffee01781290329251607bc33f7d\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/105157634820474004141182032440835726691", + "email": "newmod@example.com", "http_etag": "\"9dc323a2bba4d3c4431fbe4c23e48d636f159742\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/172019473393758327873860858790991475264", + "role": "moderator", "address": "http://localhost:9001/3.0/addresses/newmod@example.com", + "member_id": 172019473393758327873860858790991475264}]}'} + headers: + content-length: ['572'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"acd6845a3adaffee01781290329251607bc33f7d\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/105157634820474004141182032440835726691", + "email": "newmod@example.com", "http_etag": "\"9dc323a2bba4d3c4431fbe4c23e48d636f159742\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/172019473393758327873860858790991475264", + "role": "moderator", "address": "http://localhost:9001/3.0/addresses/newmod@example.com", + "member_id": 172019473393758327873860858790991475264}]}'} + headers: + content-length: ['572'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:39:57 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:58 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39:58 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:39: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:39: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:39:58 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&role=moderator&subscriber=newmod%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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39:58 GMT'] + location: ['http://localhost:9001/3.0/members/55081008203508197141656205540077608004'] + 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/55081008203508197141656205540077608004", + "http_etag": "\"176690384ab9dcd9852ead0383b87c444905b3d5\"", "user": "http://localhost:9001/3.0/users/77821703597425100151476054362959386679", + "role": "moderator", "email": "newmod@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "member_id": + 55081008203508197141656205540077608004}], "start": 0, "http_etag": "\"bdd472f2d9364faf3733ce5f09862b3b07678ebc\"", + "total_size": 1}'} + headers: + content-length: ['569'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/55081008203508197141656205540077608004", + "http_etag": "\"176690384ab9dcd9852ead0383b87c444905b3d5\"", "user": "http://localhost:9001/3.0/users/77821703597425100151476054362959386679", + "role": "moderator", "email": "newmod@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "member_id": + 55081008203508197141656205540077608004}], "start": 0, "http_etag": "\"bdd472f2d9364faf3733ce5f09862b3b07678ebc\"", + "total_size": 1}'} + headers: + content-length: ['569'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39:58 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:01 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:01 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42:02 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:02 GMT'] + location: ['http://localhost:9001/3.0/members/132703724651045689094168438511289461373'] + 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "newmod@example.com", "role": "moderator", "member_id": 132703724651045689094168438511289461373, + "self_link": "http://localhost:9001/3.0/members/132703724651045689094168438511289461373", + "delivery_mode": "regular", "http_etag": "\"716be582130e619241771c1bc4c055f161894207\"", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "user": + "http://localhost:9001/3.0/users/132286618554136392752082459590505395300"}], + "total_size": 1, "http_etag": "\"3ec101a90407dea58d0116a07714efa2e8f284b2\"", + "start": 0}'} + headers: + content-length: ['572'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "newmod@example.com", "role": "moderator", "member_id": 132703724651045689094168438511289461373, + "self_link": "http://localhost:9001/3.0/members/132703724651045689094168438511289461373", + "delivery_mode": "regular", "http_etag": "\"716be582130e619241771c1bc4c055f161894207\"", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "user": + "http://localhost:9001/3.0/users/132286618554136392752082459590505395300"}], + "total_size": 1, "http_etag": "\"3ec101a90407dea58d0116a07714efa2e8f284b2\"", + "start": 0}'} + headers: + content-length: ['572'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:02 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:43:54 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:54 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43:54 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:54 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43:55 GMT'] + location: ['http://localhost:9001/3.0/members/185155452525648876722680387489959376182'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/185155452525648876722680387489959376182", + "user": "http://localhost:9001/3.0/users/73531171823731645074629520085989289369", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/newmod@example.com", + "http_etag": "\"5171b9575557b26858ad379dd7b159edc8871901\"", "member_id": + 185155452525648876722680387489959376182, "role": "moderator", "email": "newmod@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"3089177fc02116f0466d70c9829e6f0dbb7171a7\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['571'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/185155452525648876722680387489959376182", + "user": "http://localhost:9001/3.0/users/73531171823731645074629520085989289369", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/newmod@example.com", + "http_etag": "\"5171b9575557b26858ad379dd7b159edc8871901\"", "member_id": + 185155452525648876722680387489959376182, "role": "moderator", "email": "newmod@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"3089177fc02116f0466d70c9829e6f0dbb7171a7\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['571'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43:55 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44:56 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:56 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:56 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0, "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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: ['Thu, 16 Apr 2015 16:44:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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: ['Thu, 16 Apr 2015 16:44:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&subscriber=newmod%40example.com&role=moderator + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:56 GMT'] + location: ['http://localhost:9001/3.0/members/182309494519714476498214580044968480947'] + 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/newmod@example.com", "email": "newmod@example.com", + "role": "moderator", "member_id": 182309494519714476498214580044968480947, + "http_etag": "\"4c3929820313eb5e11dc2ad52d79dab51c751824\"", "self_link": + "http://localhost:9001/3.0/members/182309494519714476498214580044968480947", + "user": "http://localhost:9001/3.0/users/258626402716536041914677775401470304659", + "delivery_mode": "regular"}], "http_etag": "\"2e491f8af8be7fa10bf5b9fee58ac01ed681b1b1\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['572'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/newmod@example.com", "email": "newmod@example.com", + "role": "moderator", "member_id": 182309494519714476498214580044968480947, + "http_etag": "\"4c3929820313eb5e11dc2ad52d79dab51c751824\"", "self_link": + "http://localhost:9001/3.0/members/182309494519714476498214580044968480947", + "user": "http://localhost:9001/3.0/users/258626402716536041914677775401470304659", + "delivery_mode": "regular"}], "http_etag": "\"2e491f8af8be7fa10bf5b9fee58ac01ed681b1b1\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['572'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:57 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:57 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_owner.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_owner.yaml index a80c901..cfb489d 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 @@ -13,7 +13,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,13 +25,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -43,13 +43,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -65,7 +65,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 12:01: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} @@ -78,15 +78,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -103,7 +102,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -120,7 +119,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -137,7 +136,1028 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: role=owner&list_id=foo.example.com&subscriber=newowner%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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 12:01:02 GMT'] + location: ['http://localhost:9001/3.0/members/178450802677957377380525767024580535565'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/9189634849279061750978183448069916179", "http_etag": + "\"650a07e4f6797c24d1abb17a6db5dcaa2018e89b\"", "email": "newowner@example.com", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": + "http://localhost:9001/3.0/members/178450802677957377380525767024580535565", + "delivery_mode": "regular", "member_id": 178450802677957377380525767024580535565, + "role": "owner"}], "http_etag": "\"b1fdbfa0f5f2545cf43e9656525cd476bb2a8ea1\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['570'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/9189634849279061750978183448069916179", "http_etag": + "\"650a07e4f6797c24d1abb17a6db5dcaa2018e89b\"", "email": "newowner@example.com", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": + "http://localhost:9001/3.0/members/178450802677957377380525767024580535565", + "delivery_mode": "regular", "member_id": 178450802677957377380525767024580535565, + "role": "owner"}], "http_etag": "\"b1fdbfa0f5f2545cf43e9656525cd476bb2a8ea1\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['570'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", + "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19:23 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:23 GMT'] + location: ['http://localhost:9001/3.0/members/223400039875560909016877442908052080919'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"bd668974375f2ae23c900d964c260c5f0a888a97\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/293691316284360447220626139973421075509", + "email": "newowner@example.com", "http_etag": "\"e03c6f7caf9ceabb20990909a3f5a9a9daf4af0d\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/223400039875560909016877442908052080919", + "role": "owner", "address": "http://localhost:9001/3.0/addresses/newowner@example.com", + "member_id": 223400039875560909016877442908052080919}]}'} + headers: + content-length: ['572'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"bd668974375f2ae23c900d964c260c5f0a888a97\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/293691316284360447220626139973421075509", + "email": "newowner@example.com", "http_etag": "\"e03c6f7caf9ceabb20990909a3f5a9a9daf4af0d\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/223400039875560909016877442908052080919", + "role": "owner", "address": "http://localhost:9001/3.0/addresses/newowner@example.com", + "member_id": 223400039875560909016877442908052080919}]}'} + headers: + content-length: ['572'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:39:58 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39:58 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39:58 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:39: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:39: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:39:59 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&role=owner&subscriber=newowner%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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39:59 GMT'] + location: ['http://localhost:9001/3.0/members/150359893298181068998629981157789495125'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/150359893298181068998629981157789495125", + "http_etag": "\"f28b74aa1c8cda26ea733ff27b2b7c24ab6ee41f\"", "user": "http://localhost:9001/3.0/users/27240798662412722630685094502669183957", + "role": "owner", "email": "newowner@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "member_id": + 150359893298181068998629981157789495125}], "start": 0, "http_etag": "\"b418f239a18fc4784a1514cf8258960a5214df26\"", + "total_size": 1}'} + headers: + content-length: ['571'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/150359893298181068998629981157789495125", + "http_etag": "\"f28b74aa1c8cda26ea733ff27b2b7c24ab6ee41f\"", "user": "http://localhost:9001/3.0/users/27240798662412722630685094502669183957", + "role": "owner", "email": "newowner@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "member_id": + 150359893298181068998629981157789495125}], "start": 0, "http_etag": "\"b418f239a18fc4784a1514cf8258960a5214df26\"", + "total_size": 1}'} + headers: + content-length: ['571'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:39:59 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42:03 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:03 GMT'] + location: ['http://localhost:9001/3.0/members/206405833664377730045761927257532767883'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "newowner@example.com", "role": "owner", "member_id": 206405833664377730045761927257532767883, + "self_link": "http://localhost:9001/3.0/members/206405833664377730045761927257532767883", + "delivery_mode": "regular", "http_etag": "\"380c869d5db65ca0bf639daa83d1f534d2b509a8\"", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "user": + "http://localhost:9001/3.0/users/258848948432536105515112756550865912869"}], + "total_size": 1, "http_etag": "\"97a0d4fbf5e718ba1a0a01d6b654ee5b67abcda6\"", + "start": 0}'} + headers: + content-length: ['572'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "newowner@example.com", "role": "owner", "member_id": 206405833664377730045761927257532767883, + "self_link": "http://localhost:9001/3.0/members/206405833664377730045761927257532767883", + "delivery_mode": "regular", "http_etag": "\"380c869d5db65ca0bf639daa83d1f534d2b509a8\"", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "user": + "http://localhost:9001/3.0/users/258848948432536105515112756550865912869"}], + "total_size": 1, "http_etag": "\"97a0d4fbf5e718ba1a0a01d6b654ee5b67abcda6\"", + "start": 0}'} + headers: + content-length: ['572'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:43:56 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:56 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:43:56 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:56 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -153,8 +1173,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] - location: ['http://localhost:9001/3.0/members/316580494501498897764553969239217371297'] + date: ['Thu, 16 Apr 2015 16:43:56 GMT'] + location: ['http://localhost:9001/3.0/members/223447240274131039678289897833904625172'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -166,16 +1186,17 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"http_etag": "\"ed6c0338408c1922cf1d2efafd4e048aea7b4952\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/316580494501498897764553969239217371297", - "email": "newowner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/56780513472939226760192616016157807096", - "role": "owner", "http_etag": "\"68c877d413e7baae94835a96508178d6837c3d77\"", - "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "member_id": - 316580494501498897764553969239217371297}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/223447240274131039678289897833904625172", + "user": "http://localhost:9001/3.0/users/14920483881623945860268098341250118229", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/newowner@example.com", + "http_etag": "\"a8e3dd019ac8ee408e41b0d4551f5506ed357d0b\"", "member_id": + 223447240274131039678289897833904625172, "role": "owner", "email": "newowner@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"0dfc07bea5bb6529a3a600531d9d475e304618c6\"", + "start": 0, "total_size": 1}'} headers: content-length: ['571'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 16:43:56 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -192,7 +1213,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 16:43:56 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -204,16 +1225,17 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"http_etag": "\"ed6c0338408c1922cf1d2efafd4e048aea7b4952\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/316580494501498897764553969239217371297", - "email": "newowner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/56780513472939226760192616016157807096", - "role": "owner", "http_etag": "\"68c877d413e7baae94835a96508178d6837c3d77\"", - "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "member_id": - 316580494501498897764553969239217371297}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/223447240274131039678289897833904625172", + "user": "http://localhost:9001/3.0/users/14920483881623945860268098341250118229", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/newowner@example.com", + "http_etag": "\"a8e3dd019ac8ee408e41b0d4551f5506ed357d0b\"", "member_id": + 223447240274131039678289897833904625172, "role": "owner", "email": "newowner@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"0dfc07bea5bb6529a3a600531d9d475e304618c6\"", + "start": 0, "total_size": 1}'} headers: content-length: ['571'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 16:43:56 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -225,15 +1247,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", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", - "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 16:43:56 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -248,7 +1270,261 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 16:43:56 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44:57 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:57 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:57 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:57 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:57 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0, "start": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:57 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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: ['Thu, 16 Apr 2015 16:44:57 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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: ['Thu, 16 Apr 2015 16:44:57 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: list_id=foo.example.com&subscriber=newowner%40example.com&role=owner + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:57 GMT'] + location: ['http://localhost:9001/3.0/members/55813715093882946563317957668820230145'] + 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/newowner@example.com", "email": "newowner@example.com", + "role": "owner", "member_id": 55813715093882946563317957668820230145, "http_etag": + "\"09f303341dd29d259a8e3eea13026ab57c5cac4a\"", "self_link": "http://localhost:9001/3.0/members/55813715093882946563317957668820230145", + "user": "http://localhost:9001/3.0/users/146064495451353236008816480030446895059", + "delivery_mode": "regular"}], "http_etag": "\"b2e3d51c8aee8cb94a7826cda963a0ea33b0be40\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['570'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/newowner@example.com", "email": "newowner@example.com", + "role": "owner", "member_id": 55813715093882946563317957668820230145, "http_etag": + "\"09f303341dd29d259a8e3eea13026ab57c5cac4a\"", "self_link": "http://localhost:9001/3.0/members/55813715093882946563317957668820230145", + "user": "http://localhost:9001/3.0/users/146064495451353236008816480030446895059", + "delivery_mode": "regular"}], "http_etag": "\"b2e3d51c8aee8cb94a7826cda963a0ea33b0be40\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['570'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:58 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_owner_new_owner_added.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_owner_new_owner_added.yaml index 55dbff5..10e32ef 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,16 +8,129 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"http_etag": "\"ed6c0338408c1922cf1d2efafd4e048aea7b4952\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/316580494501498897764553969239217371297", - "email": "newowner@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/56780513472939226760192616016157807096", - "role": "owner", "http_etag": "\"68c877d413e7baae94835a96508178d6837c3d77\"", + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/9189634849279061750978183448069916179", "http_etag": + "\"650a07e4f6797c24d1abb17a6db5dcaa2018e89b\"", "email": "newowner@example.com", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": + "http://localhost:9001/3.0/members/178450802677957377380525767024580535565", + "delivery_mode": "regular", "member_id": 178450802677957377380525767024580535565, + "role": "owner"}], "http_etag": "\"b1fdbfa0f5f2545cf43e9656525cd476bb2a8ea1\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['570'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"bd668974375f2ae23c900d964c260c5f0a888a97\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/293691316284360447220626139973421075509", + "email": "newowner@example.com", "http_etag": "\"e03c6f7caf9ceabb20990909a3f5a9a9daf4af0d\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/223400039875560909016877442908052080919", + "role": "owner", "address": "http://localhost:9001/3.0/addresses/newowner@example.com", + "member_id": 223400039875560909016877442908052080919}]}'} + headers: + content-length: ['572'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/150359893298181068998629981157789495125", + "http_etag": "\"f28b74aa1c8cda26ea733ff27b2b7c24ab6ee41f\"", "user": "http://localhost:9001/3.0/users/27240798662412722630685094502669183957", + "role": "owner", "email": "newowner@example.com", "list_id": "foo.example.com", "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "member_id": - 316580494501498897764553969239217371297}], "start": 0, "total_size": 1}'} + 150359893298181068998629981157789495125}], "start": 0, "http_etag": "\"b418f239a18fc4784a1514cf8258960a5214df26\"", + "total_size": 1}'} headers: content-length: ['571'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:41 GMT'] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "newowner@example.com", "role": "owner", "member_id": 206405833664377730045761927257532767883, + "self_link": "http://localhost:9001/3.0/members/206405833664377730045761927257532767883", + "delivery_mode": "regular", "http_etag": "\"380c869d5db65ca0bf639daa83d1f534d2b509a8\"", + "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "user": + "http://localhost:9001/3.0/users/258848948432536105515112756550865912869"}], + "total_size": 1, "http_etag": "\"97a0d4fbf5e718ba1a0a01d6b654ee5b67abcda6\"", + "start": 0}'} + headers: + content-length: ['572'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/223447240274131039678289897833904625172", + "user": "http://localhost:9001/3.0/users/14920483881623945860268098341250118229", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/newowner@example.com", + "http_etag": "\"a8e3dd019ac8ee408e41b0d4551f5506ed357d0b\"", "member_id": + 223447240274131039678289897833904625172, "role": "owner", "email": "newowner@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"0dfc07bea5bb6529a3a600531d9d475e304618c6\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['571'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43:56 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/newowner@example.com", "email": "newowner@example.com", + "role": "owner", "member_id": 55813715093882946563317957668820230145, "http_etag": + "\"09f303341dd29d259a8e3eea13026ab57c5cac4a\"", "self_link": "http://localhost:9001/3.0/members/55813715093882946563317957668820230145", + "user": "http://localhost:9001/3.0/users/146064495451353236008816480030446895059", + "delivery_mode": "regular"}], "http_etag": "\"b2e3d51c8aee8cb94a7826cda963a0ea33b0be40\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['570'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:58 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_new_moderator_added.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_new_moderator_added.yaml index befcb0b..a9e804f 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,16 +8,130 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: - body: {string: !!python/unicode '{"http_etag": "\"fbf6bcd8ca1197bca59d957ecd23dcb9ef1c37de\"", - "entries": [{"delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/77877321659467212687479413596598956489", - "email": "newmod@example.com", "list_id": "foo.example.com", "user": "http://localhost:9001/3.0/users/280696364750368978857520113682724449041", - "role": "moderator", "http_etag": "\"87c931801634d83cddd530b9f55873f04b7d1820\"", - "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "member_id": - 77877321659467212687479413596598956489}], "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/38954589365743393634307757736089440455", + "http_etag": "\"ff6669337f4cd1e1145f36d201a85298d0a7ff2c\"", "email": "newmod@example.com", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": + "http://localhost:9001/3.0/members/176156648385078183222497182306743796819", + "delivery_mode": "regular", "member_id": 176156648385078183222497182306743796819, + "role": "moderator"}], "http_etag": "\"91c6ad2f3c3cdfd7d0e94050832ae93d46d03ec1\"", + "start": 0, "total_size": 1}'} headers: - content-length: ['570'] + content-length: ['571'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:40 GMT'] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"acd6845a3adaffee01781290329251607bc33f7d\"", + "start": 0, "total_size": 1, "entries": [{"list_id": "foo.example.com", "user": + "http://localhost:9001/3.0/users/105157634820474004141182032440835726691", + "email": "newmod@example.com", "http_etag": "\"9dc323a2bba4d3c4431fbe4c23e48d636f159742\"", + "delivery_mode": "regular", "self_link": "http://localhost:9001/3.0/members/172019473393758327873860858790991475264", + "role": "moderator", "address": "http://localhost:9001/3.0/addresses/newmod@example.com", + "member_id": 172019473393758327873860858790991475264}]}'} + headers: + content-length: ['572'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"delivery_mode": "regular", "self_link": + "http://localhost:9001/3.0/members/55081008203508197141656205540077608004", + "http_etag": "\"176690384ab9dcd9852ead0383b87c444905b3d5\"", "user": "http://localhost:9001/3.0/users/77821703597425100151476054362959386679", + "role": "moderator", "email": "newmod@example.com", "list_id": "foo.example.com", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "member_id": + 55081008203508197141656205540077608004}], "start": 0, "http_etag": "\"bdd472f2d9364faf3733ce5f09862b3b07678ebc\"", + "total_size": 1}'} + headers: + content-length: ['569'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:39: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "email": + "newmod@example.com", "role": "moderator", "member_id": 132703724651045689094168438511289461373, + "self_link": "http://localhost:9001/3.0/members/132703724651045689094168438511289461373", + "delivery_mode": "regular", "http_etag": "\"716be582130e619241771c1bc4c055f161894207\"", + "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "user": + "http://localhost:9001/3.0/users/132286618554136392752082459590505395300"}], + "total_size": 1, "http_etag": "\"3ec101a90407dea58d0116a07714efa2e8f284b2\"", + "start": 0}'} + headers: + content-length: ['572'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"self_link": "http://localhost:9001/3.0/members/185155452525648876722680387489959376182", + "user": "http://localhost:9001/3.0/users/73531171823731645074629520085989289369", + "delivery_mode": "regular", "address": "http://localhost:9001/3.0/addresses/newmod@example.com", + "http_etag": "\"5171b9575557b26858ad379dd7b159edc8871901\"", "member_id": + 185155452525648876722680387489959376182, "role": "moderator", "email": "newmod@example.com", + "list_id": "foo.example.com"}], "http_etag": "\"3089177fc02116f0466d70c9829e6f0dbb7171a7\"", + "start": 0, "total_size": 1}'} + headers: + content-length: ['571'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:43: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"entries": [{"list_id": "foo.example.com", "address": + "http://localhost:9001/3.0/addresses/newmod@example.com", "email": "newmod@example.com", + "role": "moderator", "member_id": 182309494519714476498214580044968480947, + "http_etag": "\"4c3929820313eb5e11dc2ad52d79dab51c751824\"", "self_link": + "http://localhost:9001/3.0/members/182309494519714476498214580044968480947", + "user": "http://localhost:9001/3.0/users/258626402716536041914677775401470304659", + "delivery_mode": "regular"}], "http_etag": "\"2e491f8af8be7fa10bf5b9fee58ac01ed681b1b1\"", + "total_size": 1, "start": 0}'} + headers: + content-length: ['572'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:56 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_metrics.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_metrics.yaml index 058b8dc..ebc044d 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_metrics.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_metrics.yaml @@ -12,7 +12,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:08 GMT'] location: ['http://localhost:9001/3.0/domains/example.org'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -25,13 +25,13 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.org response: - body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.org", - "base_url": "http://example.org", "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", - "mail_host": "example.org", "description": null, "url_host": "example.org"}'} + body: {string: !!python/unicode '{"mail_host": "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org", + "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", "base_url": "http://example.org", + "url_host": "example.org", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:08 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -47,7 +47,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:08 GMT'] location: ['http://localhost:9001/3.0/lists/test.example.org'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -60,15 +60,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test@example.org response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "list_id": - "test.example.org", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + body: {string: !!python/unicode '{"mail_host": "example.org", "list_id": "test.example.org", + "volume": 1, "display_name": "Test", "member_count": 0, "fqdn_listname": "test@example.org", "list_name": "test", "self_link": "http://localhost:9001/3.0/lists/test.example.org", - "volume": 1, "display_name": "Test", "mail_host": "example.org", "member_count": - 0}'} + "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} headers: content-length: ['299'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:08 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -80,15 +79,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test@example.org response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "list_id": - "test.example.org", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + body: {string: !!python/unicode '{"mail_host": "example.org", "list_id": "test.example.org", + "volume": 1, "display_name": "Test", "member_count": 0, "fqdn_listname": "test@example.org", "list_name": "test", "self_link": "http://localhost:9001/3.0/lists/test.example.org", - "volume": 1, "display_name": "Test", "mail_host": "example.org", "member_count": - 0}'} + "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} headers: content-length: ['299'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:08 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -105,7 +103,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:08 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -122,7 +120,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:08 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -134,30 +132,30 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test@example.org/config response: - body: {string: !!python/unicode '{"request_address": "test-request@example.org", - "web_host": "example.org", "digest_last_sent_at": null, "posting_address": - "test@example.org", "reply_to_address": "", "digest_size_threshold": 30.0, - "admin_notify_mchanges": false, "scheme": "http", "autorespond_owner": "none", - "send_welcome_message": true, "fqdn_listname": "test@example.org", "http_etag": - "\"878451fcdc59291f9e13c6f12134bdc400d45b97\"", "admin_immed_notify": true, - "owner_address": "test-owner@example.org", "convert_html_to_plaintext": false, - "autorespond_requests": "none", "list_name": "test", "autoresponse_postings_text": - "", "post_id": 1, "volume": 1, "include_rfc2369_headers": true, "first_strip_reply_to": - false, "subscription_policy": "confirm", "description": "", "default_member_action": - "defer", "bounces_address": "test-bounces@example.org", "join_address": "test-join@example.org", - "autoresponse_grace_period": "90d", "anonymous_list": false, "default_nonmember_action": - "hold", "acceptable_aliases": [], "advertised": true, "display_name": "Test", - "posting_pipeline": "default-posting-pipeline", "filter_content": false, "last_post_at": - null, "leave_address": "test-leave@example.org", "no_reply_address": "noreply@example.org", - "created_at": "2015-04-15T20:00:46.186892", "subject_prefix": "[Test] ", "autoresponse_request_text": - "", "administrivia": true, "reply_goes_to_list": "no_munging", "next_digest_number": - 1, "collapse_alternatives": true, "archive_policy": "public", "welcome_message_uri": - "mailman:///welcome.txt", "mail_host": "example.org", "autoresponse_owner_text": - "", "allow_list_posts": true, "autorespond_postings": "none"}'} + body: {string: !!python/unicode '{"autoresponse_postings_text": "", "volume": + 1, "administrivia": true, "posting_address": "test@example.org", "scheme": + "http", "advertised": true, "autorespond_postings": "none", "request_address": + "test-request@example.org", "leave_address": "test-leave@example.org", "bounces_address": + "test-bounces@example.org", "first_strip_reply_to": false, "next_digest_number": + 1, "filter_content": false, "post_id": 1, "autorespond_owner": "none", "display_name": + "Test", "send_welcome_message": true, "admin_immed_notify": true, "last_post_at": + null, "reply_goes_to_list": "no_munging", "acceptable_aliases": [], "subject_prefix": + "[Test] ", "web_host": "example.org", "autoresponse_owner_text": "", "admin_notify_mchanges": + false, "default_nonmember_action": "hold", "allow_list_posts": true, "collapse_alternatives": + true, "autoresponse_grace_period": "90d", "welcome_message_uri": "mailman:///welcome.txt", + "fqdn_listname": "test@example.org", "default_member_action": "defer", "join_address": + "test-join@example.org", "owner_address": "test-owner@example.org", "autorespond_requests": + "none", "subscription_policy": "confirm", "mail_host": "example.org", "http_etag": + "\"3af440a0bd18adbb9b3bb1557f5386eabacd806f\"", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "digest_size_threshold": 30.0, "description": "", + "anonymous_list": false, "convert_html_to_plaintext": false, "no_reply_address": + "noreply@example.org", "list_name": "test", "digest_last_sent_at": null, "include_rfc2369_headers": + true, "autoresponse_request_text": "", "created_at": "2015-04-16T12:01:08.337564", + "archive_policy": "public"}'} headers: content-length: ['1627'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:08 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -169,30 +167,30 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test@example.org/config response: - body: {string: !!python/unicode '{"request_address": "test-request@example.org", - "web_host": "example.org", "digest_last_sent_at": null, "posting_address": - "test@example.org", "reply_to_address": "", "digest_size_threshold": 30.0, - "admin_notify_mchanges": false, "scheme": "http", "autorespond_owner": "none", - "send_welcome_message": true, "fqdn_listname": "test@example.org", "http_etag": - "\"878451fcdc59291f9e13c6f12134bdc400d45b97\"", "admin_immed_notify": true, - "owner_address": "test-owner@example.org", "convert_html_to_plaintext": false, - "autorespond_requests": "none", "list_name": "test", "autoresponse_postings_text": - "", "post_id": 1, "volume": 1, "include_rfc2369_headers": true, "first_strip_reply_to": - false, "subscription_policy": "confirm", "description": "", "default_member_action": - "defer", "bounces_address": "test-bounces@example.org", "join_address": "test-join@example.org", - "autoresponse_grace_period": "90d", "anonymous_list": false, "default_nonmember_action": - "hold", "acceptable_aliases": [], "advertised": true, "display_name": "Test", - "posting_pipeline": "default-posting-pipeline", "filter_content": false, "last_post_at": - null, "leave_address": "test-leave@example.org", "no_reply_address": "noreply@example.org", - "created_at": "2015-04-15T20:00:46.186892", "subject_prefix": "[Test] ", "autoresponse_request_text": - "", "administrivia": true, "reply_goes_to_list": "no_munging", "next_digest_number": - 1, "collapse_alternatives": true, "archive_policy": "public", "welcome_message_uri": - "mailman:///welcome.txt", "mail_host": "example.org", "autoresponse_owner_text": - "", "allow_list_posts": true, "autorespond_postings": "none"}'} + body: {string: !!python/unicode '{"autoresponse_postings_text": "", "volume": + 1, "administrivia": true, "posting_address": "test@example.org", "scheme": + "http", "advertised": true, "autorespond_postings": "none", "request_address": + "test-request@example.org", "leave_address": "test-leave@example.org", "bounces_address": + "test-bounces@example.org", "first_strip_reply_to": false, "next_digest_number": + 1, "filter_content": false, "post_id": 1, "autorespond_owner": "none", "display_name": + "Test", "send_welcome_message": true, "admin_immed_notify": true, "last_post_at": + null, "reply_goes_to_list": "no_munging", "acceptable_aliases": [], "subject_prefix": + "[Test] ", "web_host": "example.org", "autoresponse_owner_text": "", "admin_notify_mchanges": + false, "default_nonmember_action": "hold", "allow_list_posts": true, "collapse_alternatives": + true, "autoresponse_grace_period": "90d", "welcome_message_uri": "mailman:///welcome.txt", + "fqdn_listname": "test@example.org", "default_member_action": "defer", "join_address": + "test-join@example.org", "owner_address": "test-owner@example.org", "autorespond_requests": + "none", "subscription_policy": "confirm", "mail_host": "example.org", "http_etag": + "\"3af440a0bd18adbb9b3bb1557f5386eabacd806f\"", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "digest_size_threshold": 30.0, "description": "", + "anonymous_list": false, "convert_html_to_plaintext": false, "no_reply_address": + "noreply@example.org", "list_name": "test", "digest_last_sent_at": null, "include_rfc2369_headers": + true, "autoresponse_request_text": "", "created_at": "2015-04-16T12:01:08.337564", + "archive_policy": "public"}'} headers: content-length: ['1627'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:08 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -204,30 +202,30 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test@example.org/config response: - body: {string: !!python/unicode '{"request_address": "test-request@example.org", - "web_host": "example.org", "digest_last_sent_at": null, "posting_address": - "test@example.org", "reply_to_address": "", "digest_size_threshold": 30.0, - "admin_notify_mchanges": false, "scheme": "http", "autorespond_owner": "none", - "send_welcome_message": true, "fqdn_listname": "test@example.org", "http_etag": - "\"878451fcdc59291f9e13c6f12134bdc400d45b97\"", "admin_immed_notify": true, - "owner_address": "test-owner@example.org", "convert_html_to_plaintext": false, - "autorespond_requests": "none", "list_name": "test", "autoresponse_postings_text": - "", "post_id": 1, "volume": 1, "include_rfc2369_headers": true, "first_strip_reply_to": - false, "subscription_policy": "confirm", "description": "", "default_member_action": - "defer", "bounces_address": "test-bounces@example.org", "join_address": "test-join@example.org", - "autoresponse_grace_period": "90d", "anonymous_list": false, "default_nonmember_action": - "hold", "acceptable_aliases": [], "advertised": true, "display_name": "Test", - "posting_pipeline": "default-posting-pipeline", "filter_content": false, "last_post_at": - null, "leave_address": "test-leave@example.org", "no_reply_address": "noreply@example.org", - "created_at": "2015-04-15T20:00:46.186892", "subject_prefix": "[Test] ", "autoresponse_request_text": - "", "administrivia": true, "reply_goes_to_list": "no_munging", "next_digest_number": - 1, "collapse_alternatives": true, "archive_policy": "public", "welcome_message_uri": - "mailman:///welcome.txt", "mail_host": "example.org", "autoresponse_owner_text": - "", "allow_list_posts": true, "autorespond_postings": "none"}'} + body: {string: !!python/unicode '{"autoresponse_postings_text": "", "volume": + 1, "administrivia": true, "posting_address": "test@example.org", "scheme": + "http", "advertised": true, "autorespond_postings": "none", "request_address": + "test-request@example.org", "leave_address": "test-leave@example.org", "bounces_address": + "test-bounces@example.org", "first_strip_reply_to": false, "next_digest_number": + 1, "filter_content": false, "post_id": 1, "autorespond_owner": "none", "display_name": + "Test", "send_welcome_message": true, "admin_immed_notify": true, "last_post_at": + null, "reply_goes_to_list": "no_munging", "acceptable_aliases": [], "subject_prefix": + "[Test] ", "web_host": "example.org", "autoresponse_owner_text": "", "admin_notify_mchanges": + false, "default_nonmember_action": "hold", "allow_list_posts": true, "collapse_alternatives": + true, "autoresponse_grace_period": "90d", "welcome_message_uri": "mailman:///welcome.txt", + "fqdn_listname": "test@example.org", "default_member_action": "defer", "join_address": + "test-join@example.org", "owner_address": "test-owner@example.org", "autorespond_requests": + "none", "subscription_policy": "confirm", "mail_host": "example.org", "http_etag": + "\"3af440a0bd18adbb9b3bb1557f5386eabacd806f\"", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "digest_size_threshold": 30.0, "description": "", + "anonymous_list": false, "convert_html_to_plaintext": false, "no_reply_address": + "noreply@example.org", "list_name": "test", "digest_last_sent_at": null, "include_rfc2369_headers": + true, "autoresponse_request_text": "", "created_at": "2015-04-16T12:01:08.337564", + "archive_policy": "public"}'} headers: content-length: ['1627'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:08 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -239,30 +237,30 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test@example.org/config response: - body: {string: !!python/unicode '{"request_address": "test-request@example.org", - "web_host": "example.org", "digest_last_sent_at": null, "posting_address": - "test@example.org", "reply_to_address": "", "digest_size_threshold": 30.0, - "admin_notify_mchanges": false, "scheme": "http", "autorespond_owner": "none", - "send_welcome_message": true, "fqdn_listname": "test@example.org", "http_etag": - "\"878451fcdc59291f9e13c6f12134bdc400d45b97\"", "admin_immed_notify": true, - "owner_address": "test-owner@example.org", "convert_html_to_plaintext": false, - "autorespond_requests": "none", "list_name": "test", "autoresponse_postings_text": - "", "post_id": 1, "volume": 1, "include_rfc2369_headers": true, "first_strip_reply_to": - false, "subscription_policy": "confirm", "description": "", "default_member_action": - "defer", "bounces_address": "test-bounces@example.org", "join_address": "test-join@example.org", - "autoresponse_grace_period": "90d", "anonymous_list": false, "default_nonmember_action": - "hold", "acceptable_aliases": [], "advertised": true, "display_name": "Test", - "posting_pipeline": "default-posting-pipeline", "filter_content": false, "last_post_at": - null, "leave_address": "test-leave@example.org", "no_reply_address": "noreply@example.org", - "created_at": "2015-04-15T20:00:46.186892", "subject_prefix": "[Test] ", "autoresponse_request_text": - "", "administrivia": true, "reply_goes_to_list": "no_munging", "next_digest_number": - 1, "collapse_alternatives": true, "archive_policy": "public", "welcome_message_uri": - "mailman:///welcome.txt", "mail_host": "example.org", "autoresponse_owner_text": - "", "allow_list_posts": true, "autorespond_postings": "none"}'} + body: {string: !!python/unicode '{"autoresponse_postings_text": "", "volume": + 1, "administrivia": true, "posting_address": "test@example.org", "scheme": + "http", "advertised": true, "autorespond_postings": "none", "request_address": + "test-request@example.org", "leave_address": "test-leave@example.org", "bounces_address": + "test-bounces@example.org", "first_strip_reply_to": false, "next_digest_number": + 1, "filter_content": false, "post_id": 1, "autorespond_owner": "none", "display_name": + "Test", "send_welcome_message": true, "admin_immed_notify": true, "last_post_at": + null, "reply_goes_to_list": "no_munging", "acceptable_aliases": [], "subject_prefix": + "[Test] ", "web_host": "example.org", "autoresponse_owner_text": "", "admin_notify_mchanges": + false, "default_nonmember_action": "hold", "allow_list_posts": true, "collapse_alternatives": + true, "autoresponse_grace_period": "90d", "welcome_message_uri": "mailman:///welcome.txt", + "fqdn_listname": "test@example.org", "default_member_action": "defer", "join_address": + "test-join@example.org", "owner_address": "test-owner@example.org", "autorespond_requests": + "none", "subscription_policy": "confirm", "mail_host": "example.org", "http_etag": + "\"3af440a0bd18adbb9b3bb1557f5386eabacd806f\"", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "digest_size_threshold": 30.0, "description": "", + "anonymous_list": false, "convert_html_to_plaintext": false, "no_reply_address": + "noreply@example.org", "list_name": "test", "digest_last_sent_at": null, "include_rfc2369_headers": + true, "autoresponse_request_text": "", "created_at": "2015-04-16T12:01:08.337564", + "archive_policy": "public"}'} headers: content-length: ['1627'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:08 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -277,7 +275,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:08 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -292,7 +290,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:08 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -308,7 +306,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:08 GMT'] location: ['http://localhost:9001/3.0/domains/example.org'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -321,13 +319,13 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.org response: - body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.org", - "base_url": "http://example.org", "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", - "mail_host": "example.org", "description": null, "url_host": "example.org"}'} + body: {string: !!python/unicode '{"mail_host": "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org", + "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", "base_url": "http://example.org", + "url_host": "example.org", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:08 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -343,7 +341,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:09 GMT'] location: ['http://localhost:9001/3.0/lists/test.example.org'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -356,15 +354,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test@example.org response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "list_id": - "test.example.org", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + body: {string: !!python/unicode '{"mail_host": "example.org", "list_id": "test.example.org", + "volume": 1, "display_name": "Test", "member_count": 0, "fqdn_listname": "test@example.org", "list_name": "test", "self_link": "http://localhost:9001/3.0/lists/test.example.org", - "volume": 1, "display_name": "Test", "mail_host": "example.org", "member_count": - 0}'} + "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} headers: content-length: ['299'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:09 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -376,15 +373,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test@example.org response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "list_id": - "test.example.org", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + body: {string: !!python/unicode '{"mail_host": "example.org", "list_id": "test.example.org", + "volume": 1, "display_name": "Test", "member_count": 0, "fqdn_listname": "test@example.org", "list_name": "test", "self_link": "http://localhost:9001/3.0/lists/test.example.org", - "volume": 1, "display_name": "Test", "mail_host": "example.org", "member_count": - 0}'} + "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} headers: content-length: ['299'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:46 GMT'] + date: ['Thu, 16 Apr 2015 12:01:09 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -399,7 +395,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01:09 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -414,7 +410,2099 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01:09 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:32 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.0b2'] + 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": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", + "self_link": "http://localhost:9001/3.0/domains/example.org", "url_host": + "example.org", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19:32 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:32 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "http_etag": + "\"bdbe0068d985e63808436177de1063200d586b0d\"", "volume": 1, "list_name": + "test", "mail_host": "example.org", "list_id": "test.example.org", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/test.example.org", "display_name": + "Test"}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "http_etag": + "\"bdbe0068d985e63808436177de1063200d586b0d\"", "volume": 1, "list_name": + "test", "mail_host": "example.org", "list_id": "test.example.org", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/test.example.org", "display_name": + "Test"}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "autoresponse_grace_period": + "90d", "request_address": "test-request@example.org", "no_reply_address": + "noreply@example.org", "welcome_message_uri": "mailman:///welcome.txt", "bounces_address": + "test-bounces@example.org", "list_name": "test", "anonymous_list": false, + "leave_address": "test-leave@example.org", "administrivia": true, "autorespond_owner": + "none", "next_digest_number": 1, "join_address": "test-join@example.org", + "display_name": "Test", "collapse_alternatives": true, "allow_list_posts": + true, "admin_notify_mchanges": false, "reply_to_address": "", "digest_last_sent_at": + null, "post_id": 1, "volume": 1, "first_strip_reply_to": false, "posting_pipeline": + "default-posting-pipeline", "acceptable_aliases": [], "http_etag": "\"8e18570cb3857ac97ea1ae2a14d2a07d8215d685\"", + "created_at": "2015-04-16T16:19:32.713592", "autorespond_requests": "none", + "advertised": true, "autoresponse_owner_text": "", "reply_goes_to_list": "no_munging", + "web_host": "example.org", "subscription_policy": "confirm", "autoresponse_request_text": + "", "description": "", "autorespond_postings": "none", "filter_content": false, + "owner_address": "test-owner@example.org", "default_member_action": "defer", + "archive_policy": "public", "digest_size_threshold": 30.0, "posting_address": + "test@example.org", "last_post_at": null, "autoresponse_postings_text": "", + "mail_host": "example.org", "include_rfc2369_headers": true, "subject_prefix": + "[Test] ", "send_welcome_message": true, "scheme": "http", "admin_immed_notify": + true, "default_nonmember_action": "hold", "convert_html_to_plaintext": false}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "autoresponse_grace_period": + "90d", "request_address": "test-request@example.org", "no_reply_address": + "noreply@example.org", "welcome_message_uri": "mailman:///welcome.txt", "bounces_address": + "test-bounces@example.org", "list_name": "test", "anonymous_list": false, + "leave_address": "test-leave@example.org", "administrivia": true, "autorespond_owner": + "none", "next_digest_number": 1, "join_address": "test-join@example.org", + "display_name": "Test", "collapse_alternatives": true, "allow_list_posts": + true, "admin_notify_mchanges": false, "reply_to_address": "", "digest_last_sent_at": + null, "post_id": 1, "volume": 1, "first_strip_reply_to": false, "posting_pipeline": + "default-posting-pipeline", "acceptable_aliases": [], "http_etag": "\"8e18570cb3857ac97ea1ae2a14d2a07d8215d685\"", + "created_at": "2015-04-16T16:19:32.713592", "autorespond_requests": "none", + "advertised": true, "autoresponse_owner_text": "", "reply_goes_to_list": "no_munging", + "web_host": "example.org", "subscription_policy": "confirm", "autoresponse_request_text": + "", "description": "", "autorespond_postings": "none", "filter_content": false, + "owner_address": "test-owner@example.org", "default_member_action": "defer", + "archive_policy": "public", "digest_size_threshold": 30.0, "posting_address": + "test@example.org", "last_post_at": null, "autoresponse_postings_text": "", + "mail_host": "example.org", "include_rfc2369_headers": true, "subject_prefix": + "[Test] ", "send_welcome_message": true, "scheme": "http", "admin_immed_notify": + true, "default_nonmember_action": "hold", "convert_html_to_plaintext": false}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "autoresponse_grace_period": + "90d", "request_address": "test-request@example.org", "no_reply_address": + "noreply@example.org", "welcome_message_uri": "mailman:///welcome.txt", "bounces_address": + "test-bounces@example.org", "list_name": "test", "anonymous_list": false, + "leave_address": "test-leave@example.org", "administrivia": true, "autorespond_owner": + "none", "next_digest_number": 1, "join_address": "test-join@example.org", + "display_name": "Test", "collapse_alternatives": true, "allow_list_posts": + true, "admin_notify_mchanges": false, "reply_to_address": "", "digest_last_sent_at": + null, "post_id": 1, "volume": 1, "first_strip_reply_to": false, "posting_pipeline": + "default-posting-pipeline", "acceptable_aliases": [], "http_etag": "\"8e18570cb3857ac97ea1ae2a14d2a07d8215d685\"", + "created_at": "2015-04-16T16:19:32.713592", "autorespond_requests": "none", + "advertised": true, "autoresponse_owner_text": "", "reply_goes_to_list": "no_munging", + "web_host": "example.org", "subscription_policy": "confirm", "autoresponse_request_text": + "", "description": "", "autorespond_postings": "none", "filter_content": false, + "owner_address": "test-owner@example.org", "default_member_action": "defer", + "archive_policy": "public", "digest_size_threshold": 30.0, "posting_address": + "test@example.org", "last_post_at": null, "autoresponse_postings_text": "", + "mail_host": "example.org", "include_rfc2369_headers": true, "subject_prefix": + "[Test] ", "send_welcome_message": true, "scheme": "http", "admin_immed_notify": + true, "default_nonmember_action": "hold", "convert_html_to_plaintext": false}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "autoresponse_grace_period": + "90d", "request_address": "test-request@example.org", "no_reply_address": + "noreply@example.org", "welcome_message_uri": "mailman:///welcome.txt", "bounces_address": + "test-bounces@example.org", "list_name": "test", "anonymous_list": false, + "leave_address": "test-leave@example.org", "administrivia": true, "autorespond_owner": + "none", "next_digest_number": 1, "join_address": "test-join@example.org", + "display_name": "Test", "collapse_alternatives": true, "allow_list_posts": + true, "admin_notify_mchanges": false, "reply_to_address": "", "digest_last_sent_at": + null, "post_id": 1, "volume": 1, "first_strip_reply_to": false, "posting_pipeline": + "default-posting-pipeline", "acceptable_aliases": [], "http_etag": "\"8e18570cb3857ac97ea1ae2a14d2a07d8215d685\"", + "created_at": "2015-04-16T16:19:32.713592", "autorespond_requests": "none", + "advertised": true, "autoresponse_owner_text": "", "reply_goes_to_list": "no_munging", + "web_host": "example.org", "subscription_policy": "confirm", "autoresponse_request_text": + "", "description": "", "autorespond_postings": "none", "filter_content": false, + "owner_address": "test-owner@example.org", "default_member_action": "defer", + "archive_policy": "public", "digest_size_threshold": 30.0, "posting_address": + "test@example.org", "last_post_at": null, "autoresponse_postings_text": "", + "mail_host": "example.org", "include_rfc2369_headers": true, "subject_prefix": + "[Test] ", "send_welcome_message": true, "scheme": "http", "admin_immed_notify": + true, "default_nonmember_action": "hold", "convert_html_to_plaintext": false}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:33 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:33 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.0b2'] + 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": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", + "self_link": "http://localhost:9001/3.0/domains/example.org", "url_host": + "example.org", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19:33 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:33 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "http_etag": + "\"bdbe0068d985e63808436177de1063200d586b0d\"", "volume": 1, "list_name": + "test", "mail_host": "example.org", "list_id": "test.example.org", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/test.example.org", "display_name": + "Test"}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "http_etag": + "\"bdbe0068d985e63808436177de1063200d586b0d\"", "volume": 1, "list_name": + "test", "mail_host": "example.org", "list_id": "test.example.org", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/test.example.org", "display_name": + "Test"}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:34 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:34 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:11 GMT'] + location: ['http://localhost:9001/3.0/domains/example.org'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", + "url_host": "example.org", "base_url": "http://example.org", "mail_host": + "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:11 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=test%40example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:12 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "test@example.org", + "list_name": "test", "list_id": "test.example.org", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + "display_name": "Test", "mail_host": "example.org", "self_link": "http://localhost:9001/3.0/lists/test.example.org", + "member_count": 0}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "test@example.org", + "list_name": "test", "list_id": "test.example.org", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + "display_name": "Test", "mail_host": "example.org", "self_link": "http://localhost:9001/3.0/lists/test.example.org", + "member_count": 0}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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: ['Thu, 16 Apr 2015 16:40:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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: ['Thu, 16 Apr 2015 16:40:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"scheme": "http", "digest_last_sent_at": null, + "autorespond_requests": "none", "http_etag": "\"786bbc7a8260c237c2a688e6add3cecb5ce2d50c\"", + "include_rfc2369_headers": true, "archive_policy": "public", "list_name": + "test", "leave_address": "test-leave@example.org", "anonymous_list": false, + "join_address": "test-join@example.org", "posting_pipeline": "default-posting-pipeline", + "posting_address": "test@example.org", "autoresponse_postings_text": "", "autoresponse_request_text": + "", "autorespond_postings": "none", "post_id": 1, "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_owner_text": "", "subject_prefix": "[Test] ", "volume": 1, "fqdn_listname": + "test@example.org", "subscription_policy": "confirm", "bounces_address": "test-bounces@example.org", + "first_strip_reply_to": false, "reply_goes_to_list": "no_munging", "advertised": + true, "acceptable_aliases": [], "last_post_at": null, "next_digest_number": + 1, "reply_to_address": "", "web_host": "example.org", "autoresponse_grace_period": + "90d", "admin_notify_mchanges": false, "send_welcome_message": true, "display_name": + "Test", "administrivia": true, "collapse_alternatives": true, "default_nonmember_action": + "hold", "owner_address": "test-owner@example.org", "request_address": "test-request@example.org", + "default_member_action": "defer", "digest_size_threshold": 30.0, "created_at": + "2015-04-16T16:40:11.993448", "no_reply_address": "noreply@example.org", "description": + "", "autorespond_owner": "none", "filter_content": false, "convert_html_to_plaintext": + false, "allow_list_posts": true, "mail_host": "example.org", "admin_immed_notify": + true}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"scheme": "http", "digest_last_sent_at": null, + "autorespond_requests": "none", "http_etag": "\"786bbc7a8260c237c2a688e6add3cecb5ce2d50c\"", + "include_rfc2369_headers": true, "archive_policy": "public", "list_name": + "test", "leave_address": "test-leave@example.org", "anonymous_list": false, + "join_address": "test-join@example.org", "posting_pipeline": "default-posting-pipeline", + "posting_address": "test@example.org", "autoresponse_postings_text": "", "autoresponse_request_text": + "", "autorespond_postings": "none", "post_id": 1, "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_owner_text": "", "subject_prefix": "[Test] ", "volume": 1, "fqdn_listname": + "test@example.org", "subscription_policy": "confirm", "bounces_address": "test-bounces@example.org", + "first_strip_reply_to": false, "reply_goes_to_list": "no_munging", "advertised": + true, "acceptable_aliases": [], "last_post_at": null, "next_digest_number": + 1, "reply_to_address": "", "web_host": "example.org", "autoresponse_grace_period": + "90d", "admin_notify_mchanges": false, "send_welcome_message": true, "display_name": + "Test", "administrivia": true, "collapse_alternatives": true, "default_nonmember_action": + "hold", "owner_address": "test-owner@example.org", "request_address": "test-request@example.org", + "default_member_action": "defer", "digest_size_threshold": 30.0, "created_at": + "2015-04-16T16:40:11.993448", "no_reply_address": "noreply@example.org", "description": + "", "autorespond_owner": "none", "filter_content": false, "convert_html_to_plaintext": + false, "allow_list_posts": true, "mail_host": "example.org", "admin_immed_notify": + true}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"scheme": "http", "digest_last_sent_at": null, + "autorespond_requests": "none", "http_etag": "\"786bbc7a8260c237c2a688e6add3cecb5ce2d50c\"", + "include_rfc2369_headers": true, "archive_policy": "public", "list_name": + "test", "leave_address": "test-leave@example.org", "anonymous_list": false, + "join_address": "test-join@example.org", "posting_pipeline": "default-posting-pipeline", + "posting_address": "test@example.org", "autoresponse_postings_text": "", "autoresponse_request_text": + "", "autorespond_postings": "none", "post_id": 1, "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_owner_text": "", "subject_prefix": "[Test] ", "volume": 1, "fqdn_listname": + "test@example.org", "subscription_policy": "confirm", "bounces_address": "test-bounces@example.org", + "first_strip_reply_to": false, "reply_goes_to_list": "no_munging", "advertised": + true, "acceptable_aliases": [], "last_post_at": null, "next_digest_number": + 1, "reply_to_address": "", "web_host": "example.org", "autoresponse_grace_period": + "90d", "admin_notify_mchanges": false, "send_welcome_message": true, "display_name": + "Test", "administrivia": true, "collapse_alternatives": true, "default_nonmember_action": + "hold", "owner_address": "test-owner@example.org", "request_address": "test-request@example.org", + "default_member_action": "defer", "digest_size_threshold": 30.0, "created_at": + "2015-04-16T16:40:11.993448", "no_reply_address": "noreply@example.org", "description": + "", "autorespond_owner": "none", "filter_content": false, "convert_html_to_plaintext": + false, "allow_list_posts": true, "mail_host": "example.org", "admin_immed_notify": + true}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"scheme": "http", "digest_last_sent_at": null, + "autorespond_requests": "none", "http_etag": "\"786bbc7a8260c237c2a688e6add3cecb5ce2d50c\"", + "include_rfc2369_headers": true, "archive_policy": "public", "list_name": + "test", "leave_address": "test-leave@example.org", "anonymous_list": false, + "join_address": "test-join@example.org", "posting_pipeline": "default-posting-pipeline", + "posting_address": "test@example.org", "autoresponse_postings_text": "", "autoresponse_request_text": + "", "autorespond_postings": "none", "post_id": 1, "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_owner_text": "", "subject_prefix": "[Test] ", "volume": 1, "fqdn_listname": + "test@example.org", "subscription_policy": "confirm", "bounces_address": "test-bounces@example.org", + "first_strip_reply_to": false, "reply_goes_to_list": "no_munging", "advertised": + true, "acceptable_aliases": [], "last_post_at": null, "next_digest_number": + 1, "reply_to_address": "", "web_host": "example.org", "autoresponse_grace_period": + "90d", "admin_notify_mchanges": false, "send_welcome_message": true, "display_name": + "Test", "administrivia": true, "collapse_alternatives": true, "default_nonmember_action": + "hold", "owner_address": "test-owner@example.org", "request_address": "test-request@example.org", + "default_member_action": "defer", "digest_size_threshold": 30.0, "created_at": + "2015-04-16T16:40:11.993448", "no_reply_address": "noreply@example.org", "description": + "", "autorespond_owner": "none", "filter_content": false, "convert_html_to_plaintext": + false, "allow_list_posts": true, "mail_host": "example.org", "admin_immed_notify": + true}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:12 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:12 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:12 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:13 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", + "url_host": "example.org", "base_url": "http://example.org", "mail_host": + "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:13 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:13 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "test@example.org", + "list_name": "test", "list_id": "test.example.org", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + "display_name": "Test", "mail_host": "example.org", "self_link": "http://localhost:9001/3.0/lists/test.example.org", + "member_count": 0}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "test@example.org", + "list_name": "test", "list_id": "test.example.org", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + "display_name": "Test", "mail_host": "example.org", "self_link": "http://localhost:9001/3.0/lists/test.example.org", + "member_count": 0}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:14 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:14 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: mail_host=example.org + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:20 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "url_host": "example.org", + "base_url": "http://example.org", "self_link": "http://localhost:9001/3.0/domains/example.org", + "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:20 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:20 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "list_id": + "test.example.org", "list_name": "test", "volume": 1, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + "member_count": 0, "mail_host": "example.org", "display_name": "Test", "self_link": + "http://localhost:9001/3.0/lists/test.example.org"}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "list_id": + "test.example.org", "list_name": "test", "volume": 1, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + "member_count": 0, "mail_host": "example.org", "display_name": "Test", "self_link": + "http://localhost:9001/3.0/lists/test.example.org"}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"convert_html_to_plaintext": false, "owner_address": + "test-owner@example.org", "autorespond_requests": "none", "anonymous_list": + false, "admin_notify_mchanges": false, "autoresponse_request_text": "", "http_etag": + "\"08f735b750126c70791fcc29f34261858c1a7bd9\"", "administrivia": true, "join_address": + "test-join@example.org", "digest_size_threshold": 30.0, "next_digest_number": + 1, "request_address": "test-request@example.org", "collapse_alternatives": + true, "posting_address": "test@example.org", "allow_list_posts": true, "last_post_at": + null, "post_id": 1, "volume": 1, "autoresponse_grace_period": "90d", "reply_to_address": + "", "advertised": true, "autoresponse_owner_text": "", "subscription_policy": + "confirm", "scheme": "http", "display_name": "Test", "default_nonmember_action": + "hold", "bounces_address": "test-bounces@example.org", "acceptable_aliases": + [], "filter_content": false, "fqdn_listname": "test@example.org", "welcome_message_uri": + "mailman:///welcome.txt", "send_welcome_message": true, "list_name": "test", + "first_strip_reply_to": false, "autorespond_owner": "none", "reply_goes_to_list": + "no_munging", "digest_last_sent_at": null, "leave_address": "test-leave@example.org", + "description": "", "archive_policy": "public", "subject_prefix": "[Test] ", + "autoresponse_postings_text": "", "admin_immed_notify": true, "web_host": + "example.org", "mail_host": "example.org", "autorespond_postings": "none", + "no_reply_address": "noreply@example.org", "include_rfc2369_headers": true, + "default_member_action": "defer", "posting_pipeline": "default-posting-pipeline", + "created_at": "2015-04-16T16:42:20.085455"}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"convert_html_to_plaintext": false, "owner_address": + "test-owner@example.org", "autorespond_requests": "none", "anonymous_list": + false, "admin_notify_mchanges": false, "autoresponse_request_text": "", "http_etag": + "\"08f735b750126c70791fcc29f34261858c1a7bd9\"", "administrivia": true, "join_address": + "test-join@example.org", "digest_size_threshold": 30.0, "next_digest_number": + 1, "request_address": "test-request@example.org", "collapse_alternatives": + true, "posting_address": "test@example.org", "allow_list_posts": true, "last_post_at": + null, "post_id": 1, "volume": 1, "autoresponse_grace_period": "90d", "reply_to_address": + "", "advertised": true, "autoresponse_owner_text": "", "subscription_policy": + "confirm", "scheme": "http", "display_name": "Test", "default_nonmember_action": + "hold", "bounces_address": "test-bounces@example.org", "acceptable_aliases": + [], "filter_content": false, "fqdn_listname": "test@example.org", "welcome_message_uri": + "mailman:///welcome.txt", "send_welcome_message": true, "list_name": "test", + "first_strip_reply_to": false, "autorespond_owner": "none", "reply_goes_to_list": + "no_munging", "digest_last_sent_at": null, "leave_address": "test-leave@example.org", + "description": "", "archive_policy": "public", "subject_prefix": "[Test] ", + "autoresponse_postings_text": "", "admin_immed_notify": true, "web_host": + "example.org", "mail_host": "example.org", "autorespond_postings": "none", + "no_reply_address": "noreply@example.org", "include_rfc2369_headers": true, + "default_member_action": "defer", "posting_pipeline": "default-posting-pipeline", + "created_at": "2015-04-16T16:42:20.085455"}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"convert_html_to_plaintext": false, "owner_address": + "test-owner@example.org", "autorespond_requests": "none", "anonymous_list": + false, "admin_notify_mchanges": false, "autoresponse_request_text": "", "http_etag": + "\"08f735b750126c70791fcc29f34261858c1a7bd9\"", "administrivia": true, "join_address": + "test-join@example.org", "digest_size_threshold": 30.0, "next_digest_number": + 1, "request_address": "test-request@example.org", "collapse_alternatives": + true, "posting_address": "test@example.org", "allow_list_posts": true, "last_post_at": + null, "post_id": 1, "volume": 1, "autoresponse_grace_period": "90d", "reply_to_address": + "", "advertised": true, "autoresponse_owner_text": "", "subscription_policy": + "confirm", "scheme": "http", "display_name": "Test", "default_nonmember_action": + "hold", "bounces_address": "test-bounces@example.org", "acceptable_aliases": + [], "filter_content": false, "fqdn_listname": "test@example.org", "welcome_message_uri": + "mailman:///welcome.txt", "send_welcome_message": true, "list_name": "test", + "first_strip_reply_to": false, "autorespond_owner": "none", "reply_goes_to_list": + "no_munging", "digest_last_sent_at": null, "leave_address": "test-leave@example.org", + "description": "", "archive_policy": "public", "subject_prefix": "[Test] ", + "autoresponse_postings_text": "", "admin_immed_notify": true, "web_host": + "example.org", "mail_host": "example.org", "autorespond_postings": "none", + "no_reply_address": "noreply@example.org", "include_rfc2369_headers": true, + "default_member_action": "defer", "posting_pipeline": "default-posting-pipeline", + "created_at": "2015-04-16T16:42:20.085455"}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"convert_html_to_plaintext": false, "owner_address": + "test-owner@example.org", "autorespond_requests": "none", "anonymous_list": + false, "admin_notify_mchanges": false, "autoresponse_request_text": "", "http_etag": + "\"08f735b750126c70791fcc29f34261858c1a7bd9\"", "administrivia": true, "join_address": + "test-join@example.org", "digest_size_threshold": 30.0, "next_digest_number": + 1, "request_address": "test-request@example.org", "collapse_alternatives": + true, "posting_address": "test@example.org", "allow_list_posts": true, "last_post_at": + null, "post_id": 1, "volume": 1, "autoresponse_grace_period": "90d", "reply_to_address": + "", "advertised": true, "autoresponse_owner_text": "", "subscription_policy": + "confirm", "scheme": "http", "display_name": "Test", "default_nonmember_action": + "hold", "bounces_address": "test-bounces@example.org", "acceptable_aliases": + [], "filter_content": false, "fqdn_listname": "test@example.org", "welcome_message_uri": + "mailman:///welcome.txt", "send_welcome_message": true, "list_name": "test", + "first_strip_reply_to": false, "autorespond_owner": "none", "reply_goes_to_list": + "no_munging", "digest_last_sent_at": null, "leave_address": "test-leave@example.org", + "description": "", "archive_policy": "public", "subject_prefix": "[Test] ", + "autoresponse_postings_text": "", "admin_immed_notify": true, "web_host": + "example.org", "mail_host": "example.org", "autorespond_postings": "none", + "no_reply_address": "noreply@example.org", "include_rfc2369_headers": true, + "default_member_action": "defer", "posting_pipeline": "default-posting-pipeline", + "created_at": "2015-04-16T16:42:20.085455"}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:21 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:21 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:21 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "url_host": "example.org", + "base_url": "http://example.org", "self_link": "http://localhost:9001/3.0/domains/example.org", + "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42:21 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:21 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "list_id": + "test.example.org", "list_name": "test", "volume": 1, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + "member_count": 0, "mail_host": "example.org", "display_name": "Test", "self_link": + "http://localhost:9001/3.0/lists/test.example.org"}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "list_id": + "test.example.org", "list_name": "test", "volume": 1, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + "member_count": 0, "mail_host": "example.org", "display_name": "Test", "self_link": + "http://localhost:9001/3.0/lists/test.example.org"}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42:22 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:17 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "description": null, + "url_host": "example.org", "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", + "base_url": "http://example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:17 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:17 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "fqdn_listname": + "test@example.org", "display_name": "Test", "list_name": "test", "list_id": + "test.example.org", "volume": 1, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "member_count": + 0}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "fqdn_listname": + "test@example.org", "display_name": "Test", "list_name": "test", "list_id": + "test.example.org", "volume": 1, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "member_count": + 0}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test.example.org/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test.example.org/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "description": "", + "subscription_policy": "confirm", "display_name": "Test", "send_welcome_message": + true, "convert_html_to_plaintext": false, "leave_address": "test-leave@example.org", + "reply_goes_to_list": "no_munging", "default_member_action": "defer", "digest_size_threshold": + 30.0, "autorespond_owner": "none", "reply_to_address": "", "advertised": true, + "no_reply_address": "noreply@example.org", "autoresponse_grace_period": "90d", + "bounces_address": "test-bounces@example.org", "default_nonmember_action": + "hold", "autoresponse_owner_text": "", "owner_address": "test-owner@example.org", + "filter_content": false, "post_id": 1, "include_rfc2369_headers": true, "autorespond_requests": + "none", "join_address": "test-join@example.org", "next_digest_number": 1, + "web_host": "example.org", "admin_immed_notify": true, "allow_list_posts": + true, "digest_last_sent_at": null, "anonymous_list": false, "autorespond_postings": + "none", "collapse_alternatives": true, "scheme": "http", "http_etag": "\"f2482dd5572a2fbdc881e80cd08213d551eed6d5\"", + "subject_prefix": "[Test] ", "first_strip_reply_to": false, "acceptable_aliases": + [], "fqdn_listname": "test@example.org", "autoresponse_request_text": "", + "autoresponse_postings_text": "", "admin_notify_mchanges": false, "list_name": + "test", "last_post_at": null, "request_address": "test-request@example.org", + "archive_policy": "public", "welcome_message_uri": "mailman:///welcome.txt", + "volume": 1, "posting_address": "test@example.org", "created_at": "2015-04-16T16:44:17.261822", + "posting_pipeline": "default-posting-pipeline", "administrivia": true}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "description": "", + "subscription_policy": "confirm", "display_name": "Test", "send_welcome_message": + true, "convert_html_to_plaintext": false, "leave_address": "test-leave@example.org", + "reply_goes_to_list": "no_munging", "default_member_action": "defer", "digest_size_threshold": + 30.0, "autorespond_owner": "none", "reply_to_address": "", "advertised": true, + "no_reply_address": "noreply@example.org", "autoresponse_grace_period": "90d", + "bounces_address": "test-bounces@example.org", "default_nonmember_action": + "hold", "autoresponse_owner_text": "", "owner_address": "test-owner@example.org", + "filter_content": false, "post_id": 1, "include_rfc2369_headers": true, "autorespond_requests": + "none", "join_address": "test-join@example.org", "next_digest_number": 1, + "web_host": "example.org", "admin_immed_notify": true, "allow_list_posts": + true, "digest_last_sent_at": null, "anonymous_list": false, "autorespond_postings": + "none", "collapse_alternatives": true, "scheme": "http", "http_etag": "\"f2482dd5572a2fbdc881e80cd08213d551eed6d5\"", + "subject_prefix": "[Test] ", "first_strip_reply_to": false, "acceptable_aliases": + [], "fqdn_listname": "test@example.org", "autoresponse_request_text": "", + "autoresponse_postings_text": "", "admin_notify_mchanges": false, "list_name": + "test", "last_post_at": null, "request_address": "test-request@example.org", + "archive_policy": "public", "welcome_message_uri": "mailman:///welcome.txt", + "volume": 1, "posting_address": "test@example.org", "created_at": "2015-04-16T16:44:17.261822", + "posting_pipeline": "default-posting-pipeline", "administrivia": true}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "description": "", + "subscription_policy": "confirm", "display_name": "Test", "send_welcome_message": + true, "convert_html_to_plaintext": false, "leave_address": "test-leave@example.org", + "reply_goes_to_list": "no_munging", "default_member_action": "defer", "digest_size_threshold": + 30.0, "autorespond_owner": "none", "reply_to_address": "", "advertised": true, + "no_reply_address": "noreply@example.org", "autoresponse_grace_period": "90d", + "bounces_address": "test-bounces@example.org", "default_nonmember_action": + "hold", "autoresponse_owner_text": "", "owner_address": "test-owner@example.org", + "filter_content": false, "post_id": 1, "include_rfc2369_headers": true, "autorespond_requests": + "none", "join_address": "test-join@example.org", "next_digest_number": 1, + "web_host": "example.org", "admin_immed_notify": true, "allow_list_posts": + true, "digest_last_sent_at": null, "anonymous_list": false, "autorespond_postings": + "none", "collapse_alternatives": true, "scheme": "http", "http_etag": "\"f2482dd5572a2fbdc881e80cd08213d551eed6d5\"", + "subject_prefix": "[Test] ", "first_strip_reply_to": false, "acceptable_aliases": + [], "fqdn_listname": "test@example.org", "autoresponse_request_text": "", + "autoresponse_postings_text": "", "admin_notify_mchanges": false, "list_name": + "test", "last_post_at": null, "request_address": "test-request@example.org", + "archive_policy": "public", "welcome_message_uri": "mailman:///welcome.txt", + "volume": 1, "posting_address": "test@example.org", "created_at": "2015-04-16T16:44:17.261822", + "posting_pipeline": "default-posting-pipeline", "administrivia": true}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "description": "", + "subscription_policy": "confirm", "display_name": "Test", "send_welcome_message": + true, "convert_html_to_plaintext": false, "leave_address": "test-leave@example.org", + "reply_goes_to_list": "no_munging", "default_member_action": "defer", "digest_size_threshold": + 30.0, "autorespond_owner": "none", "reply_to_address": "", "advertised": true, + "no_reply_address": "noreply@example.org", "autoresponse_grace_period": "90d", + "bounces_address": "test-bounces@example.org", "default_nonmember_action": + "hold", "autoresponse_owner_text": "", "owner_address": "test-owner@example.org", + "filter_content": false, "post_id": 1, "include_rfc2369_headers": true, "autorespond_requests": + "none", "join_address": "test-join@example.org", "next_digest_number": 1, + "web_host": "example.org", "admin_immed_notify": true, "allow_list_posts": + true, "digest_last_sent_at": null, "anonymous_list": false, "autorespond_postings": + "none", "collapse_alternatives": true, "scheme": "http", "http_etag": "\"f2482dd5572a2fbdc881e80cd08213d551eed6d5\"", + "subject_prefix": "[Test] ", "first_strip_reply_to": false, "acceptable_aliases": + [], "fqdn_listname": "test@example.org", "autoresponse_request_text": "", + "autoresponse_postings_text": "", "admin_notify_mchanges": false, "list_name": + "test", "last_post_at": null, "request_address": "test-request@example.org", + "archive_policy": "public", "welcome_message_uri": "mailman:///welcome.txt", + "volume": 1, "posting_address": "test@example.org", "created_at": "2015-04-16T16:44:17.261822", + "posting_pipeline": "default-posting-pipeline", "administrivia": true}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:18 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:18 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:19 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "description": null, + "url_host": "example.org", "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", + "base_url": "http://example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44:19 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:19 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "fqdn_listname": + "test@example.org", "display_name": "Test", "list_name": "test", "list_id": + "test.example.org", "volume": 1, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "member_count": + 0}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "fqdn_listname": + "test@example.org", "display_name": "Test", "list_name": "test", "list_id": + "test.example.org", "volume": 1, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", + "self_link": "http://localhost:9001/3.0/lists/test.example.org", "member_count": + 0}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:20 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44:20 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:23 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "url_host": "example.org", + "description": null, "base_url": "http://example.org", "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", + "self_link": "http://localhost:9001/3.0/domains/example.org"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:23 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:23 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "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, "member_count": + 0, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "display_name": + "Test"}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "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, "member_count": + 0, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "display_name": + "Test"}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test.example.org/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: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test.example.org/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: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"digest_last_sent_at": null, "description": + "", "request_address": "test-request@example.org", "acceptable_aliases": [], + "autoresponse_grace_period": "90d", "autorespond_requests": "none", "volume": + 1, "archive_policy": "public", "autoresponse_owner_text": "", "join_address": + "test-join@example.org", "autoresponse_request_text": "", "default_member_action": + "defer", "bounces_address": "test-bounces@example.org", "convert_html_to_plaintext": + false, "owner_address": "test-owner@example.org", "last_post_at": null, "autoresponse_postings_text": + "", "post_id": 1, "no_reply_address": "noreply@example.org", "http_etag": + "\"4f4cf90f3a4ed12c26c3df9ba39a6e25fce42ef7\"", "scheme": "http", "web_host": + "example.org", "subject_prefix": "[Test] ", "next_digest_number": 1, "leave_address": + "test-leave@example.org", "include_rfc2369_headers": true, "send_welcome_message": + true, "welcome_message_uri": "mailman:///welcome.txt", "digest_size_threshold": + 30.0, "fqdn_listname": "test@example.org", "anonymous_list": false, "admin_notify_mchanges": + false, "administrivia": true, "first_strip_reply_to": false, "subscription_policy": + "confirm", "filter_content": false, "display_name": "Test", "autorespond_owner": + "none", "posting_address": "test@example.org", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "created_at": "2015-04-16T16:45:23.474794", "reply_goes_to_list": + "no_munging", "collapse_alternatives": true, "allow_list_posts": true, "list_name": + "test", "autorespond_postings": "none", "admin_immed_notify": true, "advertised": + true, "mail_host": "example.org", "default_nonmember_action": "hold"}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"digest_last_sent_at": null, "description": + "", "request_address": "test-request@example.org", "acceptable_aliases": [], + "autoresponse_grace_period": "90d", "autorespond_requests": "none", "volume": + 1, "archive_policy": "public", "autoresponse_owner_text": "", "join_address": + "test-join@example.org", "autoresponse_request_text": "", "default_member_action": + "defer", "bounces_address": "test-bounces@example.org", "convert_html_to_plaintext": + false, "owner_address": "test-owner@example.org", "last_post_at": null, "autoresponse_postings_text": + "", "post_id": 1, "no_reply_address": "noreply@example.org", "http_etag": + "\"4f4cf90f3a4ed12c26c3df9ba39a6e25fce42ef7\"", "scheme": "http", "web_host": + "example.org", "subject_prefix": "[Test] ", "next_digest_number": 1, "leave_address": + "test-leave@example.org", "include_rfc2369_headers": true, "send_welcome_message": + true, "welcome_message_uri": "mailman:///welcome.txt", "digest_size_threshold": + 30.0, "fqdn_listname": "test@example.org", "anonymous_list": false, "admin_notify_mchanges": + false, "administrivia": true, "first_strip_reply_to": false, "subscription_policy": + "confirm", "filter_content": false, "display_name": "Test", "autorespond_owner": + "none", "posting_address": "test@example.org", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "created_at": "2015-04-16T16:45:23.474794", "reply_goes_to_list": + "no_munging", "collapse_alternatives": true, "allow_list_posts": true, "list_name": + "test", "autorespond_postings": "none", "admin_immed_notify": true, "advertised": + true, "mail_host": "example.org", "default_nonmember_action": "hold"}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"digest_last_sent_at": null, "description": + "", "request_address": "test-request@example.org", "acceptable_aliases": [], + "autoresponse_grace_period": "90d", "autorespond_requests": "none", "volume": + 1, "archive_policy": "public", "autoresponse_owner_text": "", "join_address": + "test-join@example.org", "autoresponse_request_text": "", "default_member_action": + "defer", "bounces_address": "test-bounces@example.org", "convert_html_to_plaintext": + false, "owner_address": "test-owner@example.org", "last_post_at": null, "autoresponse_postings_text": + "", "post_id": 1, "no_reply_address": "noreply@example.org", "http_etag": + "\"4f4cf90f3a4ed12c26c3df9ba39a6e25fce42ef7\"", "scheme": "http", "web_host": + "example.org", "subject_prefix": "[Test] ", "next_digest_number": 1, "leave_address": + "test-leave@example.org", "include_rfc2369_headers": true, "send_welcome_message": + true, "welcome_message_uri": "mailman:///welcome.txt", "digest_size_threshold": + 30.0, "fqdn_listname": "test@example.org", "anonymous_list": false, "admin_notify_mchanges": + false, "administrivia": true, "first_strip_reply_to": false, "subscription_policy": + "confirm", "filter_content": false, "display_name": "Test", "autorespond_owner": + "none", "posting_address": "test@example.org", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "created_at": "2015-04-16T16:45:23.474794", "reply_goes_to_list": + "no_munging", "collapse_alternatives": true, "allow_list_posts": true, "list_name": + "test", "autorespond_postings": "none", "admin_immed_notify": true, "advertised": + true, "mail_host": "example.org", "default_nonmember_action": "hold"}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org/config + response: + body: {string: !!python/unicode '{"digest_last_sent_at": null, "description": + "", "request_address": "test-request@example.org", "acceptable_aliases": [], + "autoresponse_grace_period": "90d", "autorespond_requests": "none", "volume": + 1, "archive_policy": "public", "autoresponse_owner_text": "", "join_address": + "test-join@example.org", "autoresponse_request_text": "", "default_member_action": + "defer", "bounces_address": "test-bounces@example.org", "convert_html_to_plaintext": + false, "owner_address": "test-owner@example.org", "last_post_at": null, "autoresponse_postings_text": + "", "post_id": 1, "no_reply_address": "noreply@example.org", "http_etag": + "\"4f4cf90f3a4ed12c26c3df9ba39a6e25fce42ef7\"", "scheme": "http", "web_host": + "example.org", "subject_prefix": "[Test] ", "next_digest_number": 1, "leave_address": + "test-leave@example.org", "include_rfc2369_headers": true, "send_welcome_message": + true, "welcome_message_uri": "mailman:///welcome.txt", "digest_size_threshold": + 30.0, "fqdn_listname": "test@example.org", "anonymous_list": false, "admin_notify_mchanges": + false, "administrivia": true, "first_strip_reply_to": false, "subscription_policy": + "confirm", "filter_content": false, "display_name": "Test", "autorespond_owner": + "none", "posting_address": "test@example.org", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "created_at": "2015-04-16T16:45:23.474794", "reply_goes_to_list": + "no_munging", "collapse_alternatives": true, "allow_list_posts": true, "list_name": + "test", "autorespond_postings": "none", "admin_immed_notify": true, "advertised": + true, "mail_host": "example.org", "default_nonmember_action": "hold"}'} + headers: + content-length: ['1627'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:25 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "url_host": "example.org", + "description": null, "base_url": "http://example.org", "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", + "self_link": "http://localhost:9001/3.0/domains/example.org"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:26 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:26 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "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, "member_count": + 0, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "display_name": + "Test"}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode '{"mail_host": "example.org", "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, "member_count": + 0, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "display_name": + "Test"}'} + headers: + content-length: ['299'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/test@example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:27 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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/domains/example.org + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:27 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_summary.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_summary.yaml index 077d4d3..80e85eb 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_summary.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_summary.yaml @@ -13,7 +13,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01:09 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,13 +25,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01:09 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -43,13 +43,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01:09 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -65,7 +65,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01: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} @@ -78,15 +78,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01:09 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -103,7 +102,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01:09 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -120,7 +119,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01:09 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -137,7 +136,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01:09 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -149,30 +148,65 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com/config response: - body: {string: !!python/unicode '{"request_address": "foo-request@example.com", - "web_host": "example.com", "digest_last_sent_at": null, "posting_address": - "foo@example.com", "reply_to_address": "", "digest_size_threshold": 30.0, - "admin_notify_mchanges": false, "scheme": "http", "autorespond_owner": "none", - "send_welcome_message": true, "fqdn_listname": "foo@example.com", "http_etag": - "\"8a0be5d9bc8fe8bd7c109dbd54abdac8dfe87acc\"", "admin_immed_notify": true, - "owner_address": "foo-owner@example.com", "convert_html_to_plaintext": false, - "autorespond_requests": "none", "list_name": "foo", "autoresponse_postings_text": - "", "post_id": 1, "volume": 1, "include_rfc2369_headers": true, "first_strip_reply_to": - false, "subscription_policy": "confirm", "description": "", "default_member_action": - "defer", "bounces_address": "foo-bounces@example.com", "join_address": "foo-join@example.com", - "autoresponse_grace_period": "90d", "anonymous_list": false, "default_nonmember_action": - "hold", "acceptable_aliases": [], "advertised": true, "display_name": "Foo", - "posting_pipeline": "default-posting-pipeline", "filter_content": false, "last_post_at": - null, "leave_address": "foo-leave@example.com", "no_reply_address": "noreply@example.com", - "created_at": "2015-04-15T20:00:47.277419", "subject_prefix": "[Foo] ", "autoresponse_request_text": - "", "administrivia": true, "reply_goes_to_list": "no_munging", "next_digest_number": - 1, "collapse_alternatives": true, "archive_policy": "public", "welcome_message_uri": - "mailman:///welcome.txt", "mail_host": "example.com", "autoresponse_owner_text": - "", "allow_list_posts": true, "autorespond_postings": "none"}'} + body: {string: !!python/unicode '{"autoresponse_postings_text": "", "volume": + 1, "administrivia": true, "posting_address": "foo@example.com", "scheme": + "http", "advertised": true, "autorespond_postings": "none", "request_address": + "foo-request@example.com", "leave_address": "foo-leave@example.com", "bounces_address": + "foo-bounces@example.com", "first_strip_reply_to": false, "next_digest_number": + 1, "filter_content": false, "post_id": 1, "autorespond_owner": "none", "display_name": + "Foo", "send_welcome_message": true, "admin_immed_notify": true, "last_post_at": + null, "reply_goes_to_list": "no_munging", "acceptable_aliases": [], "subject_prefix": + "[Foo] ", "web_host": "example.com", "autoresponse_owner_text": "", "admin_notify_mchanges": + false, "default_nonmember_action": "hold", "allow_list_posts": true, "collapse_alternatives": + true, "autoresponse_grace_period": "90d", "welcome_message_uri": "mailman:///welcome.txt", + "fqdn_listname": "foo@example.com", "default_member_action": "defer", "join_address": + "foo-join@example.com", "owner_address": "foo-owner@example.com", "autorespond_requests": + "none", "subscription_policy": "confirm", "mail_host": "example.com", "http_etag": + "\"7e744bed7e11ebbe572ad9e52af5afa3ffe736e1\"", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "digest_size_threshold": 30.0, "description": "", + "anonymous_list": false, "convert_html_to_plaintext": false, "no_reply_address": + "noreply@example.com", "list_name": "foo", "digest_last_sent_at": null, "include_rfc2369_headers": + true, "autoresponse_request_text": "", "created_at": "2015-04-16T12:01:09.520557", + "archive_policy": "public"}'} headers: content-length: ['1617'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"autoresponse_postings_text": "", "volume": + 1, "administrivia": true, "posting_address": "foo@example.com", "scheme": + "http", "advertised": true, "autorespond_postings": "none", "request_address": + "foo-request@example.com", "leave_address": "foo-leave@example.com", "bounces_address": + "foo-bounces@example.com", "first_strip_reply_to": false, "next_digest_number": + 1, "filter_content": false, "post_id": 1, "autorespond_owner": "none", "display_name": + "Foo", "send_welcome_message": true, "admin_immed_notify": true, "last_post_at": + null, "reply_goes_to_list": "no_munging", "acceptable_aliases": [], "subject_prefix": + "[Foo] ", "web_host": "example.com", "autoresponse_owner_text": "", "admin_notify_mchanges": + false, "default_nonmember_action": "hold", "allow_list_posts": true, "collapse_alternatives": + true, "autoresponse_grace_period": "90d", "welcome_message_uri": "mailman:///welcome.txt", + "fqdn_listname": "foo@example.com", "default_member_action": "defer", "join_address": + "foo-join@example.com", "owner_address": "foo-owner@example.com", "autorespond_requests": + "none", "subscription_policy": "confirm", "mail_host": "example.com", "http_etag": + "\"7e744bed7e11ebbe572ad9e52af5afa3ffe736e1\"", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "digest_size_threshold": 30.0, "description": "", + "anonymous_list": false, "convert_html_to_plaintext": false, "no_reply_address": + "noreply@example.com", "list_name": "foo", "digest_last_sent_at": null, "include_rfc2369_headers": + true, "autoresponse_request_text": "", "created_at": "2015-04-16T12:01:09.520557", + "archive_policy": "public"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01:09 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -184,16 +218,16 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists response: - body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", - "entries": [{"fqdn_listname": "foo@example.com", "list_id": "foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_name": - "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "display_name": "Foo", "mail_host": "example.com", "member_count": 0}], - "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "list_id": + "foo.example.com", "volume": 1, "display_name": "Foo", "member_count": 0, + "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], "http_etag": + "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "start": 0, "total_size": + 1}'} headers: content-length: ['399'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01:09 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -205,15 +239,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01:09 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -228,7 +261,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01:09 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -245,7 +278,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01:09 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -257,13 +290,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -275,13 +308,13 @@ 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", - "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", - "mail_host": "example.com", "description": null, "url_host": "example.com"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "base_url": "http://example.com", + "url_host": "example.com", "description": null}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -297,7 +330,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01: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} @@ -310,15 +343,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -335,7 +367,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -347,30 +379,65 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com/config response: - body: {string: !!python/unicode '{"request_address": "foo-request@example.com", - "web_host": "example.com", "digest_last_sent_at": null, "posting_address": - "foo@example.com", "reply_to_address": "", "digest_size_threshold": 30.0, - "admin_notify_mchanges": false, "scheme": "http", "autorespond_owner": "none", - "send_welcome_message": true, "fqdn_listname": "foo@example.com", "http_etag": - "\"a327b7a2a7119d56914bec23068630a71f634847\"", "admin_immed_notify": true, - "owner_address": "foo-owner@example.com", "convert_html_to_plaintext": false, - "autorespond_requests": "none", "list_name": "foo", "autoresponse_postings_text": - "", "post_id": 1, "volume": 1, "include_rfc2369_headers": true, "first_strip_reply_to": - false, "subscription_policy": "confirm", "description": "", "default_member_action": - "defer", "bounces_address": "foo-bounces@example.com", "join_address": "foo-join@example.com", - "autoresponse_grace_period": "90d", "anonymous_list": false, "default_nonmember_action": - "hold", "acceptable_aliases": [], "advertised": true, "display_name": "Foo", - "posting_pipeline": "default-posting-pipeline", "filter_content": false, "last_post_at": - null, "leave_address": "foo-leave@example.com", "no_reply_address": "noreply@example.com", - "created_at": "2015-04-15T20:00:47.719111", "subject_prefix": "[Foo] ", "autoresponse_request_text": - "", "administrivia": true, "reply_goes_to_list": "no_munging", "next_digest_number": - 1, "collapse_alternatives": true, "archive_policy": "public", "welcome_message_uri": - "mailman:///welcome.txt", "mail_host": "example.com", "autoresponse_owner_text": - "", "allow_list_posts": true, "autorespond_postings": "none"}'} + body: {string: !!python/unicode '{"autoresponse_postings_text": "", "volume": + 1, "administrivia": true, "posting_address": "foo@example.com", "scheme": + "http", "advertised": true, "autorespond_postings": "none", "request_address": + "foo-request@example.com", "leave_address": "foo-leave@example.com", "bounces_address": + "foo-bounces@example.com", "first_strip_reply_to": false, "next_digest_number": + 1, "filter_content": false, "post_id": 1, "autorespond_owner": "none", "display_name": + "Foo", "send_welcome_message": true, "admin_immed_notify": true, "last_post_at": + null, "reply_goes_to_list": "no_munging", "acceptable_aliases": [], "subject_prefix": + "[Foo] ", "web_host": "example.com", "autoresponse_owner_text": "", "admin_notify_mchanges": + false, "default_nonmember_action": "hold", "allow_list_posts": true, "collapse_alternatives": + true, "autoresponse_grace_period": "90d", "welcome_message_uri": "mailman:///welcome.txt", + "fqdn_listname": "foo@example.com", "default_member_action": "defer", "join_address": + "foo-join@example.com", "owner_address": "foo-owner@example.com", "autorespond_requests": + "none", "subscription_policy": "confirm", "mail_host": "example.com", "http_etag": + "\"ab6bb5b81578f512ac4a4db8c4f47313591fe4a9\"", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "digest_size_threshold": 30.0, "description": "", + "anonymous_list": false, "convert_html_to_plaintext": false, "no_reply_address": + "noreply@example.com", "list_name": "foo", "digest_last_sent_at": null, "include_rfc2369_headers": + true, "autoresponse_request_text": "", "created_at": "2015-04-16T12:01:10.029654", + "archive_policy": "public"}'} headers: content-length: ['1617'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:47 GMT'] + date: ['Thu, 16 Apr 2015 12:01: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"autoresponse_postings_text": "", "volume": + 1, "administrivia": true, "posting_address": "foo@example.com", "scheme": + "http", "advertised": true, "autorespond_postings": "none", "request_address": + "foo-request@example.com", "leave_address": "foo-leave@example.com", "bounces_address": + "foo-bounces@example.com", "first_strip_reply_to": false, "next_digest_number": + 1, "filter_content": false, "post_id": 1, "autorespond_owner": "none", "display_name": + "Foo", "send_welcome_message": true, "admin_immed_notify": true, "last_post_at": + null, "reply_goes_to_list": "no_munging", "acceptable_aliases": [], "subject_prefix": + "[Foo] ", "web_host": "example.com", "autoresponse_owner_text": "", "admin_notify_mchanges": + false, "default_nonmember_action": "hold", "allow_list_posts": true, "collapse_alternatives": + true, "autoresponse_grace_period": "90d", "welcome_message_uri": "mailman:///welcome.txt", + "fqdn_listname": "foo@example.com", "default_member_action": "defer", "join_address": + "foo-join@example.com", "owner_address": "foo-owner@example.com", "autorespond_requests": + "none", "subscription_policy": "confirm", "mail_host": "example.com", "http_etag": + "\"ab6bb5b81578f512ac4a4db8c4f47313591fe4a9\"", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "digest_size_threshold": 30.0, "description": "", + "anonymous_list": false, "convert_html_to_plaintext": false, "no_reply_address": + "noreply@example.com", "list_name": "foo", "digest_last_sent_at": null, "include_rfc2369_headers": + true, "autoresponse_request_text": "", "created_at": "2015-04-16T12:01:10.029654", + "archive_policy": "public"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -382,16 +449,16 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists response: - body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", - "entries": [{"fqdn_listname": "foo@example.com", "list_id": "foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_name": - "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "display_name": "Foo", "mail_host": "example.com", "member_count": 0}], - "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "list_id": + "foo.example.com", "volume": 1, "display_name": "Foo", "member_count": 0, + "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], "http_etag": + "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "start": 0, "total_size": + 1}'} headers: content-length: ['399'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -403,15 +470,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": - "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "list_id": "foo.example.com", + "volume": 1, "display_name": "Foo", "member_count": 0, "fqdn_listname": "foo@example.com", "list_name": "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "display_name": "Foo", "mail_host": "example.com", "member_count": - 0}'} + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -426,7 +492,2513 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Wed, 15 Apr 2015 20:00:48 GMT'] + date: ['Thu, 16 Apr 2015 12:01:10 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19:34 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=foo%40example.com + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:34 GMT'] + location: ['http://localhost:9001/3.0/lists/foo.example.com'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "autoresponse_grace_period": + "90d", "request_address": "foo-request@example.com", "no_reply_address": "noreply@example.com", + "welcome_message_uri": "mailman:///welcome.txt", "bounces_address": "foo-bounces@example.com", + "list_name": "foo", "anonymous_list": false, "leave_address": "foo-leave@example.com", + "administrivia": true, "autorespond_owner": "none", "next_digest_number": + 1, "join_address": "foo-join@example.com", "display_name": "Foo", "collapse_alternatives": + true, "allow_list_posts": true, "admin_notify_mchanges": false, "reply_to_address": + "", "digest_last_sent_at": null, "post_id": 1, "volume": 1, "first_strip_reply_to": + false, "posting_pipeline": "default-posting-pipeline", "acceptable_aliases": + [], "http_etag": "\"626f830ed5eb14e88b1b4ce53c13f3b21bdbb91b\"", "created_at": + "2015-04-16T16:19:34.665090", "autorespond_requests": "none", "advertised": + true, "autoresponse_owner_text": "", "reply_goes_to_list": "no_munging", "web_host": + "example.com", "subscription_policy": "confirm", "autoresponse_request_text": + "", "description": "", "autorespond_postings": "none", "filter_content": false, + "owner_address": "foo-owner@example.com", "default_member_action": "defer", + "archive_policy": "public", "digest_size_threshold": 30.0, "posting_address": + "foo@example.com", "last_post_at": null, "autoresponse_postings_text": "", + "mail_host": "example.com", "include_rfc2369_headers": true, "subject_prefix": + "[Foo] ", "send_welcome_message": true, "scheme": "http", "admin_immed_notify": + true, "default_nonmember_action": "hold", "convert_html_to_plaintext": false}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "autoresponse_grace_period": + "90d", "request_address": "foo-request@example.com", "no_reply_address": "noreply@example.com", + "welcome_message_uri": "mailman:///welcome.txt", "bounces_address": "foo-bounces@example.com", + "list_name": "foo", "anonymous_list": false, "leave_address": "foo-leave@example.com", + "administrivia": true, "autorespond_owner": "none", "next_digest_number": + 1, "join_address": "foo-join@example.com", "display_name": "Foo", "collapse_alternatives": + true, "allow_list_posts": true, "admin_notify_mchanges": false, "reply_to_address": + "", "digest_last_sent_at": null, "post_id": 1, "volume": 1, "first_strip_reply_to": + false, "posting_pipeline": "default-posting-pipeline", "acceptable_aliases": + [], "http_etag": "\"626f830ed5eb14e88b1b4ce53c13f3b21bdbb91b\"", "created_at": + "2015-04-16T16:19:34.665090", "autorespond_requests": "none", "advertised": + true, "autoresponse_owner_text": "", "reply_goes_to_list": "no_munging", "web_host": + "example.com", "subscription_policy": "confirm", "autoresponse_request_text": + "", "description": "", "autorespond_postings": "none", "filter_content": false, + "owner_address": "foo-owner@example.com", "default_member_action": "defer", + "archive_policy": "public", "digest_size_threshold": 30.0, "posting_address": + "foo@example.com", "last_post_at": null, "autoresponse_postings_text": "", + "mail_host": "example.com", "include_rfc2369_headers": true, "subject_prefix": + "[Foo] ", "send_welcome_message": true, "scheme": "http", "admin_immed_notify": + true, "default_nonmember_action": "hold", "convert_html_to_plaintext": false}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "start": 0, "total_size": 1, "entries": [{"fqdn_listname": "foo@example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, + "list_name": "foo", "mail_host": "example.com", "list_id": "foo.example.com", + "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "display_name": "Foo"}]}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:35 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com", "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "autoresponse_grace_period": + "90d", "request_address": "foo-request@example.com", "no_reply_address": "noreply@example.com", + "welcome_message_uri": "mailman:///welcome.txt", "bounces_address": "foo-bounces@example.com", + "list_name": "foo", "anonymous_list": false, "leave_address": "foo-leave@example.com", + "administrivia": true, "autorespond_owner": "none", "next_digest_number": + 1, "join_address": "foo-join@example.com", "display_name": "Foo", "collapse_alternatives": + true, "allow_list_posts": true, "admin_notify_mchanges": false, "reply_to_address": + "", "digest_last_sent_at": null, "post_id": 1, "volume": 1, "first_strip_reply_to": + false, "posting_pipeline": "default-posting-pipeline", "acceptable_aliases": + [], "http_etag": "\"4f24a5f4830ec84109bd821904a33e6ea850eaff\"", "created_at": + "2015-04-16T16:19:35.654121", "autorespond_requests": "none", "advertised": + true, "autoresponse_owner_text": "", "reply_goes_to_list": "no_munging", "web_host": + "example.com", "subscription_policy": "confirm", "autoresponse_request_text": + "", "description": "", "autorespond_postings": "none", "filter_content": false, + "owner_address": "foo-owner@example.com", "default_member_action": "defer", + "archive_policy": "public", "digest_size_threshold": 30.0, "posting_address": + "foo@example.com", "last_post_at": null, "autoresponse_postings_text": "", + "mail_host": "example.com", "include_rfc2369_headers": true, "subject_prefix": + "[Foo] ", "send_welcome_message": true, "scheme": "http", "admin_immed_notify": + true, "default_nonmember_action": "hold", "convert_html_to_plaintext": false}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "autoresponse_grace_period": + "90d", "request_address": "foo-request@example.com", "no_reply_address": "noreply@example.com", + "welcome_message_uri": "mailman:///welcome.txt", "bounces_address": "foo-bounces@example.com", + "list_name": "foo", "anonymous_list": false, "leave_address": "foo-leave@example.com", + "administrivia": true, "autorespond_owner": "none", "next_digest_number": + 1, "join_address": "foo-join@example.com", "display_name": "Foo", "collapse_alternatives": + true, "allow_list_posts": true, "admin_notify_mchanges": false, "reply_to_address": + "", "digest_last_sent_at": null, "post_id": 1, "volume": 1, "first_strip_reply_to": + false, "posting_pipeline": "default-posting-pipeline", "acceptable_aliases": + [], "http_etag": "\"4f24a5f4830ec84109bd821904a33e6ea850eaff\"", "created_at": + "2015-04-16T16:19:35.654121", "autorespond_requests": "none", "advertised": + true, "autoresponse_owner_text": "", "reply_goes_to_list": "no_munging", "web_host": + "example.com", "subscription_policy": "confirm", "autoresponse_request_text": + "", "description": "", "autorespond_postings": "none", "filter_content": false, + "owner_address": "foo-owner@example.com", "default_member_action": "defer", + "archive_policy": "public", "digest_size_threshold": 30.0, "posting_address": + "foo@example.com", "last_post_at": null, "autoresponse_postings_text": "", + "mail_host": "example.com", "include_rfc2369_headers": true, "subject_prefix": + "[Foo] ", "send_welcome_message": true, "scheme": "http", "admin_immed_notify": + true, "default_nonmember_action": "hold", "convert_html_to_plaintext": false}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "start": 0, "total_size": 1, "entries": [{"fqdn_listname": "foo@example.com", + "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, + "list_name": "foo", "mail_host": "example.com", "list_id": "foo.example.com", + "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "display_name": "Foo"}]}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "volume": 1, "list_name": + "foo", "mail_host": "example.com", "list_id": "foo.example.com", "member_count": + 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:19: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:19:36 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40:14 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:14 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:14 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"scheme": "http", "digest_last_sent_at": null, + "autorespond_requests": "none", "http_etag": "\"632167dbc95afe88cb203ba3f0840efadfb9d3b7\"", + "include_rfc2369_headers": true, "archive_policy": "public", "list_name": + "foo", "leave_address": "foo-leave@example.com", "anonymous_list": false, + "join_address": "foo-join@example.com", "posting_pipeline": "default-posting-pipeline", + "posting_address": "foo@example.com", "autoresponse_postings_text": "", "autoresponse_request_text": + "", "autorespond_postings": "none", "post_id": 1, "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_owner_text": "", "subject_prefix": "[Foo] ", "volume": 1, "fqdn_listname": + "foo@example.com", "subscription_policy": "confirm", "bounces_address": "foo-bounces@example.com", + "first_strip_reply_to": false, "reply_goes_to_list": "no_munging", "advertised": + true, "acceptable_aliases": [], "last_post_at": null, "next_digest_number": + 1, "reply_to_address": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "admin_notify_mchanges": false, "send_welcome_message": true, "display_name": + "Foo", "administrivia": true, "collapse_alternatives": true, "default_nonmember_action": + "hold", "owner_address": "foo-owner@example.com", "request_address": "foo-request@example.com", + "default_member_action": "defer", "digest_size_threshold": 30.0, "created_at": + "2015-04-16T16:40:14.659771", "no_reply_address": "noreply@example.com", "description": + "", "autorespond_owner": "none", "filter_content": false, "convert_html_to_plaintext": + false, "allow_list_posts": true, "mail_host": "example.com", "admin_immed_notify": + true}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"scheme": "http", "digest_last_sent_at": null, + "autorespond_requests": "none", "http_etag": "\"632167dbc95afe88cb203ba3f0840efadfb9d3b7\"", + "include_rfc2369_headers": true, "archive_policy": "public", "list_name": + "foo", "leave_address": "foo-leave@example.com", "anonymous_list": false, + "join_address": "foo-join@example.com", "posting_pipeline": "default-posting-pipeline", + "posting_address": "foo@example.com", "autoresponse_postings_text": "", "autoresponse_request_text": + "", "autorespond_postings": "none", "post_id": 1, "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_owner_text": "", "subject_prefix": "[Foo] ", "volume": 1, "fqdn_listname": + "foo@example.com", "subscription_policy": "confirm", "bounces_address": "foo-bounces@example.com", + "first_strip_reply_to": false, "reply_goes_to_list": "no_munging", "advertised": + true, "acceptable_aliases": [], "last_post_at": null, "next_digest_number": + 1, "reply_to_address": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "admin_notify_mchanges": false, "send_welcome_message": true, "display_name": + "Foo", "administrivia": true, "collapse_alternatives": true, "default_nonmember_action": + "hold", "owner_address": "foo-owner@example.com", "request_address": "foo-request@example.com", + "default_member_action": "defer", "digest_size_threshold": 30.0, "created_at": + "2015-04-16T16:40:14.659771", "no_reply_address": "noreply@example.com", "description": + "", "autorespond_owner": "none", "filter_content": false, "convert_html_to_plaintext": + false, "allow_list_posts": true, "mail_host": "example.com", "admin_immed_notify": + true}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}], "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "total_size": 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:15 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:40:16 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:16 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "url_host": "example.com", "base_url": "http://example.com", "mail_host": + "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "description": null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:16 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:16 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:16 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + 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: ['Thu, 16 Apr 2015 16:40:16 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"scheme": "http", "digest_last_sent_at": null, + "autorespond_requests": "none", "http_etag": "\"2e21519a49562c0dcc0b867ad735df2e0b77cd33\"", + "include_rfc2369_headers": true, "archive_policy": "public", "list_name": + "foo", "leave_address": "foo-leave@example.com", "anonymous_list": false, + "join_address": "foo-join@example.com", "posting_pipeline": "default-posting-pipeline", + "posting_address": "foo@example.com", "autoresponse_postings_text": "", "autoresponse_request_text": + "", "autorespond_postings": "none", "post_id": 1, "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_owner_text": "", "subject_prefix": "[Foo] ", "volume": 1, "fqdn_listname": + "foo@example.com", "subscription_policy": "confirm", "bounces_address": "foo-bounces@example.com", + "first_strip_reply_to": false, "reply_goes_to_list": "no_munging", "advertised": + true, "acceptable_aliases": [], "last_post_at": null, "next_digest_number": + 1, "reply_to_address": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "admin_notify_mchanges": false, "send_welcome_message": true, "display_name": + "Foo", "administrivia": true, "collapse_alternatives": true, "default_nonmember_action": + "hold", "owner_address": "foo-owner@example.com", "request_address": "foo-request@example.com", + "default_member_action": "defer", "digest_size_threshold": 30.0, "created_at": + "2015-04-16T16:40:16.084377", "no_reply_address": "noreply@example.com", "description": + "", "autorespond_owner": "none", "filter_content": false, "convert_html_to_plaintext": + false, "allow_list_posts": true, "mail_host": "example.com", "admin_immed_notify": + true}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:16 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"scheme": "http", "digest_last_sent_at": null, + "autorespond_requests": "none", "http_etag": "\"2e21519a49562c0dcc0b867ad735df2e0b77cd33\"", + "include_rfc2369_headers": true, "archive_policy": "public", "list_name": + "foo", "leave_address": "foo-leave@example.com", "anonymous_list": false, + "join_address": "foo-join@example.com", "posting_pipeline": "default-posting-pipeline", + "posting_address": "foo@example.com", "autoresponse_postings_text": "", "autoresponse_request_text": + "", "autorespond_postings": "none", "post_id": 1, "welcome_message_uri": "mailman:///welcome.txt", + "autoresponse_owner_text": "", "subject_prefix": "[Foo] ", "volume": 1, "fqdn_listname": + "foo@example.com", "subscription_policy": "confirm", "bounces_address": "foo-bounces@example.com", + "first_strip_reply_to": false, "reply_goes_to_list": "no_munging", "advertised": + true, "acceptable_aliases": [], "last_post_at": null, "next_digest_number": + 1, "reply_to_address": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "admin_notify_mchanges": false, "send_welcome_message": true, "display_name": + "Foo", "administrivia": true, "collapse_alternatives": true, "default_nonmember_action": + "hold", "owner_address": "foo-owner@example.com", "request_address": "foo-request@example.com", + "default_member_action": "defer", "digest_size_threshold": 30.0, "created_at": + "2015-04-16T16:40:16.084377", "no_reply_address": "noreply@example.com", "description": + "", "autorespond_owner": "none", "filter_content": false, "convert_html_to_plaintext": + false, "allow_list_posts": true, "mail_host": "example.com", "admin_immed_notify": + true}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40:16 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}], "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "total_size": 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"volume": 1, "fqdn_listname": "foo@example.com", + "list_name": "foo", "list_id": "foo.example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "display_name": "Foo", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "member_count": 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:40: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:40:17 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"convert_html_to_plaintext": false, "owner_address": + "foo-owner@example.com", "autorespond_requests": "none", "anonymous_list": + false, "admin_notify_mchanges": false, "autoresponse_request_text": "", "http_etag": + "\"473b83c512b90434c893fe07bd837452da829cf9\"", "administrivia": true, "join_address": + "foo-join@example.com", "digest_size_threshold": 30.0, "next_digest_number": + 1, "request_address": "foo-request@example.com", "collapse_alternatives": + true, "posting_address": "foo@example.com", "allow_list_posts": true, "last_post_at": + null, "post_id": 1, "volume": 1, "autoresponse_grace_period": "90d", "reply_to_address": + "", "advertised": true, "autoresponse_owner_text": "", "subscription_policy": + "confirm", "scheme": "http", "display_name": "Foo", "default_nonmember_action": + "hold", "bounces_address": "foo-bounces@example.com", "acceptable_aliases": + [], "filter_content": false, "fqdn_listname": "foo@example.com", "welcome_message_uri": + "mailman:///welcome.txt", "send_welcome_message": true, "list_name": "foo", + "first_strip_reply_to": false, "autorespond_owner": "none", "reply_goes_to_list": + "no_munging", "digest_last_sent_at": null, "leave_address": "foo-leave@example.com", + "description": "", "archive_policy": "public", "subject_prefix": "[Foo] ", + "autoresponse_postings_text": "", "admin_immed_notify": true, "web_host": + "example.com", "mail_host": "example.com", "autorespond_postings": "none", + "no_reply_address": "noreply@example.com", "include_rfc2369_headers": true, + "default_member_action": "defer", "posting_pipeline": "default-posting-pipeline", + "created_at": "2015-04-16T16:42:23.542861"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"convert_html_to_plaintext": false, "owner_address": + "foo-owner@example.com", "autorespond_requests": "none", "anonymous_list": + false, "admin_notify_mchanges": false, "autoresponse_request_text": "", "http_etag": + "\"473b83c512b90434c893fe07bd837452da829cf9\"", "administrivia": true, "join_address": + "foo-join@example.com", "digest_size_threshold": 30.0, "next_digest_number": + 1, "request_address": "foo-request@example.com", "collapse_alternatives": + true, "posting_address": "foo@example.com", "allow_list_posts": true, "last_post_at": + null, "post_id": 1, "volume": 1, "autoresponse_grace_period": "90d", "reply_to_address": + "", "advertised": true, "autoresponse_owner_text": "", "subscription_policy": + "confirm", "scheme": "http", "display_name": "Foo", "default_nonmember_action": + "hold", "bounces_address": "foo-bounces@example.com", "acceptable_aliases": + [], "filter_content": false, "fqdn_listname": "foo@example.com", "welcome_message_uri": + "mailman:///welcome.txt", "send_welcome_message": true, "list_name": "foo", + "first_strip_reply_to": false, "autorespond_owner": "none", "reply_goes_to_list": + "no_munging", "digest_last_sent_at": null, "leave_address": "foo-leave@example.com", + "description": "", "archive_policy": "public", "subject_prefix": "[Foo] ", + "autoresponse_postings_text": "", "admin_immed_notify": true, "web_host": + "example.com", "mail_host": "example.com", "autorespond_postings": "none", + "no_reply_address": "noreply@example.com", "include_rfc2369_headers": true, + "default_member_action": "defer", "posting_pipeline": "default-posting-pipeline", + "created_at": "2015-04-16T16:42:23.542861"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", + "list_id": "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": 0, "mail_host": + "example.com", "display_name": "Foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com"}], + "total_size": 1, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "start": 0}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "description": + null}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"convert_html_to_plaintext": false, "owner_address": + "foo-owner@example.com", "autorespond_requests": "none", "anonymous_list": + false, "admin_notify_mchanges": false, "autoresponse_request_text": "", "http_etag": + "\"cc0b6b623d102f3ab991b07a89e1a64b35a3d923\"", "administrivia": true, "join_address": + "foo-join@example.com", "digest_size_threshold": 30.0, "next_digest_number": + 1, "request_address": "foo-request@example.com", "collapse_alternatives": + true, "posting_address": "foo@example.com", "allow_list_posts": true, "last_post_at": + null, "post_id": 1, "volume": 1, "autoresponse_grace_period": "90d", "reply_to_address": + "", "advertised": true, "autoresponse_owner_text": "", "subscription_policy": + "confirm", "scheme": "http", "display_name": "Foo", "default_nonmember_action": + "hold", "bounces_address": "foo-bounces@example.com", "acceptable_aliases": + [], "filter_content": false, "fqdn_listname": "foo@example.com", "welcome_message_uri": + "mailman:///welcome.txt", "send_welcome_message": true, "list_name": "foo", + "first_strip_reply_to": false, "autorespond_owner": "none", "reply_goes_to_list": + "no_munging", "digest_last_sent_at": null, "leave_address": "foo-leave@example.com", + "description": "", "archive_policy": "public", "subject_prefix": "[Foo] ", + "autoresponse_postings_text": "", "admin_immed_notify": true, "web_host": + "example.com", "mail_host": "example.com", "autorespond_postings": "none", + "no_reply_address": "noreply@example.com", "include_rfc2369_headers": true, + "default_member_action": "defer", "posting_pipeline": "default-posting-pipeline", + "created_at": "2015-04-16T16:42:25.441159"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"convert_html_to_plaintext": false, "owner_address": + "foo-owner@example.com", "autorespond_requests": "none", "anonymous_list": + false, "admin_notify_mchanges": false, "autoresponse_request_text": "", "http_etag": + "\"cc0b6b623d102f3ab991b07a89e1a64b35a3d923\"", "administrivia": true, "join_address": + "foo-join@example.com", "digest_size_threshold": 30.0, "next_digest_number": + 1, "request_address": "foo-request@example.com", "collapse_alternatives": + true, "posting_address": "foo@example.com", "allow_list_posts": true, "last_post_at": + null, "post_id": 1, "volume": 1, "autoresponse_grace_period": "90d", "reply_to_address": + "", "advertised": true, "autoresponse_owner_text": "", "subscription_policy": + "confirm", "scheme": "http", "display_name": "Foo", "default_nonmember_action": + "hold", "bounces_address": "foo-bounces@example.com", "acceptable_aliases": + [], "filter_content": false, "fqdn_listname": "foo@example.com", "welcome_message_uri": + "mailman:///welcome.txt", "send_welcome_message": true, "list_name": "foo", + "first_strip_reply_to": false, "autorespond_owner": "none", "reply_goes_to_list": + "no_munging", "digest_last_sent_at": null, "leave_address": "foo-leave@example.com", + "description": "", "archive_policy": "public", "subject_prefix": "[Foo] ", + "autoresponse_postings_text": "", "admin_immed_notify": true, "web_host": + "example.com", "mail_host": "example.com", "autorespond_postings": "none", + "no_reply_address": "noreply@example.com", "include_rfc2369_headers": true, + "default_member_action": "defer", "posting_pipeline": "default-posting-pipeline", + "created_at": "2015-04-16T16:42:25.441159"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", + "list_id": "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": + "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": 0, "mail_host": + "example.com", "display_name": "Foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com"}], + "total_size": 1, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "start": 0}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "list_id": + "foo.example.com", "list_name": "foo", "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "member_count": 0, "mail_host": "example.com", "display_name": "Foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:42: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator + response: + body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "start": 0, "total_size": 0}'} + headers: + content-length: ['90'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": "", + "subscription_policy": "confirm", "display_name": "Foo", "send_welcome_message": + true, "convert_html_to_plaintext": false, "leave_address": "foo-leave@example.com", + "reply_goes_to_list": "no_munging", "default_member_action": "defer", "digest_size_threshold": + 30.0, "autorespond_owner": "none", "reply_to_address": "", "advertised": true, + "no_reply_address": "noreply@example.com", "autoresponse_grace_period": "90d", + "bounces_address": "foo-bounces@example.com", "default_nonmember_action": + "hold", "autoresponse_owner_text": "", "owner_address": "foo-owner@example.com", + "filter_content": false, "post_id": 1, "include_rfc2369_headers": true, "autorespond_requests": + "none", "join_address": "foo-join@example.com", "next_digest_number": 1, "web_host": + "example.com", "admin_immed_notify": true, "allow_list_posts": true, "digest_last_sent_at": + null, "anonymous_list": false, "autorespond_postings": "none", "collapse_alternatives": + true, "scheme": "http", "http_etag": "\"22984970d4b8d4e87bcfc58f4cbcf6b082362eca\"", + "subject_prefix": "[Foo] ", "first_strip_reply_to": false, "acceptable_aliases": + [], "fqdn_listname": "foo@example.com", "autoresponse_request_text": "", "autoresponse_postings_text": + "", "admin_notify_mchanges": false, "list_name": "foo", "last_post_at": null, + "request_address": "foo-request@example.com", "archive_policy": "public", + "welcome_message_uri": "mailman:///welcome.txt", "volume": 1, "posting_address": + "foo@example.com", "created_at": "2015-04-16T16:44:21.584476", "posting_pipeline": + "default-posting-pipeline", "administrivia": true}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": "", + "subscription_policy": "confirm", "display_name": "Foo", "send_welcome_message": + true, "convert_html_to_plaintext": false, "leave_address": "foo-leave@example.com", + "reply_goes_to_list": "no_munging", "default_member_action": "defer", "digest_size_threshold": + 30.0, "autorespond_owner": "none", "reply_to_address": "", "advertised": true, + "no_reply_address": "noreply@example.com", "autoresponse_grace_period": "90d", + "bounces_address": "foo-bounces@example.com", "default_nonmember_action": + "hold", "autoresponse_owner_text": "", "owner_address": "foo-owner@example.com", + "filter_content": false, "post_id": 1, "include_rfc2369_headers": true, "autorespond_requests": + "none", "join_address": "foo-join@example.com", "next_digest_number": 1, "web_host": + "example.com", "admin_immed_notify": true, "allow_list_posts": true, "digest_last_sent_at": + null, "anonymous_list": false, "autorespond_postings": "none", "collapse_alternatives": + true, "scheme": "http", "http_etag": "\"22984970d4b8d4e87bcfc58f4cbcf6b082362eca\"", + "subject_prefix": "[Foo] ", "first_strip_reply_to": false, "acceptable_aliases": + [], "fqdn_listname": "foo@example.com", "autoresponse_request_text": "", "autoresponse_postings_text": + "", "admin_notify_mchanges": false, "list_name": "foo", "last_post_at": null, + "request_address": "foo-request@example.com", "archive_policy": "public", + "welcome_message_uri": "mailman:///welcome.txt", "volume": 1, "posting_address": + "foo@example.com", "created_at": "2015-04-16T16:44:21.584476", "posting_pipeline": + "default-posting-pipeline", "administrivia": true}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}], "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "start": + 0, "total_size": 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "url_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "base_url": "http://example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": "", + "subscription_policy": "confirm", "display_name": "Foo", "send_welcome_message": + true, "convert_html_to_plaintext": false, "leave_address": "foo-leave@example.com", + "reply_goes_to_list": "no_munging", "default_member_action": "defer", "digest_size_threshold": + 30.0, "autorespond_owner": "none", "reply_to_address": "", "advertised": true, + "no_reply_address": "noreply@example.com", "autoresponse_grace_period": "90d", + "bounces_address": "foo-bounces@example.com", "default_nonmember_action": + "hold", "autoresponse_owner_text": "", "owner_address": "foo-owner@example.com", + "filter_content": false, "post_id": 1, "include_rfc2369_headers": true, "autorespond_requests": + "none", "join_address": "foo-join@example.com", "next_digest_number": 1, "web_host": + "example.com", "admin_immed_notify": true, "allow_list_posts": true, "digest_last_sent_at": + null, "anonymous_list": false, "autorespond_postings": "none", "collapse_alternatives": + true, "scheme": "http", "http_etag": "\"26647aafcd994aa41842a334e9c889e966ff586a\"", + "subject_prefix": "[Foo] ", "first_strip_reply_to": false, "acceptable_aliases": + [], "fqdn_listname": "foo@example.com", "autoresponse_request_text": "", "autoresponse_postings_text": + "", "admin_notify_mchanges": false, "list_name": "foo", "last_post_at": null, + "request_address": "foo-request@example.com", "archive_policy": "public", + "welcome_message_uri": "mailman:///welcome.txt", "volume": 1, "posting_address": + "foo@example.com", "created_at": "2015-04-16T16:44:23.902670", "posting_pipeline": + "default-posting-pipeline", "administrivia": true}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "description": "", + "subscription_policy": "confirm", "display_name": "Foo", "send_welcome_message": + true, "convert_html_to_plaintext": false, "leave_address": "foo-leave@example.com", + "reply_goes_to_list": "no_munging", "default_member_action": "defer", "digest_size_threshold": + 30.0, "autorespond_owner": "none", "reply_to_address": "", "advertised": true, + "no_reply_address": "noreply@example.com", "autoresponse_grace_period": "90d", + "bounces_address": "foo-bounces@example.com", "default_nonmember_action": + "hold", "autoresponse_owner_text": "", "owner_address": "foo-owner@example.com", + "filter_content": false, "post_id": 1, "include_rfc2369_headers": true, "autorespond_requests": + "none", "join_address": "foo-join@example.com", "next_digest_number": 1, "web_host": + "example.com", "admin_immed_notify": true, "allow_list_posts": true, "digest_last_sent_at": + null, "anonymous_list": false, "autorespond_postings": "none", "collapse_alternatives": + true, "scheme": "http", "http_etag": "\"26647aafcd994aa41842a334e9c889e966ff586a\"", + "subject_prefix": "[Foo] ", "first_strip_reply_to": false, "acceptable_aliases": + [], "fqdn_listname": "foo@example.com", "autoresponse_request_text": "", "autoresponse_postings_text": + "", "admin_notify_mchanges": false, "list_name": "foo", "last_post_at": null, + "request_address": "foo-request@example.com", "archive_policy": "public", + "welcome_message_uri": "mailman:///welcome.txt", "volume": 1, "posting_address": + "foo@example.com", "created_at": "2015-04-16T16:44:23.902670", "posting_pipeline": + "default-posting-pipeline", "administrivia": true}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}], "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "start": + 0, "total_size": 1}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "fqdn_listname": + "foo@example.com", "display_name": "Foo", "list_name": "foo", "list_id": "foo.example.com", + "volume": 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", + "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "member_count": + 0}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:44: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:45:28 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:28 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:28 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:45: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:45: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"digest_last_sent_at": null, "description": + "", "request_address": "foo-request@example.com", "acceptable_aliases": [], + "autoresponse_grace_period": "90d", "autorespond_requests": "none", "volume": + 1, "archive_policy": "public", "autoresponse_owner_text": "", "join_address": + "foo-join@example.com", "autoresponse_request_text": "", "default_member_action": + "defer", "bounces_address": "foo-bounces@example.com", "convert_html_to_plaintext": + false, "owner_address": "foo-owner@example.com", "last_post_at": null, "autoresponse_postings_text": + "", "post_id": 1, "no_reply_address": "noreply@example.com", "http_etag": + "\"e2b28dc67a29290d3edc24561cf57c65ce97cae5\"", "scheme": "http", "web_host": + "example.com", "subject_prefix": "[Foo] ", "next_digest_number": 1, "leave_address": + "foo-leave@example.com", "include_rfc2369_headers": true, "send_welcome_message": + true, "welcome_message_uri": "mailman:///welcome.txt", "digest_size_threshold": + 30.0, "fqdn_listname": "foo@example.com", "anonymous_list": false, "admin_notify_mchanges": + false, "administrivia": true, "first_strip_reply_to": false, "subscription_policy": + "confirm", "filter_content": false, "display_name": "Foo", "autorespond_owner": + "none", "posting_address": "foo@example.com", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "created_at": "2015-04-16T16:45:28.570596", "reply_goes_to_list": + "no_munging", "collapse_alternatives": true, "allow_list_posts": true, "list_name": + "foo", "autorespond_postings": "none", "admin_immed_notify": true, "advertised": + true, "mail_host": "example.com", "default_nonmember_action": "hold"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"digest_last_sent_at": null, "description": + "", "request_address": "foo-request@example.com", "acceptable_aliases": [], + "autoresponse_grace_period": "90d", "autorespond_requests": "none", "volume": + 1, "archive_policy": "public", "autoresponse_owner_text": "", "join_address": + "foo-join@example.com", "autoresponse_request_text": "", "default_member_action": + "defer", "bounces_address": "foo-bounces@example.com", "convert_html_to_plaintext": + false, "owner_address": "foo-owner@example.com", "last_post_at": null, "autoresponse_postings_text": + "", "post_id": 1, "no_reply_address": "noreply@example.com", "http_etag": + "\"e2b28dc67a29290d3edc24561cf57c65ce97cae5\"", "scheme": "http", "web_host": + "example.com", "subject_prefix": "[Foo] ", "next_digest_number": 1, "leave_address": + "foo-leave@example.com", "include_rfc2369_headers": true, "send_welcome_message": + true, "welcome_message_uri": "mailman:///welcome.txt", "digest_size_threshold": + 30.0, "fqdn_listname": "foo@example.com", "anonymous_list": false, "admin_notify_mchanges": + false, "administrivia": true, "first_strip_reply_to": false, "subscription_policy": + "confirm", "filter_content": false, "display_name": "Foo", "autorespond_owner": + "none", "posting_address": "foo@example.com", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "created_at": "2015-04-16T16:45:28.570596", "reply_goes_to_list": + "no_munging", "collapse_alternatives": true, "allow_list_posts": true, "list_name": + "foo", "autorespond_postings": "none", "admin_immed_notify": true, "advertised": + true, "mail_host": "example.com", "default_nonmember_action": "hold"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}], "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": + 1, "start": 0}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:30 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.0b2'] + 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: ['Thu, 16 Apr 2015 16:45:31 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/domains/example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "url_host": "example.com", + "description": null, "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45:31 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.0b2'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:31 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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + 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: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"digest_last_sent_at": null, "description": + "", "request_address": "foo-request@example.com", "acceptable_aliases": [], + "autoresponse_grace_period": "90d", "autorespond_requests": "none", "volume": + 1, "archive_policy": "public", "autoresponse_owner_text": "", "join_address": + "foo-join@example.com", "autoresponse_request_text": "", "default_member_action": + "defer", "bounces_address": "foo-bounces@example.com", "convert_html_to_plaintext": + false, "owner_address": "foo-owner@example.com", "last_post_at": null, "autoresponse_postings_text": + "", "post_id": 1, "no_reply_address": "noreply@example.com", "http_etag": + "\"4f6392173e8c84176d84cf723e87c845cb8309d9\"", "scheme": "http", "web_host": + "example.com", "subject_prefix": "[Foo] ", "next_digest_number": 1, "leave_address": + "foo-leave@example.com", "include_rfc2369_headers": true, "send_welcome_message": + true, "welcome_message_uri": "mailman:///welcome.txt", "digest_size_threshold": + 30.0, "fqdn_listname": "foo@example.com", "anonymous_list": false, "admin_notify_mchanges": + false, "administrivia": true, "first_strip_reply_to": false, "subscription_policy": + "confirm", "filter_content": false, "display_name": "Foo", "autorespond_owner": + "none", "posting_address": "foo@example.com", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "created_at": "2015-04-16T16:45:31.397422", "reply_goes_to_list": + "no_munging", "collapse_alternatives": true, "allow_list_posts": true, "list_name": + "foo", "autorespond_postings": "none", "admin_immed_notify": true, "advertised": + true, "mail_host": "example.com", "default_nonmember_action": "hold"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo@example.com/config + response: + body: {string: !!python/unicode '{"digest_last_sent_at": null, "description": + "", "request_address": "foo-request@example.com", "acceptable_aliases": [], + "autoresponse_grace_period": "90d", "autorespond_requests": "none", "volume": + 1, "archive_policy": "public", "autoresponse_owner_text": "", "join_address": + "foo-join@example.com", "autoresponse_request_text": "", "default_member_action": + "defer", "bounces_address": "foo-bounces@example.com", "convert_html_to_plaintext": + false, "owner_address": "foo-owner@example.com", "last_post_at": null, "autoresponse_postings_text": + "", "post_id": 1, "no_reply_address": "noreply@example.com", "http_etag": + "\"4f6392173e8c84176d84cf723e87c845cb8309d9\"", "scheme": "http", "web_host": + "example.com", "subject_prefix": "[Foo] ", "next_digest_number": 1, "leave_address": + "foo-leave@example.com", "include_rfc2369_headers": true, "send_welcome_message": + true, "welcome_message_uri": "mailman:///welcome.txt", "digest_size_threshold": + 30.0, "fqdn_listname": "foo@example.com", "anonymous_list": false, "admin_notify_mchanges": + false, "administrivia": true, "first_strip_reply_to": false, "subscription_policy": + "confirm", "filter_content": false, "display_name": "Foo", "autorespond_owner": + "none", "posting_address": "foo@example.com", "posting_pipeline": "default-posting-pipeline", + "reply_to_address": "", "created_at": "2015-04-16T16:45:31.397422", "reply_goes_to_list": + "no_munging", "collapse_alternatives": true, "allow_list_posts": true, "list_name": + "foo", "autorespond_postings": "none", "admin_immed_notify": true, "advertised": + true, "mail_host": "example.com", "default_nonmember_action": "hold"}'} + headers: + content-length: ['1617'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode '{"entries": [{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}], "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": + 1, "start": 0}'} + headers: + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/foo.example.com + response: + body: {string: !!python/unicode '{"mail_host": "example.com", "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, "member_count": + 0, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "display_name": + "Foo"}'} + headers: + content-length: ['294'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 16 Apr 2015 16:45: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.0b2'] + method: !!python/unicode 'DELETE' + uri: http://localhost:9001/3.0/lists/foo@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Thu, 16 Apr 2015 16:45:33 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} version: 1 diff --git a/src/postorius/tests/mailman_api_tests/test_subscriptions.py b/src/postorius/tests/mailman_api_tests/test_subscriptions.py new file mode 100644 index 0000000..e5328c4 --- /dev/null +++ b/src/postorius/tests/mailman_api_tests/test_subscriptions.py @@ -0,0 +1,77 @@ +# -*- coding: utf-8 -*- +# Copyright (C) 2012-2015 by the Free Software Foundation, Inc. +# +# This file is part of Postorius. +# +# Postorius is free software: you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free +# Software Foundation, either version 3 of the License, or (at your option) +# any later version. +# Postorius is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License along with +# Postorius. If not, see . +import logging + +from django.contrib.auth.models import User +from django.core.urlresolvers import reverse +from django.test import Client, TestCase +from django.test.utils import override_settings +from urllib2 import HTTPError + +from postorius.tests import MM_VCR +from postorius.utils import get_client + + +logger = logging.getLogger(__name__) +vcr_log = logging.getLogger('vcr') +vcr_log.setLevel(logging.WARNING) + + +API_CREDENTIALS = {'MAILMAN_API_URL': 'http://localhost:9001', + 'MAILMAN_USER': 'restadmin', + 'MAILMAN_PASS': 'restpass'} + + +@override_settings(**API_CREDENTIALS) +class TestSubscriptionPolicyOpen(TestCase): + """Tests for the list members page. + + Tests permissions and creation of list owners and moderators. + """ + + @MM_VCR.use_cassette('list_subscription.yaml') + def setUp(self): + self.client = Client() + try: + self.domain = get_client().create_domain('example.com') + except HTTPError: + self.domain = get_client().get_domain('example.com') + try: + self.foo_list = self.domain.create_list('foo') + except HTTPError: + self.foo_list = get_client().get_list('foo.example.com') + # Set subscription policy to open + settings = self.foo_list.settings + settings['subscription_policy'] = 'open' + settings.save() + self.user = User.objects.create_user( + 'testuser', 'test@example.com', 'testpass') + + @MM_VCR.use_cassette('list_subscription.yaml') + def tearDown(self): + self.foo_list.delete() + self.user.delete() + + @MM_VCR.use_cassette('list_subscription.yaml') + def test_subscribing_adds_member(self): + print(self.foo_list.settings['subscription_policy']) + response = self.client.post( + reverse('list_subscribe', args=('foo.example.com', )), + {'email': 'fritz@example.org'}) + print(response.status_code) + print(self.foo_list.members) + self.assertEqual(2, len(self.foo_list.members))