interactions: - request: body: mail_host=example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] 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] status: {code: 400, message: Bad Request} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: body: {string: !!python/unicode '{"base_url": "http://example.com", "description": null, "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "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] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: body: {string: !!python/unicode '{"base_url": "http://example.com", "description": null, "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "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] status: {code: 200, message: OK} - request: body: fqdn_listname=foo%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/lists response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] status: {code: 201, message: Created} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: body: {string: !!python/unicode '{"display_name": "Foo", "fqdn_listname": "foo@example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_id": "foo.example.com", "list_name": "foo", "mail_host": "example.com", "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": 1}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] 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 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/members response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/members/9'] 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 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/members response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/members/10'] status: {code: 201, message: Created} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'DELETE' uri: http://localhost:9001/3.0/lists/foo@example.com response: body: {string: !!python/unicode ''} headers: content-length: ['0'] status: {code: 204, message: No Content} - request: body: mail_host=example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] 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] status: {code: 400, message: Bad Request} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: body: {string: !!python/unicode '{"base_url": "http://example.com", "description": null, "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "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] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: body: {string: !!python/unicode '{"base_url": "http://example.com", "description": null, "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "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] status: {code: 200, message: OK} - request: body: fqdn_listname=foo%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/lists response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] status: {code: 201, message: Created} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: body: {string: !!python/unicode '{"display_name": "Foo", "fqdn_listname": "foo@example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_id": "foo.example.com", "list_name": "foo", "mail_host": "example.com", "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": 1}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] 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 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/members response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/members/11'] 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 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/members response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/members/12'] status: {code: 201, message: Created} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'DELETE' uri: http://localhost:9001/3.0/lists/foo@example.com response: body: {string: !!python/unicode ''} headers: content-length: ['0'] status: {code: 204, message: No Content} - request: body: mail_host=example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] 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] status: {code: 400, message: Bad Request} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: body: {string: !!python/unicode '{"base_url": "http://example.com", "description": null, "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "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] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: body: {string: !!python/unicode '{"base_url": "http://example.com", "description": null, "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "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] status: {code: 200, message: OK} - request: body: fqdn_listname=foo%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/lists response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] status: {code: 201, message: Created} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: body: {string: !!python/unicode '{"display_name": "Foo", "fqdn_listname": "foo@example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_id": "foo.example.com", "list_name": "foo", "mail_host": "example.com", "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": 1}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] 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 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/members response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/members/13'] 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 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/members response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/members/14'] status: {code: 201, message: Created} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'DELETE' uri: http://localhost:9001/3.0/lists/foo@example.com response: body: {string: !!python/unicode ''} headers: content-length: ['0'] status: {code: 204, message: No Content} - request: body: mail_host=example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] 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] status: {code: 400, message: Bad Request} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: body: {string: !!python/unicode '{"base_url": "http://example.com", "description": null, "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "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] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: body: {string: !!python/unicode '{"base_url": "http://example.com", "description": null, "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "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] status: {code: 200, message: OK} - request: body: fqdn_listname=foo%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/lists response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] status: {code: 201, message: Created} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: body: {string: !!python/unicode '{"display_name": "Foo", "fqdn_listname": "foo@example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_id": "foo.example.com", "list_name": "foo", "mail_host": "example.com", "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": 1}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] 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 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/members response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/members/15'] 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 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/members response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/members/16'] status: {code: 201, message: Created} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: body: {string: !!python/unicode '{"display_name": "Foo", "fqdn_listname": "foo@example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_id": "foo.example.com", "list_name": "foo", "mail_host": "example.com", "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": 1}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/users/test@example.com response: body: {string: !!python/unicode '404 Not Found'} headers: content-length: ['13'] content-type: [application/json; charset=utf-8] status: {code: 404, message: Not Found} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/owner@example.com", "delivery_mode": "regular", "email": "owner@example.com", "http_etag": "\"4836d2dd1f4a635e0c2c68676401e7aac4b041d2\"", "list_id": "foo.example.com", "member_id": 15, "moderation_action": "accept", "role": "owner", "self_link": "http://localhost:9001/3.0/members/15", "user": "http://localhost:9001/3.0/users/5"}], "http_etag": "\"7fda7ca54850aa6bcc32a857e05f1b67f4fd112c\"", "start": 0, "total_size": 1}'} headers: content-length: ['485'] content-type: [application/json; charset=utf-8] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/moderator@example.com", "delivery_mode": "regular", "email": "moderator@example.com", "http_etag": "\"e37384d6114ae66b8992af01f6cdac80a8a1518d\"", "list_id": "foo.example.com", "member_id": 16, "moderation_action": "accept", "role": "moderator", "self_link": "http://localhost:9001/3.0/members/16", "user": "http://localhost:9001/3.0/users/6"}], "http_etag": "\"05883ee672508b5b66a3270c4c9f215e08d264b2\"", "start": 0, "total_size": 1}'} headers: content-length: ['497'] content-type: [application/json; charset=utf-8] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'DELETE' uri: http://localhost:9001/3.0/lists/foo@example.com response: body: {string: !!python/unicode ''} headers: content-length: ['0'] status: {code: 204, message: No Content} - request: body: mail_host=example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] 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] status: {code: 400, message: Bad Request} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: body: {string: !!python/unicode '{"base_url": "http://example.com", "description": null, "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "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] status: {code: 200, message: OK} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains/example.com response: body: {string: !!python/unicode '{"base_url": "http://example.com", "description": null, "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\"", "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] status: {code: 200, message: OK} - request: body: fqdn_listname=foo%40example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/lists response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] status: {code: 201, message: Created} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: body: {string: !!python/unicode '{"display_name": "Foo", "fqdn_listname": "foo@example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "list_id": "foo.example.com", "list_name": "foo", "mail_host": "example.com", "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": 1}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] 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 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/members response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/members/17'] 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 'content-type': [!!python/unicode 'application/x-www-form-urlencoded'] method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/members response: body: {string: !!python/unicode ''} headers: content-length: ['0'] location: ['http://localhost:9001/3.0/members/18'] status: {code: 201, message: Created} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'DELETE' uri: http://localhost:9001/3.0/lists/foo@example.com response: body: {string: !!python/unicode ''} headers: content-length: ['0'] status: {code: 204, message: No Content} version: 1