diff --git a/src/postorius/tests/fixtures/vcr_cassettes/archival_options.yaml b/src/postorius/tests/fixtures/vcr_cassettes/archival_options.yaml index 64b878a..5c9844d 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: ['Thu, 16 Apr 2015 12:01:01 GMT'] + date: ['Fri, 17 Apr 2015 21:06:28 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,154 +25,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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: ['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/domains/example.com - response: - 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: ['Thu, 16 Apr 2015 12:01:01 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 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} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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_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": 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 '{"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 '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 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\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": - "example.com", "description": null}'} + "example.com"}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:22 GMT'] + date: ['Fri, 17 Apr 2015 21:06:28 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -184,14 +44,14 @@ 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\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": - "example.com", "description": null}'} + "example.com"}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:22 GMT'] + date: ['Fri, 17 Apr 2015 21:06:28 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -207,7 +67,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:19:22 GMT'] + date: ['Fri, 17 Apr 2015 21:06:28 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} @@ -220,159 +80,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", "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"}'} + body: {string: !!python/unicode '{"list_name": "test_list", "volume": 1, "list_id": + "test_list.example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "fqdn_listname": "test_list@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Test_list", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'} 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'] + date: ['Fri, 17 Apr 2015 21:06:28 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -389,7 +104,7 @@ headers: content-length: ['121'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:39:57 GMT'] + date: ['Fri, 17 Apr 2015 21:06:28 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -401,15 +116,14 @@ 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}'} + body: {string: !!python/unicode '{"list_name": "test_list", "volume": 1, "list_id": + "test_list.example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "fqdn_listname": "test_list@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Test_list", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'} headers: content-length: ['324'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:39:57 GMT'] + date: ['Fri, 17 Apr 2015 21:06:28 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -424,433 +138,7 @@ 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'] + date: ['Fri, 17 Apr 2015 21:06:28 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 b348e2c..61f7da6 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: ['Thu, 16 Apr 2015 12:01:03 GMT'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,13 +25,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:03 GMT'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -43,13 +44,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:03 GMT'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -65,7 +67,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:03 GMT'] + date: ['Fri, 17 Apr 2015 21:06: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} @@ -78,14 +80,14 @@ 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\""}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:03 GMT'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -101,8 +103,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:03 GMT'] - location: ['http://localhost:9001/3.0/members/105016014310372328385151182937108251478'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] + location: ['http://localhost:9001/3.0/members/329671489027490421265386582601272028519'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -118,8 +120,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:03 GMT'] - location: ['http://localhost:9001/3.0/members/269367401923733234340873234992853209578'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] + location: ['http://localhost:9001/3.0/members/196553294715842416766462573342664802582'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -134,7 +136,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:03 GMT'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -151,7 +153,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:03 GMT'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -163,13 +165,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:04 GMT'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -181,13 +184,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:04 GMT'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -203,7 +207,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:04 GMT'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -216,14 +220,14 @@ 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\""}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:04 GMT'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -239,8 +243,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:04 GMT'] - location: ['http://localhost:9001/3.0/members/303494619116670421498100601405715118551'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] + location: ['http://localhost:9001/3.0/members/273159179840151621454458997067388833786'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -256,8 +260,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:04 GMT'] - location: ['http://localhost:9001/3.0/members/181135376074126821683376564344095019421'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] + location: ['http://localhost:9001/3.0/members/331227949447350025956816628996255206393'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -272,7 +276,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:04 GMT'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -289,7 +293,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:04 GMT'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -301,13 +305,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:04 GMT'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -319,13 +324,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:04 GMT'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -341,7 +347,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:04 GMT'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -354,14 +360,14 @@ 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\""}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:05 GMT'] + date: ['Fri, 17 Apr 2015 21:06:33 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -377,8 +383,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:05 GMT'] - location: ['http://localhost:9001/3.0/members/54892694067040236354669655501258217027'] + date: ['Fri, 17 Apr 2015 21:06:33 GMT'] + location: ['http://localhost:9001/3.0/members/299024060552066861675391395432566914375'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -394,8 +400,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:05 GMT'] - location: ['http://localhost:9001/3.0/members/149769313085588494143611083725579758342'] + date: ['Fri, 17 Apr 2015 21:06:33 GMT'] + location: ['http://localhost:9001/3.0/members/135784022531765933381966377047581383248'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -410,7 +416,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:05 GMT'] + date: ['Fri, 17 Apr 2015 21:06:33 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -427,7 +433,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:05 GMT'] + date: ['Fri, 17 Apr 2015 21:06:33 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -439,13 +445,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:05 GMT'] + date: ['Fri, 17 Apr 2015 21:06:33 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -457,13 +464,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:05 GMT'] + date: ['Fri, 17 Apr 2015 21:06:33 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -479,7 +487,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:05 GMT'] + date: ['Fri, 17 Apr 2015 21:06: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} @@ -492,14 +500,14 @@ 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\""}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:06 GMT'] + date: ['Fri, 17 Apr 2015 21:06:33 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -515,8 +523,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:06 GMT'] - location: ['http://localhost:9001/3.0/members/250446719216023278073000421908992492314'] + date: ['Fri, 17 Apr 2015 21:06:34 GMT'] + location: ['http://localhost:9001/3.0/members/159126608472498677387861696412130511419'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -532,8 +540,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:06 GMT'] - location: ['http://localhost:9001/3.0/members/12807642846833656314514586013738348503'] + date: ['Fri, 17 Apr 2015 21:06:34 GMT'] + location: ['http://localhost:9001/3.0/members/259951785367547693411594524461957027558'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -545,4306 +553,14 @@ 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\""}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01: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/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: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/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": "\"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: ['565'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01: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/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": "\"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: ['576'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01: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/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: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/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": "\"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: ['565'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01: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 '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: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 12:01: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", "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: ['Thu, 16 Apr 2015 12:01: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", "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: ['Thu, 16 Apr 2015 12:01: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 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} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-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:07 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: role=owner&list_id=foo.example.com&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 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: role=moderator&list_id=foo.example.com&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 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: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-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: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 '{"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: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 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'] + date: ['Fri, 17 Apr 2015 21:06:34 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -4861,7 +577,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:14 GMT'] + date: ['Fri, 17 Apr 2015 21:06:34 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -4873,17 +589,17 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"b0f031240d12c8b4ea034d1415307ce30966dbeb\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "owner", + "email": "owner@example.com", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "list_id": "foo.example.com", "http_etag": "\"6a7190aa0efe0ad862adf5f54d0db421a5f10480\"", + "member_id": 159126608472498677387861696412130511419, "user": "http://localhost:9001/3.0/users/95044290017484342120664175382487617162", + "self_link": "http://localhost:9001/3.0/members/159126608472498677387861696412130511419"}], + "start": 0}'} headers: content-length: ['565'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:14 GMT'] + date: ['Fri, 17 Apr 2015 21:06:34 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -4895,18 +611,17 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"e9da2125c80f8192000fc5372434c862ba383aa6\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "moderator", + "email": "moderator@example.com", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "list_id": "foo.example.com", "http_etag": "\"8a881fd76841b8740ba2338d9e9b40147f3673c2\"", + "member_id": 259951785367547693411594524461957027558, "user": "http://localhost:9001/3.0/users/92094995257680408839787381726301419694", + "self_link": "http://localhost:9001/3.0/members/259951785367547693411594524461957027558"}], + "start": 0}'} headers: - content-length: ['578'] + content-length: ['577'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:14 GMT'] + date: ['Fri, 17 Apr 2015 21:06:34 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -4918,15 +633,14 @@ 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"}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:14 GMT'] + date: ['Fri, 17 Apr 2015 21:06:34 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -4938,17 +652,17 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"b0f031240d12c8b4ea034d1415307ce30966dbeb\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "owner", + "email": "owner@example.com", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "list_id": "foo.example.com", "http_etag": "\"6a7190aa0efe0ad862adf5f54d0db421a5f10480\"", + "member_id": 159126608472498677387861696412130511419, "user": "http://localhost:9001/3.0/users/95044290017484342120664175382487617162", + "self_link": "http://localhost:9001/3.0/members/159126608472498677387861696412130511419"}], + "start": 0}'} headers: content-length: ['565'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:14 GMT'] + date: ['Fri, 17 Apr 2015 21:06:34 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -4963,7 +677,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:45:16 GMT'] + date: ['Fri, 17 Apr 2015 21:06:34 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -4980,7 +694,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:18 GMT'] + date: ['Fri, 17 Apr 2015 21:06:34 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -4992,13 +706,14 @@ 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"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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:45:18 GMT'] + date: ['Fri, 17 Apr 2015 21:06:34 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -5010,13 +725,14 @@ 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"}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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:45:18 GMT'] + date: ['Fri, 17 Apr 2015 21:06:34 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -5032,7 +748,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:45:18 GMT'] + date: ['Fri, 17 Apr 2015 21:06: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} @@ -5045,19 +761,18 @@ 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"}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:18 GMT'] + date: ['Fri, 17 Apr 2015 21:06:35 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 + body: role=owner&list_id=foo.example.com&subscriber=owner%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -5069,12 +784,12 @@ 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'] + date: ['Fri, 17 Apr 2015 21:06:35 GMT'] + location: ['http://localhost:9001/3.0/members/312239528095316624976791046185857013969'] 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 + body: role=moderator&list_id=foo.example.com&subscriber=moderator%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -5086,8 +801,8 @@ 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'] + date: ['Fri, 17 Apr 2015 21:06:35 GMT'] + location: ['http://localhost:9001/3.0/members/7648356180096890742121894934671798426'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -5099,15 +814,14 @@ 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"}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:20 GMT'] + date: ['Fri, 17 Apr 2015 21:06:35 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -5124,7 +838,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:20 GMT'] + date: ['Fri, 17 Apr 2015 21:06:35 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -5139,7 +853,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:45:22 GMT'] + date: ['Fri, 17 Apr 2015 21:06: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/list_members_page.yaml b/src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml index b4bf502..829a8fb 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml @@ -8,1890 +8,14 @@ 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\""}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "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/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: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/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: ['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/moderator - response: - 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: ['577'] - 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 - 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/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: ['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: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-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/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: ['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/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: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/roster/moderator - response: - 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: ['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: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: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-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: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": [{"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: ['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/roster/moderator - response: - 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/roster/owner - response: - 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: ['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/roster/moderator - response: - 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: ['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'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1908,7 +32,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:01 GMT'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1920,17 +44,17 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"97f8e274cb18d9e67c7519373aeb3007d0cbfb7e\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "owner", + "email": "owner@example.com", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "list_id": "foo.example.com", "http_etag": "\"f3f5f44200fe8710a7f16f0d4d17f8b065ed8a73\"", + "member_id": 329671489027490421265386582601272028519, "user": "http://localhost:9001/3.0/users/95044290017484342120664175382487617162", + "self_link": "http://localhost:9001/3.0/members/329671489027490421265386582601272028519"}], + "start": 0}'} headers: content-length: ['565'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:01 GMT'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1942,18 +66,17 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"8dc83a6a5bc90e582d6fe2430de9711d4520e469\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "moderator", + "email": "moderator@example.com", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "list_id": "foo.example.com", "http_etag": "\"f05e6ac32f4e64d3b9284df949fe9815287e555b\"", + "member_id": 196553294715842416766462573342664802582, "user": "http://localhost:9001/3.0/users/92094995257680408839787381726301419694", + "self_link": "http://localhost:9001/3.0/members/196553294715842416766462573342664802582"}], + "start": 0}'} headers: - content-length: ['578'] + content-length: ['577'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:01 GMT'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1965,15 +88,14 @@ 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"}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:01 GMT'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1985,17 +107,17 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"97f8e274cb18d9e67c7519373aeb3007d0cbfb7e\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "owner", + "email": "owner@example.com", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "list_id": "foo.example.com", "http_etag": "\"f3f5f44200fe8710a7f16f0d4d17f8b065ed8a73\"", + "member_id": 329671489027490421265386582601272028519, "user": "http://localhost:9001/3.0/users/95044290017484342120664175382487617162", + "self_link": "http://localhost:9001/3.0/members/329671489027490421265386582601272028519"}], + "start": 0}'} headers: content-length: ['565'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:01 GMT'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2007,15 +129,14 @@ 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"}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:05 GMT'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2032,7 +153,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:05 GMT'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2044,17 +165,17 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"c30123ccd446c01058bdb1e04209dbe9d6dea00a\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "owner", + "email": "owner@example.com", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "list_id": "foo.example.com", "http_etag": "\"d16014a89b461fc3edb2511553a8e18c1c50484b\"", + "member_id": 273159179840151621454458997067388833786, "user": "http://localhost:9001/3.0/users/95044290017484342120664175382487617162", + "self_link": "http://localhost:9001/3.0/members/273159179840151621454458997067388833786"}], + "start": 0}'} headers: content-length: ['565'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:05 GMT'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2066,18 +187,17 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"7bf369f9e60c0fc2bda5a94f81d76608d83ec31c\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "moderator", + "email": "moderator@example.com", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "list_id": "foo.example.com", "http_etag": "\"317149b2b5f0ea3a65deb5f4ff7f6583c0fe7fa6\"", + "member_id": 331227949447350025956816628996255206393, "user": "http://localhost:9001/3.0/users/92094995257680408839787381726301419694", + "self_link": "http://localhost:9001/3.0/members/331227949447350025956816628996255206393"}], + "start": 0}'} headers: - content-length: ['576'] + content-length: ['577'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:05 GMT'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2089,17 +209,17 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"c30123ccd446c01058bdb1e04209dbe9d6dea00a\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "owner", + "email": "owner@example.com", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "list_id": "foo.example.com", "http_etag": "\"d16014a89b461fc3edb2511553a8e18c1c50484b\"", + "member_id": 273159179840151621454458997067388833786, "user": "http://localhost:9001/3.0/users/95044290017484342120664175382487617162", + "self_link": "http://localhost:9001/3.0/members/273159179840151621454458997067388833786"}], + "start": 0}'} headers: content-length: ['565'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:05 GMT'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2111,18 +231,17 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"7bf369f9e60c0fc2bda5a94f81d76608d83ec31c\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "moderator", + "email": "moderator@example.com", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "list_id": "foo.example.com", "http_etag": "\"317149b2b5f0ea3a65deb5f4ff7f6583c0fe7fa6\"", + "member_id": 331227949447350025956816628996255206393, "user": "http://localhost:9001/3.0/users/92094995257680408839787381726301419694", + "self_link": "http://localhost:9001/3.0/members/331227949447350025956816628996255206393"}], + "start": 0}'} headers: - content-length: ['576'] + content-length: ['577'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:05 GMT'] + date: ['Fri, 17 Apr 2015 21:06:32 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2134,15 +253,14 @@ 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"}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:09 GMT'] + date: ['Fri, 17 Apr 2015 21:06:33 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2159,7 +277,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:09 GMT'] + date: ['Fri, 17 Apr 2015 21:06:33 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2171,17 +289,17 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"26bd6686cfe7a4f8557f9042362c7466fa627240\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "owner", + "email": "owner@example.com", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "list_id": "foo.example.com", "http_etag": "\"ad9414d29c784cb7960ffd5ec0c4809495e779ff\"", + "member_id": 299024060552066861675391395432566914375, "user": "http://localhost:9001/3.0/users/95044290017484342120664175382487617162", + "self_link": "http://localhost:9001/3.0/members/299024060552066861675391395432566914375"}], + "start": 0}'} headers: content-length: ['565'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:09 GMT'] + date: ['Fri, 17 Apr 2015 21:06:33 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2193,18 +311,17 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"f522516f993a5825937a080d7d5581016a152ab8\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "moderator", + "email": "moderator@example.com", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "list_id": "foo.example.com", "http_etag": "\"ea4b59149fb520cd9c27c85626d11e1e524a8c2b\"", + "member_id": 135784022531765933381966377047581383248, "user": "http://localhost:9001/3.0/users/92094995257680408839787381726301419694", + "self_link": "http://localhost:9001/3.0/members/135784022531765933381966377047581383248"}], + "start": 0}'} headers: - content-length: ['576'] + content-length: ['577'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:09 GMT'] + date: ['Fri, 17 Apr 2015 21:06:33 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2216,17 +333,17 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"26bd6686cfe7a4f8557f9042362c7466fa627240\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "owner", + "email": "owner@example.com", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "list_id": "foo.example.com", "http_etag": "\"ad9414d29c784cb7960ffd5ec0c4809495e779ff\"", + "member_id": 299024060552066861675391395432566914375, "user": "http://localhost:9001/3.0/users/95044290017484342120664175382487617162", + "self_link": "http://localhost:9001/3.0/members/299024060552066861675391395432566914375"}], + "start": 0}'} headers: content-length: ['565'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:09 GMT'] + date: ['Fri, 17 Apr 2015 21:06:33 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2238,18 +355,17 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"f522516f993a5825937a080d7d5581016a152ab8\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "moderator", + "email": "moderator@example.com", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", + "list_id": "foo.example.com", "http_etag": "\"ea4b59149fb520cd9c27c85626d11e1e524a8c2b\"", + "member_id": 135784022531765933381966377047581383248, "user": "http://localhost:9001/3.0/users/92094995257680408839787381726301419694", + "self_link": "http://localhost:9001/3.0/members/135784022531765933381966377047581383248"}], + "start": 0}'} headers: - content-length: ['576'] + content-length: ['577'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:09 GMT'] + date: ['Fri, 17 Apr 2015 21:06:33 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/list_subscription.yaml b/src/postorius/tests/fixtures/vcr_cassettes/list_subscription.yaml deleted file mode 100644 index c31f8eb..0000000 --- a/src/postorius/tests/fixtures/vcr_cassettes/list_subscription.yaml +++ /dev/null @@ -1,2213 +0,0 @@ -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 b7c3ab0..1966385 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: ['Thu, 16 Apr 2015 12:00:59 GMT'] + date: ['Fri, 17 Apr 2015 21:06:26 GMT'] location: ['http://localhost:9001/3.0/domains/example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -25,397 +25,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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: ['Thu, 16 Apr 2015 12:00:59 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 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} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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_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:00: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 '{"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:00: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", "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:00: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 12:00: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 12:01: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", "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: ['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/domains/example.com - response: - 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: ['Thu, 16 Apr 2015 12:01: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 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} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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_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: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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_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 '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 12:01: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 'Duplicate email host: example.com'} - headers: - content-length: ['33'] - 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: 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", "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: ['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/domains/example.com - response: - 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: ['Thu, 16 Apr 2015 12:01: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 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} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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_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: null - headers: - accept-encoding: ['gzip, 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 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\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": - "example.com", "description": null}'} + "example.com"}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:18 GMT'] + date: ['Fri, 17 Apr 2015 21:06:26 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -431,7 +48,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:19:18 GMT'] + date: ['Fri, 17 Apr 2015 21:06:26 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} @@ -444,408 +61,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", "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"}'} + body: {string: !!python/unicode '{"list_name": "test_list", "volume": 1, "list_id": + "test_list.example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "fqdn_listname": "test_list@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Test_list", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'} 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'] + date: ['Fri, 17 Apr 2015 21:06:26 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -862,7 +85,7 @@ headers: content-length: ['120'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:39:53 GMT'] + date: ['Fri, 17 Apr 2015 21:06:26 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -874,15 +97,14 @@ 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}'} + body: {string: !!python/unicode '{"list_name": "test_list", "volume": 1, "list_id": + "test_list.example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "fqdn_listname": "test_list@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Test_list", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'} headers: content-length: ['324'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:39:53 GMT'] + date: ['Fri, 17 Apr 2015 21:06:27 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -897,7 +119,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:39:53 GMT'] + date: ['Fri, 17 Apr 2015 21:06:27 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -914,7 +136,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:39:53 GMT'] + date: ['Fri, 17 Apr 2015 21:06:27 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -926,14 +148,14 @@ 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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:39:53 GMT'] + date: ['Fri, 17 Apr 2015 21:06:27 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -945,14 +167,14 @@ 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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:39:53 GMT'] + date: ['Fri, 17 Apr 2015 21:06:27 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -968,7 +190,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:39:54 GMT'] + date: ['Fri, 17 Apr 2015 21:06:27 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} @@ -981,15 +203,14 @@ 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}'} + body: {string: !!python/unicode '{"list_name": "test_list", "volume": 1, "list_id": + "test_list.example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "fqdn_listname": "test_list@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Test_list", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'} headers: content-length: ['324'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:39:54 GMT'] + date: ['Fri, 17 Apr 2015 21:06:27 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1006,7 +227,7 @@ headers: content-length: ['120'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:39:54 GMT'] + date: ['Fri, 17 Apr 2015 21:06:27 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1018,15 +239,14 @@ 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}'} + body: {string: !!python/unicode '{"list_name": "test_list", "volume": 1, "list_id": + "test_list.example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "fqdn_listname": "test_list@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Test_list", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'} headers: content-length: ['324'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:39:54 GMT'] + date: ['Fri, 17 Apr 2015 21:06:27 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1041,7 +261,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:39:54 GMT'] + date: ['Fri, 17 Apr 2015 21:06:27 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -1058,7 +278,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:39:55 GMT'] + date: ['Fri, 17 Apr 2015 21:06:27 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -1070,14 +290,14 @@ 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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:39:55 GMT'] + date: ['Fri, 17 Apr 2015 21:06:27 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1089,14 +309,14 @@ 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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:39:55 GMT'] + date: ['Fri, 17 Apr 2015 21:06:27 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1112,7 +332,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:39:55 GMT'] + date: ['Fri, 17 Apr 2015 21:06:27 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} @@ -1125,15 +345,14 @@ 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}'} + body: {string: !!python/unicode '{"list_name": "test_list", "volume": 1, "list_id": + "test_list.example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "fqdn_listname": "test_list@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Test_list", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\""}'} headers: content-length: ['324'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:39:55 GMT'] + date: ['Fri, 17 Apr 2015 21:06:27 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1150,7 +369,7 @@ headers: content-length: ['120'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:39:55 GMT'] + date: ['Fri, 17 Apr 2015 21:06:27 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1165,1171 +384,7 @@ 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'] + date: ['Fri, 17 Apr 2015 21:06:28 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 ba5c86d..665d386 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,220 +8,14 @@ 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\""}'} + body: {string: !!python/unicode '{"list_name": "test_list", "volume": 1, "list_id": + "test_list.example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "fqdn_listname": "test_list@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Test_list", "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'] + date: ['Fri, 17 Apr 2015 21:06:27 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -238,11 +32,11 @@ headers: content-length: ['120'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:39:55 GMT'] + date: ['Fri, 17 Apr 2015 21:06:28 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: - body: mhonarc=True&prototype=True&mail-archive=True + body: prototype=True&mhonarc=True&mail-archive=True headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -254,11 +48,11 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:39:56 GMT'] + date: ['Fri, 17 Apr 2015 21:06:28 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: - body: mhonarc=True&prototype=True&mail-archive=False + body: prototype=True&mhonarc=True&mail-archive=False headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -270,7 +64,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:39:56 GMT'] + date: ['Fri, 17 Apr 2015 21:06:28 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -287,7 +81,7 @@ headers: content-length: ['121'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:39:56 GMT'] + date: ['Fri, 17 Apr 2015 21:06:28 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -304,315 +98,7 @@ 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", "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: ['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: mhonarc=True&mail-archive=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:43:51 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 204, message: No Content} -- request: - body: mhonarc=True&mail-archive=False&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:43:51 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 204, message: No Content} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.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\"", - "mail-archive": false, "mhonarc": true, "prototype": false}'} - headers: - content-length: ['121'] - 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": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", - "mail-archive": false, "mhonarc": true, "prototype": false}'} - headers: - content-length: ['121'] - content-type: [application/json; charset=utf-8] - 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'] + date: ['Fri, 17 Apr 2015 21:06:28 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 f1fc62c..aa0afe4 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,220 +8,14 @@ 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\""}'} + body: {string: !!python/unicode '{"list_name": "test_list", "volume": 1, "list_id": + "test_list.example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", + "fqdn_listname": "test_list@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Test_list", "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'] + date: ['Fri, 17 Apr 2015 21:06:28 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -238,11 +32,11 @@ headers: content-length: ['121'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:39:56 GMT'] + date: ['Fri, 17 Apr 2015 21:06:28 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: - body: mhonarc=True&prototype=False&mail-archive=True + body: prototype=False&mhonarc=True&mail-archive=True headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -254,11 +48,11 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:39:56 GMT'] + date: ['Fri, 17 Apr 2015 21:06:28 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: - body: mhonarc=False&prototype=False&mail-archive=True + body: prototype=False&mhonarc=False&mail-archive=True headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -270,7 +64,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:39:56 GMT'] + date: ['Fri, 17 Apr 2015 21:06:28 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -287,7 +81,7 @@ headers: content-length: ['121'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:39:56 GMT'] + date: ['Fri, 17 Apr 2015 21:06:28 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -304,315 +98,7 @@ 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", "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: ['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/archivers - response: - body: {string: !!python/unicode '{"http_etag": "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", - "mail-archive": false, "mhonarc": true, "prototype": false}'} - headers: - content-length: ['121'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:43:52 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: mhonarc=True&mail-archive=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:43:52 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 204, message: No Content} -- request: - body: mhonarc=False&mail-archive=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:43: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": "\"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: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": "\"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: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'] + date: ['Fri, 17 Apr 2015 21:06:28 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 60bd840..b827f00 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: ['Thu, 16 Apr 2015 12:01:11 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,13 +25,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:11 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -43,15 +44,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains response: - 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}'} + body: {string: !!python/unicode '{"http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", + "total_size": 1, "entries": [{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": + "example.com"}], "start": 0}'} headers: content-length: ['338'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:11 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -63,13 +64,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:11 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -81,13 +83,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:11 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -99,13 +102,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:11 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -121,7 +125,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:11 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 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,14 +138,14 @@ 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_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\""}'} + body: {string: !!python/unicode '{"list_name": "a_new_list", "volume": 1, "list_id": + "a_new_list.example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "fqdn_listname": "a_new_list@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "A_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} headers: content-length: ['329'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:11 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -157,8 +161,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:11 GMT'] - location: ['http://localhost:9001/3.0/members/218566503232219098365057087224468809974'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] + location: ['http://localhost:9001/3.0/members/312239441595958538887826064034848970852'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -170,34 +174,35 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config response: - 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"}'} + body: {string: !!python/unicode '{"list_name": "a_new_list", "default_member_action": + "defer", "anonymous_list": false, "autorespond_postings": "none", "advertised": + true, "reply_to_address": "", "send_welcome_message": true, "autorespond_owner": + "none", "autoresponse_request_text": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "volume": 1, "digest_size_threshold": 30.0, "request_address": "a_new_list-request@example.com", + "posting_address": "a_new_list@example.com", "first_strip_reply_to": false, + "http_etag": "\"4e97478ac8596ae25a8124bb6cfadd55d0e20b96\"", "administrivia": + true, "mail_host": "example.com", "include_rfc2369_headers": true, "admin_immed_notify": + true, "posting_pipeline": "default-posting-pipeline", "collapse_alternatives": + true, "autoresponse_postings_text": "", "admin_notify_mchanges": false, "last_post_at": + null, "filter_content": false, "autoresponse_owner_text": "", "join_address": + "a_new_list-join@example.com", "scheme": "http", "subscription_policy": "confirm", + "welcome_message_uri": "mailman:///welcome.txt", "post_id": 1, "fqdn_listname": + "a_new_list@example.com", "allow_list_posts": true, "subject_prefix": "[A_new_list] + ", "owner_address": "a_new_list-owner@example.com", "archive_policy": "public", + "leave_address": "a_new_list-leave@example.com", "description": "", "acceptable_aliases": + [], "bounces_address": "a_new_list-bounces@example.com", "next_digest_number": + 1, "default_nonmember_action": "hold", "reply_goes_to_list": "no_munging", + "created_at": "2015-04-17T21:06:38.834999", "convert_html_to_plaintext": false, + "display_name": "A_new_list", "autorespond_requests": "none", "no_reply_address": + "noreply@example.com", "digest_last_sent_at": null}'} headers: content-length: ['1687'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:11 GMT'] + date: ['Fri, 17 Apr 2015 21:06:39 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: - 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 + body: advertised=True&administrivia=True&subscription_policy=confirm&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&autorespond_owner=none&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&autorespond_requests=none&default_nonmember_action=hold&subject_prefix=%5BA_new_list%5D+&admin_notify_mchanges=False&include_rfc2369_headers=True&description=A+new+list.&reply_to_address=&anonymous_list=False&autoresponse_postings_text=&send_welcome_message=True&convert_html_to_plaintext=False&filter_content=False&default_member_action=defer&reply_goes_to_list=no_munging&display_name=A_new_list headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -209,7 +214,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:11 GMT'] + date: ['Fri, 17 Apr 2015 21:06:39 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -221,14 +226,14 @@ 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_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\""}'} + body: {string: !!python/unicode '{"list_name": "a_new_list", "volume": 1, "list_id": + "a_new_list.example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "fqdn_listname": "a_new_list@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "A_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} headers: content-length: ['329'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:11 GMT'] + date: ['Fri, 17 Apr 2015 21:06:39 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -240,385 +245,17 @@ 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", - "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}'} + body: {string: !!python/unicode '{"http_etag": "\"736d3820c7ed8ca5ccabd889347f202c5c6fe23f\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "owner", + "email": "owner@example.com", "address": "http://localhost:9001/3.0/addresses/owner@example.com", + "list_id": "a_new_list.example.com", "http_etag": "\"3a43d65adc806d8717bce5b65b4121c1ac6410b7\"", + "member_id": 312239441595958538887826064034848970852, "user": "http://localhost:9001/3.0/users/95044290017484342120664175382487617162", + "self_link": "http://localhost:9001/3.0/members/312239441595958538887826064034848970852"}], + "start": 0}'} headers: content-length: ['572'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01: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 - response: - 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: ['Thu, 16 Apr 2015 12:01: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/a_new_list.example.com - response: - 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: ['Thu, 16 Apr 2015 12:01: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 '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 12:01: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 12:01:11 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", "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: ['Thu, 16 Apr 2015 12:01: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 - 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: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'] + date: ['Fri, 17 Apr 2015 21:06:39 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -631,15 +268,15 @@ 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"}]}'} + "total_size": 1, "entries": [{"list_name": "a_new_list", "volume": 1, "list_id": + "a_new_list.example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "fqdn_listname": "a_new_list@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "A_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}], + "start": 0}'} headers: content-length: ['434'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:38 GMT'] + date: ['Fri, 17 Apr 2015 21:06:39 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -651,15 +288,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", "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"}'} + body: {string: !!python/unicode '{"list_name": "a_new_list", "volume": 1, "list_id": + "a_new_list.example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "fqdn_listname": "a_new_list@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "A_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} headers: content-length: ['329'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:38 GMT'] + date: ['Fri, 17 Apr 2015 21:06:39 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -674,7 +310,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:19:38 GMT'] + date: ['Fri, 17 Apr 2015 21:06:39 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -691,7 +327,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:38 GMT'] + date: ['Fri, 17 Apr 2015 21:06:39 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -703,1119 +339,14 @@ 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\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": - "example.com", "description": null}'} + "example.com"}'} 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'] + date: ['Fri, 17 Apr 2015 21:06:39 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1832,7 +363,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:38 GMT'] + date: ['Fri, 17 Apr 2015 21:06:39 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 4c729a6..c116263 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: ['Thu, 16 Apr 2015 12:01:10 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,13 +25,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:10 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -43,13 +44,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:10 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -65,317 +67,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - 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} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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_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: ['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 - 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: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": - "\"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: ['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/domains - response: - 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: ['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/domains/example.com - response: - 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: ['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": - "\"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: ['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": - "\"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: ['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 - response: - 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: ['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 - 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: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 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'] + date: ['Fri, 17 Apr 2015 21:06: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} @@ -389,15 +81,15 @@ 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"}]}'} + "total_size": 1, "entries": [{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], + "start": 0}'} headers: content-length: ['399'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:36 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -409,15 +101,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", "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"}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:36 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -429,30 +120,30 @@ 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}'} + body: {string: !!python/unicode '{"list_name": "foo", "default_member_action": + "defer", "anonymous_list": false, "autorespond_postings": "none", "advertised": + true, "reply_to_address": "", "send_welcome_message": true, "autorespond_owner": + "none", "autoresponse_request_text": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "volume": 1, "digest_size_threshold": 30.0, "request_address": "foo-request@example.com", + "posting_address": "foo@example.com", "first_strip_reply_to": false, "http_etag": + "\"2f5094e9a18ff49e443fdf380686a324fe00c381\"", "administrivia": true, "mail_host": + "example.com", "include_rfc2369_headers": true, "admin_immed_notify": true, + "posting_pipeline": "default-posting-pipeline", "collapse_alternatives": true, + "autoresponse_postings_text": "", "admin_notify_mchanges": false, "last_post_at": + null, "filter_content": false, "autoresponse_owner_text": "", "join_address": + "foo-join@example.com", "scheme": "http", "subscription_policy": "confirm", + "welcome_message_uri": "mailman:///welcome.txt", "post_id": 1, "fqdn_listname": + "foo@example.com", "allow_list_posts": true, "subject_prefix": "[Foo] ", "owner_address": + "foo-owner@example.com", "archive_policy": "public", "leave_address": "foo-leave@example.com", + "description": "", "acceptable_aliases": [], "bounces_address": "foo-bounces@example.com", + "next_digest_number": 1, "default_nonmember_action": "hold", "reply_goes_to_list": + "no_munging", "created_at": "2015-04-17T21:06:38.291968", "convert_html_to_plaintext": + false, "display_name": "Foo", "autorespond_requests": "none", "no_reply_address": + "noreply@example.com", "digest_last_sent_at": null}'} headers: content-length: ['1617'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:36 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -465,14 +156,14 @@ 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\"", + "total_size": 1, "entries": [{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": - "example.com", "description": null}]}'} + "example.com"}], "start": 0}'} headers: content-length: ['338'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:36 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -484,14 +175,14 @@ 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\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": - "example.com", "description": null}'} + "example.com"}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:36 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -503,30 +194,30 @@ 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}'} + body: {string: !!python/unicode '{"list_name": "foo", "default_member_action": + "defer", "anonymous_list": false, "autorespond_postings": "none", "advertised": + true, "reply_to_address": "", "send_welcome_message": true, "autorespond_owner": + "none", "autoresponse_request_text": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "volume": 1, "digest_size_threshold": 30.0, "request_address": "foo-request@example.com", + "posting_address": "foo@example.com", "first_strip_reply_to": false, "http_etag": + "\"2f5094e9a18ff49e443fdf380686a324fe00c381\"", "administrivia": true, "mail_host": + "example.com", "include_rfc2369_headers": true, "admin_immed_notify": true, + "posting_pipeline": "default-posting-pipeline", "collapse_alternatives": true, + "autoresponse_postings_text": "", "admin_notify_mchanges": false, "last_post_at": + null, "filter_content": false, "autoresponse_owner_text": "", "join_address": + "foo-join@example.com", "scheme": "http", "subscription_policy": "confirm", + "welcome_message_uri": "mailman:///welcome.txt", "post_id": 1, "fqdn_listname": + "foo@example.com", "allow_list_posts": true, "subject_prefix": "[Foo] ", "owner_address": + "foo-owner@example.com", "archive_policy": "public", "leave_address": "foo-leave@example.com", + "description": "", "acceptable_aliases": [], "bounces_address": "foo-bounces@example.com", + "next_digest_number": 1, "default_nonmember_action": "hold", "reply_goes_to_list": + "no_munging", "created_at": "2015-04-17T21:06:38.291968", "convert_html_to_plaintext": + false, "display_name": "Foo", "autorespond_requests": "none", "no_reply_address": + "noreply@example.com", "digest_last_sent_at": null}'} headers: content-length: ['1617'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:36 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -538,30 +229,30 @@ 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}'} + body: {string: !!python/unicode '{"list_name": "foo", "default_member_action": + "defer", "anonymous_list": false, "autorespond_postings": "none", "advertised": + true, "reply_to_address": "", "send_welcome_message": true, "autorespond_owner": + "none", "autoresponse_request_text": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "volume": 1, "digest_size_threshold": 30.0, "request_address": "foo-request@example.com", + "posting_address": "foo@example.com", "first_strip_reply_to": false, "http_etag": + "\"2f5094e9a18ff49e443fdf380686a324fe00c381\"", "administrivia": true, "mail_host": + "example.com", "include_rfc2369_headers": true, "admin_immed_notify": true, + "posting_pipeline": "default-posting-pipeline", "collapse_alternatives": true, + "autoresponse_postings_text": "", "admin_notify_mchanges": false, "last_post_at": + null, "filter_content": false, "autoresponse_owner_text": "", "join_address": + "foo-join@example.com", "scheme": "http", "subscription_policy": "confirm", + "welcome_message_uri": "mailman:///welcome.txt", "post_id": 1, "fqdn_listname": + "foo@example.com", "allow_list_posts": true, "subject_prefix": "[Foo] ", "owner_address": + "foo-owner@example.com", "archive_policy": "public", "leave_address": "foo-leave@example.com", + "description": "", "acceptable_aliases": [], "bounces_address": "foo-bounces@example.com", + "next_digest_number": 1, "default_nonmember_action": "hold", "reply_goes_to_list": + "no_munging", "created_at": "2015-04-17T21:06:38.291968", "convert_html_to_plaintext": + false, "display_name": "Foo", "autorespond_requests": "none", "no_reply_address": + "noreply@example.com", "digest_last_sent_at": null}'} headers: content-length: ['1617'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:36 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -574,452 +265,15 @@ 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\"", + "total_size": 1, "entries": [{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], "start": 0}'} headers: content-length: ['399'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:42:27 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1031,201 +285,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", "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"}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} 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'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1240,317 +307,7 @@ 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'] + date: ['Fri, 17 Apr 2015 21:06:38 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 40f42cd..5f8acd0 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: ['Thu, 16 Apr 2015 12:01:01 GMT'] + date: ['Fri, 17 Apr 2015 21:06:30 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,13 +25,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:02 GMT'] + date: ['Fri, 17 Apr 2015 21:06:30 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -43,13 +44,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:02 GMT'] + date: ['Fri, 17 Apr 2015 21:06:30 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -65,7 +67,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:02 GMT'] + date: ['Fri, 17 Apr 2015 21:06: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} @@ -78,14 +80,14 @@ 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\""}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:02 GMT'] + date: ['Fri, 17 Apr 2015 21:06:30 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -98,11 +100,11 @@ uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 response: body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", - "start": 0, "total_size": 0}'} + "total_size": 0, "start": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:02 GMT'] + date: ['Fri, 17 Apr 2015 21:06:30 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -115,11 +117,11 @@ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", - "start": 0, "total_size": 0}'} + "total_size": 0, "start": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:02 GMT'] + date: ['Fri, 17 Apr 2015 21:06:30 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -132,11 +134,11 @@ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", - "start": 0, "total_size": 0}'} + "total_size": 0, "start": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:02 GMT'] + date: ['Fri, 17 Apr 2015 21:06:30 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -152,1283 +154,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - 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: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-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 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 '{"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: ['571'] - 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 '{"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: ['571'] - 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: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 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'] + date: ['Fri, 17 Apr 2015 21:06:30 GMT'] + location: ['http://localhost:9001/3.0/members/244937454762324737467718684304844593898'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -1445,7 +172,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:44:56 GMT'] + date: ['Fri, 17 Apr 2015 21:06:30 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1457,18 +184,17 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"dfb3e7da8895aeade05363634b283541a6a5ed47\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "moderator", + "email": "newmod@example.com", "address": "http://localhost:9001/3.0/addresses/newmod@example.com", + "list_id": "foo.example.com", "http_etag": "\"2742e6ecde3e5d149f3c72d11c29b3f095f77c92\"", + "member_id": 244937454762324737467718684304844593898, "user": "http://localhost:9001/3.0/users/326716575188604603029690470844928178966", + "self_link": "http://localhost:9001/3.0/members/244937454762324737467718684304844593898"}], + "start": 0}'} headers: content-length: ['572'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:44:56 GMT'] + date: ['Fri, 17 Apr 2015 21:06:30 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1480,18 +206,17 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"dfb3e7da8895aeade05363634b283541a6a5ed47\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "moderator", + "email": "newmod@example.com", "address": "http://localhost:9001/3.0/addresses/newmod@example.com", + "list_id": "foo.example.com", "http_etag": "\"2742e6ecde3e5d149f3c72d11c29b3f095f77c92\"", + "member_id": 244937454762324737467718684304844593898, "user": "http://localhost:9001/3.0/users/326716575188604603029690470844928178966", + "self_link": "http://localhost:9001/3.0/members/244937454762324737467718684304844593898"}], + "start": 0}'} headers: content-length: ['572'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:44:56 GMT'] + date: ['Fri, 17 Apr 2015 21:06:30 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1503,15 +228,14 @@ 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"}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:44:57 GMT'] + date: ['Fri, 17 Apr 2015 21:06:30 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1526,7 +250,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:44:57 GMT'] + date: ['Fri, 17 Apr 2015 21:06:30 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 cfb489d..588a630 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: ['Thu, 16 Apr 2015 12:01:02 GMT'] + date: ['Fri, 17 Apr 2015 21:06:30 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,13 +25,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:02 GMT'] + date: ['Fri, 17 Apr 2015 21:06:30 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -43,13 +44,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:02 GMT'] + date: ['Fri, 17 Apr 2015 21:06:30 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -65,7 +67,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:02 GMT'] + date: ['Fri, 17 Apr 2015 21:06: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} @@ -78,14 +80,14 @@ 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\""}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:02 GMT'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -98,11 +100,11 @@ uri: http://localhost:9001/3.0/lists/foo@example.com/roster/member?count=25&page=1 response: body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", - "start": 0, "total_size": 0}'} + "total_size": 0, "start": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:02 GMT'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -115,11 +117,11 @@ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", - "start": 0, "total_size": 0}'} + "total_size": 0, "start": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:02 GMT'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -132,11 +134,11 @@ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", - "start": 0, "total_size": 0}'} + "total_size": 0, "start": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:02 GMT'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -152,8 +154,8 @@ 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'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] + location: ['http://localhost:9001/3.0/members/205938900403193169744608364383040344630'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -165,1236 +167,17 @@ 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\"", + body: {string: !!python/unicode '{"http_etag": "\"189efb90bc8c0c5fe25d74afc449b6a405c9195b\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "owner", + "email": "newowner@example.com", "address": "http://localhost:9001/3.0/addresses/newowner@example.com", + "list_id": "foo.example.com", "http_etag": "\"2b93487540419e20335f17f4c98f47c7d918b415\"", + "member_id": 205938900403193169744608364383040344630, "user": "http://localhost:9001/3.0/users/134264009653686833174579232298647003963", + "self_link": "http://localhost:9001/3.0/members/205938900403193169744608364383040344630"}], "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: - body: subscriber=newowner%40example.com&list_id=foo.example.com&role=owner - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.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:56 GMT'] - location: ['http://localhost:9001/3.0/members/223447240274131039678289897833904625172'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 201, message: Created} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-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/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: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-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 - 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 '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: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'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1411,63 +194,7 @@ 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'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1479,17 +206,17 @@ 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}'} + body: {string: !!python/unicode '{"http_etag": "\"189efb90bc8c0c5fe25d74afc449b6a405c9195b\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "owner", + "email": "newowner@example.com", "address": "http://localhost:9001/3.0/addresses/newowner@example.com", + "list_id": "foo.example.com", "http_etag": "\"2b93487540419e20335f17f4c98f47c7d918b415\"", + "member_id": 205938900403193169744608364383040344630, "user": "http://localhost:9001/3.0/users/134264009653686833174579232298647003963", + "self_link": "http://localhost:9001/3.0/members/205938900403193169744608364383040344630"}], + "start": 0}'} headers: - content-length: ['570'] + content-length: ['572'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:44:58 GMT'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1501,15 +228,14 @@ 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"}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:44:58 GMT'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1524,7 +250,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:44:58 GMT'] + date: ['Fri, 17 Apr 2015 21:06:31 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} version: 1 diff --git a/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_owner_new_owner_added.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_members_add_owner_new_owner_added.yaml index 10e32ef..9ebd657 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,129 +8,17 @@ 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: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": - 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/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\"", + body: {string: !!python/unicode '{"http_etag": "\"189efb90bc8c0c5fe25d74afc449b6a405c9195b\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "owner", + "email": "newowner@example.com", "address": "http://localhost:9001/3.0/addresses/newowner@example.com", + "list_id": "foo.example.com", "http_etag": "\"2b93487540419e20335f17f4c98f47c7d918b415\"", + "member_id": 205938900403193169744608364383040344630, "user": "http://localhost:9001/3.0/users/134264009653686833174579232298647003963", + "self_link": "http://localhost:9001/3.0/members/205938900403193169744608364383040344630"}], "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'] + date: ['Fri, 17 Apr 2015 21:06:31 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 a9e804f..ba4a800 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,130 +8,17 @@ 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/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: ['571'] - 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": "\"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\"", + body: {string: !!python/unicode '{"http_etag": "\"dfb3e7da8895aeade05363634b283541a6a5ed47\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "moderator", + "email": "newmod@example.com", "address": "http://localhost:9001/3.0/addresses/newmod@example.com", + "list_id": "foo.example.com", "http_etag": "\"2742e6ecde3e5d149f3c72d11c29b3f095f77c92\"", + "member_id": 244937454762324737467718684304844593898, "user": "http://localhost:9001/3.0/users/326716575188604603029690470844928178966", + "self_link": "http://localhost:9001/3.0/members/244937454762324737467718684304844593898"}], "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'] + date: ['Fri, 17 Apr 2015 21:06:30 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 ebc044d..8c09397 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_metrics.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_metrics.yaml @@ -12,1677 +12,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - 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} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic 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", "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: ['Thu, 16 Apr 2015 12:01:08 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 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} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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_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", - "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01: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/test@example.org - response: - 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", - "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01: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/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 12:01: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/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 12:01: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/test@example.org/config - response: - 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: ['Thu, 16 Apr 2015 12:01: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/test@example.org/config - response: - 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: ['Thu, 16 Apr 2015 12:01: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/test@example.org/config - response: - 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: ['Thu, 16 Apr 2015 12:01: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/test@example.org/config - response: - 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: ['Thu, 16 Apr 2015 12:01: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 '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 12:01:08 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 12:01:08 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 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} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic 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", "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: ['Thu, 16 Apr 2015 12:01:08 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 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} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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_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", - "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - 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: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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_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", - "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - 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: - body: null - headers: - accept-encoding: ['gzip, 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 12:01:09 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 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'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] location: ['http://localhost:9001/3.0/domains/example.org'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -1696,12 +26,13 @@ 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"}'} + "base_url": "http://example.org", "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", + "self_link": "http://localhost:9001/3.0/domains/example.org", "url_host": + "example.org"}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:44:17 GMT'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1717,7 +48,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:44:17 GMT'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] location: ['http://localhost:9001/3.0/lists/test.example.org'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -1730,15 +61,14 @@ 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}'} + body: {string: !!python/unicode '{"list_name": "test", "volume": 1, "list_id": + "test.example.org", "self_link": "http://localhost:9001/3.0/lists/test.example.org", + "fqdn_listname": "test@example.org", "mail_host": "example.org", "member_count": + 0, "display_name": "Test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} headers: content-length: ['299'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:44:17 GMT'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1750,433 +80,14 @@ 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}'} + body: {string: !!python/unicode '{"list_name": "test", "volume": 1, "list_id": + "test.example.org", "self_link": "http://localhost:9001/3.0/lists/test.example.org", + "fqdn_listname": "test@example.org", "mail_host": "example.org", "member_count": + 0, "display_name": "Test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} 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'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2193,7 +104,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:24 GMT'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2210,7 +121,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:24 GMT'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2222,30 +133,31 @@ 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"}'} + body: {string: !!python/unicode '{"list_name": "test", "default_member_action": + "defer", "anonymous_list": false, "autorespond_postings": "none", "advertised": + true, "reply_to_address": "", "send_welcome_message": true, "autorespond_owner": + "none", "autoresponse_request_text": "", "web_host": "example.org", "autoresponse_grace_period": + "90d", "volume": 1, "digest_size_threshold": 30.0, "request_address": "test-request@example.org", + "posting_address": "test@example.org", "first_strip_reply_to": false, "http_etag": + "\"5bec8629f56043f9353337168030dc506fceac83\"", "administrivia": true, "mail_host": + "example.org", "include_rfc2369_headers": true, "admin_immed_notify": true, + "posting_pipeline": "default-posting-pipeline", "collapse_alternatives": true, + "autoresponse_postings_text": "", "admin_notify_mchanges": false, "last_post_at": + null, "filter_content": false, "autoresponse_owner_text": "", "join_address": + "test-join@example.org", "scheme": "http", "subscription_policy": "confirm", + "welcome_message_uri": "mailman:///welcome.txt", "post_id": 1, "fqdn_listname": + "test@example.org", "allow_list_posts": true, "subject_prefix": "[Test] ", + "owner_address": "test-owner@example.org", "archive_policy": "public", "leave_address": + "test-leave@example.org", "description": "", "acceptable_aliases": [], "bounces_address": + "test-bounces@example.org", "next_digest_number": 1, "default_nonmember_action": + "hold", "reply_goes_to_list": "no_munging", "created_at": "2015-04-17T21:06:36.091279", + "convert_html_to_plaintext": false, "display_name": "Test", "autorespond_requests": + "none", "no_reply_address": "noreply@example.org", "digest_last_sent_at": + null}'} headers: content-length: ['1627'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:24 GMT'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2257,30 +169,31 @@ 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"}'} + body: {string: !!python/unicode '{"list_name": "test", "default_member_action": + "defer", "anonymous_list": false, "autorespond_postings": "none", "advertised": + true, "reply_to_address": "", "send_welcome_message": true, "autorespond_owner": + "none", "autoresponse_request_text": "", "web_host": "example.org", "autoresponse_grace_period": + "90d", "volume": 1, "digest_size_threshold": 30.0, "request_address": "test-request@example.org", + "posting_address": "test@example.org", "first_strip_reply_to": false, "http_etag": + "\"5bec8629f56043f9353337168030dc506fceac83\"", "administrivia": true, "mail_host": + "example.org", "include_rfc2369_headers": true, "admin_immed_notify": true, + "posting_pipeline": "default-posting-pipeline", "collapse_alternatives": true, + "autoresponse_postings_text": "", "admin_notify_mchanges": false, "last_post_at": + null, "filter_content": false, "autoresponse_owner_text": "", "join_address": + "test-join@example.org", "scheme": "http", "subscription_policy": "confirm", + "welcome_message_uri": "mailman:///welcome.txt", "post_id": 1, "fqdn_listname": + "test@example.org", "allow_list_posts": true, "subject_prefix": "[Test] ", + "owner_address": "test-owner@example.org", "archive_policy": "public", "leave_address": + "test-leave@example.org", "description": "", "acceptable_aliases": [], "bounces_address": + "test-bounces@example.org", "next_digest_number": 1, "default_nonmember_action": + "hold", "reply_goes_to_list": "no_munging", "created_at": "2015-04-17T21:06:36.091279", + "convert_html_to_plaintext": false, "display_name": "Test", "autorespond_requests": + "none", "no_reply_address": "noreply@example.org", "digest_last_sent_at": + null}'} headers: content-length: ['1627'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:24 GMT'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2292,30 +205,31 @@ 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"}'} + body: {string: !!python/unicode '{"list_name": "test", "default_member_action": + "defer", "anonymous_list": false, "autorespond_postings": "none", "advertised": + true, "reply_to_address": "", "send_welcome_message": true, "autorespond_owner": + "none", "autoresponse_request_text": "", "web_host": "example.org", "autoresponse_grace_period": + "90d", "volume": 1, "digest_size_threshold": 30.0, "request_address": "test-request@example.org", + "posting_address": "test@example.org", "first_strip_reply_to": false, "http_etag": + "\"5bec8629f56043f9353337168030dc506fceac83\"", "administrivia": true, "mail_host": + "example.org", "include_rfc2369_headers": true, "admin_immed_notify": true, + "posting_pipeline": "default-posting-pipeline", "collapse_alternatives": true, + "autoresponse_postings_text": "", "admin_notify_mchanges": false, "last_post_at": + null, "filter_content": false, "autoresponse_owner_text": "", "join_address": + "test-join@example.org", "scheme": "http", "subscription_policy": "confirm", + "welcome_message_uri": "mailman:///welcome.txt", "post_id": 1, "fqdn_listname": + "test@example.org", "allow_list_posts": true, "subject_prefix": "[Test] ", + "owner_address": "test-owner@example.org", "archive_policy": "public", "leave_address": + "test-leave@example.org", "description": "", "acceptable_aliases": [], "bounces_address": + "test-bounces@example.org", "next_digest_number": 1, "default_nonmember_action": + "hold", "reply_goes_to_list": "no_munging", "created_at": "2015-04-17T21:06:36.091279", + "convert_html_to_plaintext": false, "display_name": "Test", "autorespond_requests": + "none", "no_reply_address": "noreply@example.org", "digest_last_sent_at": + null}'} headers: content-length: ['1627'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:24 GMT'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2327,30 +241,31 @@ 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"}'} + body: {string: !!python/unicode '{"list_name": "test", "default_member_action": + "defer", "anonymous_list": false, "autorespond_postings": "none", "advertised": + true, "reply_to_address": "", "send_welcome_message": true, "autorespond_owner": + "none", "autoresponse_request_text": "", "web_host": "example.org", "autoresponse_grace_period": + "90d", "volume": 1, "digest_size_threshold": 30.0, "request_address": "test-request@example.org", + "posting_address": "test@example.org", "first_strip_reply_to": false, "http_etag": + "\"5bec8629f56043f9353337168030dc506fceac83\"", "administrivia": true, "mail_host": + "example.org", "include_rfc2369_headers": true, "admin_immed_notify": true, + "posting_pipeline": "default-posting-pipeline", "collapse_alternatives": true, + "autoresponse_postings_text": "", "admin_notify_mchanges": false, "last_post_at": + null, "filter_content": false, "autoresponse_owner_text": "", "join_address": + "test-join@example.org", "scheme": "http", "subscription_policy": "confirm", + "welcome_message_uri": "mailman:///welcome.txt", "post_id": 1, "fqdn_listname": + "test@example.org", "allow_list_posts": true, "subject_prefix": "[Test] ", + "owner_address": "test-owner@example.org", "archive_policy": "public", "leave_address": + "test-leave@example.org", "description": "", "acceptable_aliases": [], "bounces_address": + "test-bounces@example.org", "next_digest_number": 1, "default_nonmember_action": + "hold", "reply_goes_to_list": "no_munging", "created_at": "2015-04-17T21:06:36.091279", + "convert_html_to_plaintext": false, "display_name": "Test", "autorespond_requests": + "none", "no_reply_address": "noreply@example.org", "digest_last_sent_at": + null}'} headers: content-length: ['1627'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:24 GMT'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2365,7 +280,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:45:25 GMT'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -2380,7 +295,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:45:25 GMT'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -2396,7 +311,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:45:25 GMT'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] location: ['http://localhost:9001/3.0/domains/example.org'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -2409,13 +324,14 @@ 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"}'} + body: {string: !!python/unicode '{"mail_host": "example.org", "description": null, + "base_url": "http://example.org", "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\"", + "self_link": "http://localhost:9001/3.0/domains/example.org", "url_host": + "example.org"}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:26 GMT'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2431,7 +347,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:45:26 GMT'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] location: ['http://localhost:9001/3.0/lists/test.example.org'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -2444,15 +360,14 @@ 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"}'} + body: {string: !!python/unicode '{"list_name": "test", "volume": 1, "list_id": + "test.example.org", "self_link": "http://localhost:9001/3.0/lists/test.example.org", + "fqdn_listname": "test@example.org", "mail_host": "example.org", "member_count": + 0, "display_name": "Test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} headers: content-length: ['299'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:26 GMT'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2464,15 +379,14 @@ 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"}'} + body: {string: !!python/unicode '{"list_name": "test", "volume": 1, "list_id": + "test.example.org", "self_link": "http://localhost:9001/3.0/lists/test.example.org", + "fqdn_listname": "test@example.org", "mail_host": "example.org", "member_count": + 0, "display_name": "Test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} headers: content-length: ['299'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:45:26 GMT'] + date: ['Fri, 17 Apr 2015 21:06:36 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -2487,7 +401,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:45:27 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -2502,7 +416,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:45:27 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 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_subscription.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_subscription.yaml new file mode 100644 index 0000000..264490d --- /dev/null +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_subscription.yaml @@ -0,0 +1,269 @@ +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: ['Fri, 17 Apr 2015 21:06:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.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, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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: ['Fri, 17 Apr 2015 21:06: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", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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: ['Fri, 17 Apr 2015 21:06:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=open_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: ['Fri, 17 Apr 2015 21:06:29 GMT'] + location: ['http://localhost:9001/3.0/lists/open_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/open_list.example.com + response: + body: {string: !!python/unicode '{"list_name": "open_list", "volume": 1, "list_id": + "open_list.example.com", "self_link": "http://localhost:9001/3.0/lists/open_list.example.com", + "fqdn_listname": "open_list@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Open_list", "http_etag": "\"6726e101e1dd1de6043eee72f741d4c2479f4735\""}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 17 Apr 2015 21:06: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/open_list@example.com/config + response: + body: {string: !!python/unicode '{"list_name": "open_list", "default_member_action": + "defer", "anonymous_list": false, "autorespond_postings": "none", "advertised": + true, "reply_to_address": "", "send_welcome_message": true, "autorespond_owner": + "none", "autoresponse_request_text": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "volume": 1, "digest_size_threshold": 30.0, "request_address": "open_list-request@example.com", + "posting_address": "open_list@example.com", "first_strip_reply_to": false, + "http_etag": "\"4949c883ec5b6f02d74c3bdb9e8d491c964eb20a\"", "administrivia": + true, "mail_host": "example.com", "include_rfc2369_headers": true, "admin_immed_notify": + true, "posting_pipeline": "default-posting-pipeline", "collapse_alternatives": + true, "autoresponse_postings_text": "", "admin_notify_mchanges": false, "last_post_at": + null, "filter_content": false, "autoresponse_owner_text": "", "join_address": + "open_list-join@example.com", "scheme": "http", "subscription_policy": "confirm", + "welcome_message_uri": "mailman:///welcome.txt", "post_id": 1, "fqdn_listname": + "open_list@example.com", "allow_list_posts": true, "subject_prefix": "[Open_list] + ", "owner_address": "open_list-owner@example.com", "archive_policy": "public", + "leave_address": "open_list-leave@example.com", "description": "", "acceptable_aliases": + [], "bounces_address": "open_list-bounces@example.com", "next_digest_number": + 1, "default_nonmember_action": "hold", "reply_goes_to_list": "no_munging", + "created_at": "2015-04-17T21:06:29.676463", "convert_html_to_plaintext": false, + "display_name": "Open_list", "autorespond_requests": "none", "no_reply_address": + "noreply@example.com", "digest_last_sent_at": null}'} + headers: + content-length: ['1677'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 17 Apr 2015 21:06:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: advertised=True&administrivia=True&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&autorespond_owner=none&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&autorespond_requests=none&default_nonmember_action=hold&subject_prefix=%5BOpen_list%5D+&admin_notify_mchanges=False&include_rfc2369_headers=True&description=&reply_to_address=&anonymous_list=False&autoresponse_postings_text=&send_welcome_message=True&convert_html_to_plaintext=False&filter_content=False&default_member_action=defer&reply_goes_to_list=no_munging&display_name=Open_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/open_list@example.com/config + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Fri, 17 Apr 2015 21:06: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/open_list.example.com + response: + body: {string: !!python/unicode '{"list_name": "open_list", "volume": 1, "list_id": + "open_list.example.com", "self_link": "http://localhost:9001/3.0/lists/open_list.example.com", + "fqdn_listname": "open_list@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Open_list", "http_etag": "\"6726e101e1dd1de6043eee72f741d4c2479f4735\""}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 17 Apr 2015 21:06: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/open_list.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: ['Fri, 17 Apr 2015 21:06: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/open_list.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: ['Fri, 17 Apr 2015 21:06:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: pre_verified=True&list_id=open_list.example.com&display_name=None&pre_confirmed=True&subscriber=fritz%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/members + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Fri, 17 Apr 2015 21:06:30 GMT'] + location: ['http://localhost:9001/3.0/members/219379763871340832809046435098342039931'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 201, message: Created} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/open_list@example.com/roster/member + response: + body: {string: !!python/unicode '{"http_etag": "\"2bcb03c8560a7d7b0de36a5573530e7b34734f6a\"", + "total_size": 1, "entries": [{"delivery_mode": "regular", "role": "member", + "email": "fritz@example.org", "address": "http://localhost:9001/3.0/addresses/fritz@example.org", + "list_id": "open_list.example.com", "http_etag": "\"487ae31099afaa824f32e8272c026094cff7f856\"", + "member_id": 219379763871340832809046435098342039931, "user": "http://localhost:9001/3.0/users/45245778716836160890668793583968810730", + "self_link": "http://localhost:9001/3.0/members/219379763871340832809046435098342039931"}], + "start": 0}'} + headers: + content-length: ['572'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 17 Apr 2015 21:06: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/open_list@example.com/requests + 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: ['Fri, 17 Apr 2015 21:06: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/open_list@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Fri, 17 Apr 2015 21:06:30 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_subscription_moderate.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_subscription_moderate.yaml new file mode 100644 index 0000000..c95f3a7 --- /dev/null +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_subscription_moderate.yaml @@ -0,0 +1,268 @@ +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: ['Fri, 17 Apr 2015 21:06:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 400, message: Bad Request} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.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, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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: ['Fri, 17 Apr 2015 21:06: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", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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: ['Fri, 17 Apr 2015 21:06:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: fqdn_listname=moderate_subs%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: ['Fri, 17 Apr 2015 21:06:29 GMT'] + location: ['http://localhost:9001/3.0/lists/moderate_subs.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/moderate_subs.example.com + response: + body: {string: !!python/unicode '{"list_name": "moderate_subs", "volume": 1, "list_id": + "moderate_subs.example.com", "self_link": "http://localhost:9001/3.0/lists/moderate_subs.example.com", + "fqdn_listname": "moderate_subs@example.com", "mail_host": "example.com", + "member_count": 0, "display_name": "Moderate_subs", "http_etag": "\"4cf5a031a451ad84a54e4c708cacda8e676e617f\""}'} + headers: + content-length: ['344'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 17 Apr 2015 21:06: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/moderate_subs@example.com/config + response: + body: {string: !!python/unicode '{"list_name": "moderate_subs", "default_member_action": + "defer", "anonymous_list": false, "autorespond_postings": "none", "advertised": + true, "reply_to_address": "", "send_welcome_message": true, "autorespond_owner": + "none", "autoresponse_request_text": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "volume": 1, "digest_size_threshold": 30.0, "request_address": "moderate_subs-request@example.com", + "posting_address": "moderate_subs@example.com", "first_strip_reply_to": false, + "http_etag": "\"9b93ebb3a0223bb225b30f8793f6ad3f3c937b4c\"", "administrivia": + true, "mail_host": "example.com", "include_rfc2369_headers": true, "admin_immed_notify": + true, "posting_pipeline": "default-posting-pipeline", "collapse_alternatives": + true, "autoresponse_postings_text": "", "admin_notify_mchanges": false, "last_post_at": + null, "filter_content": false, "autoresponse_owner_text": "", "join_address": + "moderate_subs-join@example.com", "scheme": "http", "subscription_policy": + "confirm", "welcome_message_uri": "mailman:///welcome.txt", "post_id": 1, + "fqdn_listname": "moderate_subs@example.com", "allow_list_posts": true, "subject_prefix": + "[Moderate_subs] ", "owner_address": "moderate_subs-owner@example.com", "archive_policy": + "public", "leave_address": "moderate_subs-leave@example.com", "description": + "", "acceptable_aliases": [], "bounces_address": "moderate_subs-bounces@example.com", + "next_digest_number": 1, "default_nonmember_action": "hold", "reply_goes_to_list": + "no_munging", "created_at": "2015-04-17T21:06:29.031666", "convert_html_to_plaintext": + false, "display_name": "Moderate_subs", "autorespond_requests": "none", "no_reply_address": + "noreply@example.com", "digest_last_sent_at": null}'} + headers: + content-length: ['1717'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 17 Apr 2015 21:06:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: advertised=True&administrivia=True&subscription_policy=moderate&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&autorespond_owner=none&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&autorespond_requests=none&default_nonmember_action=hold&subject_prefix=%5BModerate_subs%5D+&admin_notify_mchanges=False&include_rfc2369_headers=True&description=&reply_to_address=&anonymous_list=False&autoresponse_postings_text=&send_welcome_message=True&convert_html_to_plaintext=False&filter_content=False&default_member_action=defer&reply_goes_to_list=no_munging&display_name=Moderate_subs + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'content-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/moderate_subs@example.com/config + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Fri, 17 Apr 2015 21:06: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/moderate_subs.example.com + response: + body: {string: !!python/unicode '{"list_name": "moderate_subs", "volume": 1, "list_id": + "moderate_subs.example.com", "self_link": "http://localhost:9001/3.0/lists/moderate_subs.example.com", + "fqdn_listname": "moderate_subs@example.com", "mail_host": "example.com", + "member_count": 0, "display_name": "Moderate_subs", "http_etag": "\"4cf5a031a451ad84a54e4c708cacda8e676e617f\""}'} + headers: + content-length: ['344'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 17 Apr 2015 21:06: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/moderate_subs.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: ['Fri, 17 Apr 2015 21:06: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/moderate_subs.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: ['Fri, 17 Apr 2015 21:06:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: pre_verified=True&list_id=moderate_subs.example.com&display_name=None&pre_confirmed=True&subscriber=fritz%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/members + response: + body: {string: !!python/unicode '{"token_owner": "moderator", "token": "0d68d98345d6f9e6aeff7b07fbcb9b38d32e3d99", + "http_etag": "\"35c29bdc6bed1e508941e196bef439f518b6bb9d\""}'} + headers: + content-length: ['142'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 17 Apr 2015 21:06:29 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b2'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/moderate_subs@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: ['Fri, 17 Apr 2015 21:06: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/moderate_subs@example.com/requests + response: + body: {string: !!python/unicode '{"http_etag": "\"9db1bd05d994bb92bac0e2d60006db385b1109e3\"", + "total_size": 1, "entries": [{"http_etag": "\"36d7b15da47d1fb264f929b7f6a105c5a3e81743\"", + "email": "fritz@example.org", "list_id": "moderate_subs.example.com", "when": + "2015-04-17T21:06:29", "display_name": "None", "token_owner": "moderator", + "token": "0d68d98345d6f9e6aeff7b07fbcb9b38d32e3d99"}], "start": 0}'} + headers: + content-length: ['372'] + content-type: [application/json; charset=utf-8] + date: ['Fri, 17 Apr 2015 21:06: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/moderate_subs@example.com + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Fri, 17 Apr 2015 21:06:29 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 80e85eb..f2a2c68 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: ['Thu, 16 Apr 2015 12:01:09 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,13 +25,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:09 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -43,13 +44,14 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: - 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}'} + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", + "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 12:01:09 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -65,7 +67,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 12:01:09 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -78,14 +80,14 @@ 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\""}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:09 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -98,11 +100,11 @@ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", - "start": 0, "total_size": 0}'} + "total_size": 0, "start": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:09 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -115,11 +117,11 @@ uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", - "start": 0, "total_size": 0}'} + "total_size": 0, "start": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:09 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -132,11 +134,11 @@ 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}'} + "total_size": 0, "start": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:09 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -148,30 +150,30 @@ 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"}'} + body: {string: !!python/unicode '{"list_name": "foo", "default_member_action": + "defer", "anonymous_list": false, "autorespond_postings": "none", "advertised": + true, "reply_to_address": "", "send_welcome_message": true, "autorespond_owner": + "none", "autoresponse_request_text": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "volume": 1, "digest_size_threshold": 30.0, "request_address": "foo-request@example.com", + "posting_address": "foo@example.com", "first_strip_reply_to": false, "http_etag": + "\"b455b28a01cbf6d739201ca283c72fe1d4d9ac0d\"", "administrivia": true, "mail_host": + "example.com", "include_rfc2369_headers": true, "admin_immed_notify": true, + "posting_pipeline": "default-posting-pipeline", "collapse_alternatives": true, + "autoresponse_postings_text": "", "admin_notify_mchanges": false, "last_post_at": + null, "filter_content": false, "autoresponse_owner_text": "", "join_address": + "foo-join@example.com", "scheme": "http", "subscription_policy": "confirm", + "welcome_message_uri": "mailman:///welcome.txt", "post_id": 1, "fqdn_listname": + "foo@example.com", "allow_list_posts": true, "subject_prefix": "[Foo] ", "owner_address": + "foo-owner@example.com", "archive_policy": "public", "leave_address": "foo-leave@example.com", + "description": "", "acceptable_aliases": [], "bounces_address": "foo-bounces@example.com", + "next_digest_number": 1, "default_nonmember_action": "hold", "reply_goes_to_list": + "no_munging", "created_at": "2015-04-17T21:06:37.251533", "convert_html_to_plaintext": + false, "display_name": "Foo", "autorespond_requests": "none", "no_reply_address": + "noreply@example.com", "digest_last_sent_at": null}'} headers: content-length: ['1617'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 12:01:09 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -183,529 +185,30 @@ 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"}'} + body: {string: !!python/unicode '{"list_name": "foo", "default_member_action": + "defer", "anonymous_list": false, "autorespond_postings": "none", "advertised": + true, "reply_to_address": "", "send_welcome_message": true, "autorespond_owner": + "none", "autoresponse_request_text": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "volume": 1, "digest_size_threshold": 30.0, "request_address": "foo-request@example.com", + "posting_address": "foo@example.com", "first_strip_reply_to": false, "http_etag": + "\"b455b28a01cbf6d739201ca283c72fe1d4d9ac0d\"", "administrivia": true, "mail_host": + "example.com", "include_rfc2369_headers": true, "admin_immed_notify": true, + "posting_pipeline": "default-posting-pipeline", "collapse_alternatives": true, + "autoresponse_postings_text": "", "admin_notify_mchanges": false, "last_post_at": + null, "filter_content": false, "autoresponse_owner_text": "", "join_address": + "foo-join@example.com", "scheme": "http", "subscription_policy": "confirm", + "welcome_message_uri": "mailman:///welcome.txt", "post_id": 1, "fqdn_listname": + "foo@example.com", "allow_list_posts": true, "subject_prefix": "[Foo] ", "owner_address": + "foo-owner@example.com", "archive_policy": "public", "leave_address": "foo-leave@example.com", + "description": "", "acceptable_aliases": [], "bounces_address": "foo-bounces@example.com", + "next_digest_number": 1, "default_nonmember_action": "hold", "reply_goes_to_list": + "no_munging", "created_at": "2015-04-17T21:06:37.251533", "convert_html_to_plaintext": + false, "display_name": "Foo", "autorespond_requests": "none", "no_reply_address": + "noreply@example.com", "digest_last_sent_at": null}'} 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: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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_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: ['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 - 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: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 '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: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 12:01: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", "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: ['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/domains/example.com - response: - 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: ['Thu, 16 Apr 2015 12:01:10 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: fqdn_listname=foo%40example.com - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.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 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} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-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: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 - 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: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: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-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: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!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_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: ['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 - 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: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 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'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -718,15 +221,15 @@ 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"}]}'} + "total_size": 1, "entries": [{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], + "start": 0}'} headers: content-length: ['399'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:35 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -738,15 +241,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", "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"}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:35 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -761,7 +263,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:19:35 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -778,7 +280,7 @@ headers: content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:35 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -790,14 +292,14 @@ 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\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": - "example.com", "description": null}'} + "example.com"}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:35 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -809,14 +311,14 @@ 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\"", + body: {string: !!python/unicode '{"mail_host": "example.com", "description": null, + "base_url": "http://example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "self_link": "http://localhost:9001/3.0/domains/example.com", "url_host": - "example.com", "description": null}'} + "example.com"}'} headers: content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:35 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -832,7 +334,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Thu, 16 Apr 2015 16:19:35 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -845,15 +347,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", "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"}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:35 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -865,12 +366,12 @@ 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}'} + 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:19:35 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -882,30 +383,30 @@ 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}'} + body: {string: !!python/unicode '{"list_name": "foo", "default_member_action": + "defer", "anonymous_list": false, "autorespond_postings": "none", "advertised": + true, "reply_to_address": "", "send_welcome_message": true, "autorespond_owner": + "none", "autoresponse_request_text": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "volume": 1, "digest_size_threshold": 30.0, "request_address": "foo-request@example.com", + "posting_address": "foo@example.com", "first_strip_reply_to": false, "http_etag": + "\"4add483b459686140ce72de3c4f3ace80abba461\"", "administrivia": true, "mail_host": + "example.com", "include_rfc2369_headers": true, "admin_immed_notify": true, + "posting_pipeline": "default-posting-pipeline", "collapse_alternatives": true, + "autoresponse_postings_text": "", "admin_notify_mchanges": false, "last_post_at": + null, "filter_content": false, "autoresponse_owner_text": "", "join_address": + "foo-join@example.com", "scheme": "http", "subscription_policy": "confirm", + "welcome_message_uri": "mailman:///welcome.txt", "post_id": 1, "fqdn_listname": + "foo@example.com", "allow_list_posts": true, "subject_prefix": "[Foo] ", "owner_address": + "foo-owner@example.com", "archive_policy": "public", "leave_address": "foo-leave@example.com", + "description": "", "acceptable_aliases": [], "bounces_address": "foo-bounces@example.com", + "next_digest_number": 1, "default_nonmember_action": "hold", "reply_goes_to_list": + "no_munging", "created_at": "2015-04-17T21:06:37.760035", "convert_html_to_plaintext": + false, "display_name": "Foo", "autorespond_requests": "none", "no_reply_address": + "noreply@example.com", "digest_last_sent_at": null}'} headers: content-length: ['1617'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:36 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -917,30 +418,30 @@ 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}'} + body: {string: !!python/unicode '{"list_name": "foo", "default_member_action": + "defer", "anonymous_list": false, "autorespond_postings": "none", "advertised": + true, "reply_to_address": "", "send_welcome_message": true, "autorespond_owner": + "none", "autoresponse_request_text": "", "web_host": "example.com", "autoresponse_grace_period": + "90d", "volume": 1, "digest_size_threshold": 30.0, "request_address": "foo-request@example.com", + "posting_address": "foo@example.com", "first_strip_reply_to": false, "http_etag": + "\"4add483b459686140ce72de3c4f3ace80abba461\"", "administrivia": true, "mail_host": + "example.com", "include_rfc2369_headers": true, "admin_immed_notify": true, + "posting_pipeline": "default-posting-pipeline", "collapse_alternatives": true, + "autoresponse_postings_text": "", "admin_notify_mchanges": false, "last_post_at": + null, "filter_content": false, "autoresponse_owner_text": "", "join_address": + "foo-join@example.com", "scheme": "http", "subscription_policy": "confirm", + "welcome_message_uri": "mailman:///welcome.txt", "post_id": 1, "fqdn_listname": + "foo@example.com", "allow_list_posts": true, "subject_prefix": "[Foo] ", "owner_address": + "foo-owner@example.com", "archive_policy": "public", "leave_address": "foo-leave@example.com", + "description": "", "acceptable_aliases": [], "bounces_address": "foo-bounces@example.com", + "next_digest_number": 1, "default_nonmember_action": "hold", "reply_goes_to_list": + "no_munging", "created_at": "2015-04-17T21:06:37.760035", "convert_html_to_plaintext": + false, "display_name": "Foo", "autorespond_requests": "none", "no_reply_address": + "noreply@example.com", "digest_last_sent_at": null}'} headers: content-length: ['1617'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:19:36 GMT'] + date: ['Fri, 17 Apr 2015 21:06:37 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -953,783 +454,15 @@ 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\"", + "total_size": 1, "entries": [{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], "start": 0}'} headers: content-length: ['399'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:42:24 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1741,14 +474,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", "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"}'} + body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": + "foo.example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", + "fqdn_listname": "foo@example.com", "mail_host": "example.com", "member_count": + 0, "display_name": "Foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Thu, 16 Apr 2015 16:42:24 GMT'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1763,1242 +496,7 @@ 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'] + date: ['Fri, 17 Apr 2015 21:06:38 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} version: 1