interactions: - request: body: !!python/unicode '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 ''} headers: content-length: ['0'] content-type: [application/json; charset=UTF-8] location: ['http://localhost:9001/3.0/domains/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/domains/example.com response: body: {string: !!python/unicode '{"description": null, "http_etag": "\"d150abd34fabbcef42a2c654bfac81aa04ea4d6f\"", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} headers: content-length: ['172'] content-type: [application/json; charset=UTF-8] status: {code: 200, message: OK} - request: body: !!python/unicode 'fqdn_listname=test_list%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'] content-type: [application/json; charset=UTF-8] location: ['http://localhost:9001/3.0/lists/test_list.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/test_list.example.com response: body: {string: !!python/unicode '{"display_name": "Test_list", "fqdn_listname": "test_list@example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "list_id": "test_list.example.com", "list_name": "test_list", "mail_host": "example.com", "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "volume": 1}'} headers: content-length: ['324'] content-type: [application/json; charset=UTF-8] status: {code: 200, message: OK} - request: body: !!python/unicode 'email=banned%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/test_list.example.com/bans response: body: {string: !!python/unicode ''} headers: content-length: ['0'] content-type: [application/json; charset=UTF-8] location: ['http://localhost:9001/3.0/lists/test_list.example.com/bans/banned@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/test_list.example.com/bans/banned@example.com response: body: {string: !!python/unicode '{"email": "banned@example.com", "http_etag": "\"f97c7e71d9d67fe90f1f8d98429c3fa6a5c76f3d\"", "list_id": "test_list.example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com/bans/banned@example.com"}'} headers: content-length: ['222'] 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/test_list.example.com response: body: {string: !!python/unicode '{"display_name": "Test_list", "fqdn_listname": "test_list@example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "list_id": "test_list.example.com", "list_name": "test_list", "mail_host": "example.com", "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "volume": 1}'} headers: content-length: ['324'] content-type: [application/json; charset=UTF-8] status: {code: 200, message: OK} - request: body: !!python/unicode 'email=banned%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/test_list.example.com/bans response: body: {string: !!python/unicode 'Address is already banned'} headers: content-length: ['25'] 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/lists/test_list.example.com response: body: {string: !!python/unicode '{"display_name": "Test_list", "fqdn_listname": "test_list@example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", "list_id": "test_list.example.com", "list_name": "test_list", "mail_host": "example.com", "member_count": 0, "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "volume": 1}'} headers: content-length: ['324'] 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/test_list.example.com/bans response: body: {string: !!python/unicode '{"entries": [{"email": "banned@example.com", "http_etag": "\"f97c7e71d9d67fe90f1f8d98429c3fa6a5c76f3d\"", "list_id": "test_list.example.com", "self_link": "http://localhost:9001/3.0/lists/test_list.example.com/bans/banned@example.com"}], "http_etag": "\"3f2107d752512a58b966f626957a8a21f2280abd\"", "start": 0, "total_size": 1}'} headers: content-length: ['327'] 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 response: body: {string: !!python/unicode '{"entries": [{"description": null, "http_etag": "\"d150abd34fabbcef42a2c654bfac81aa04ea4d6f\"", "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}], "http_etag": "\"2ec9679269ad1f741705a62db0162f5585ae5c3c\"", "start": 0, "total_size": 1}'} headers: content-length: ['277'] 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/domains/example.com response: body: {string: !!python/unicode ''} headers: content-length: ['0'] status: {code: 204, message: No Content} - request: body: null headers: accept-encoding: ['gzip, deflate'] method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/users response: body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", "start": 0, "total_size": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=UTF-8] status: {code: 200, message: OK} version: 1