interactions:
- 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=newowner%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/1971']
    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/roster/owner
  response:
    body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/newowner@example.com",
        "delivery_mode": "regular", "email": "newowner@example.com", "http_etag":
        "\"513c7d01147ef6fddf1c2d19cd20ccd2f9bdd0db\"", "list_id": "foo.example.com",
        "member_id": 1971, "moderation_action": "accept", "role": "owner", "self_link":
        "http://localhost:9001/3.0/members/1971", "user": "http://localhost:9001/3.0/users/1287"},
        {"address": "http://localhost:9001/3.0/addresses/su@example.com", "delivery_mode":
        "regular", "email": "su@example.com", "http_etag": "\"c31af7c971c9c83870e8d3d3f7c89889e6e19fcb\"",
        "list_id": "foo.example.com", "member_id": 1970, "moderation_action": "accept",
        "role": "owner", "self_link": "http://localhost:9001/3.0/members/1970", "user":
        "http://localhost:9001/3.0/users/1286"}], "http_etag": "\"08b611af5ade0a22ee45dbcbcc24b60cf347297b\"",
        "start": 0, "total_size": 2}'}
    headers:
      content-length: ['881']
      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/owner
  response:
    body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/newowner@example.com",
        "delivery_mode": "regular", "email": "newowner@example.com", "http_etag":
        "\"513c7d01147ef6fddf1c2d19cd20ccd2f9bdd0db\"", "list_id": "foo.example.com",
        "member_id": 1971, "moderation_action": "accept", "role": "owner", "self_link":
        "http://localhost:9001/3.0/members/1971", "user": "http://localhost:9001/3.0/users/1287"},
        {"address": "http://localhost:9001/3.0/addresses/su@example.com", "delivery_mode":
        "regular", "email": "su@example.com", "http_etag": "\"c31af7c971c9c83870e8d3d3f7c89889e6e19fcb\"",
        "list_id": "foo.example.com", "member_id": 1970, "moderation_action": "accept",
        "role": "owner", "self_link": "http://localhost:9001/3.0/members/1970", "user":
        "http://localhost:9001/3.0/users/1286"}], "http_etag": "\"08b611af5ade0a22ee45dbcbcc24b60cf347297b\"",
        "start": 0, "total_size": 2}'}
    headers:
      content-length: ['881']
      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
  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/lists/foo.example.com/roster/owner
  response:
    body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/newowner@example.com",
        "delivery_mode": "regular", "email": "newowner@example.com", "http_etag":
        "\"513c7d01147ef6fddf1c2d19cd20ccd2f9bdd0db\"", "list_id": "foo.example.com",
        "member_id": 1971, "moderation_action": "accept", "role": "owner", "self_link":
        "http://localhost:9001/3.0/members/1971", "user": "http://localhost:9001/3.0/users/1287"},
        {"address": "http://localhost:9001/3.0/addresses/su@example.com", "delivery_mode":
        "regular", "email": "su@example.com", "http_etag": "\"c31af7c971c9c83870e8d3d3f7c89889e6e19fcb\"",
        "list_id": "foo.example.com", "member_id": 1970, "moderation_action": "accept",
        "role": "owner", "self_link": "http://localhost:9001/3.0/members/1970", "user":
        "http://localhost:9001/3.0/users/1286"}], "http_etag": "\"08b611af5ade0a22ee45dbcbcc24b60cf347297b\"",
        "start": 0, "total_size": 2}'}
    headers:
      content-length: ['881']
      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/owner/newowner@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/lists/foo.example.com/roster/owner
  response:
    body: {string: !!python/unicode '{"entries": [{"address": "http://localhost:9001/3.0/addresses/su@example.com",
        "delivery_mode": "regular", "email": "su@example.com", "http_etag": "\"c31af7c971c9c83870e8d3d3f7c89889e6e19fcb\"",
        "list_id": "foo.example.com", "member_id": 1970, "moderation_action": "accept",
        "role": "owner", "self_link": "http://localhost:9001/3.0/members/1970", "user":
        "http://localhost:9001/3.0/users/1286"}], "http_etag": "\"ceaad0fdd6047de716d23fc158c2dbcbb3ef7910\"",
        "start": 0, "total_size": 1}'}
    headers:
      content-length: ['486']
      content-type: [application/json; charset=utf-8]
    status: {code: 200, message: OK}
version: 1
