Newer
Older
postorius / src / postorius / tests / fixtures / vcr_cassettes / test_list_archival_options_disable_archiver.yaml
@Abhilash Raj Abhilash Raj on 16 Apr 2015 5 KB rebased trunk
interactions:
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/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 '{"self_link": "http://localhost:9001/3.0/lists/test_list.example.com",
        "mail_host": "example.com", "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"",
        "member_count": 0, "volume": 1, "list_id": "test_list.example.com", "fqdn_listname":
        "test_list@example.com", "list_name": "test_list", "display_name": "Test_list"}'}
    headers:
      content-length: ['324']
      content-type: [application/json; charset=utf-8]
      date: ['Thu, 16 Apr 2015 01:51:36 GMT']
      server: [WSGIServer/0.2 CPython/3.4.3]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/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, "prototype": false, "http_etag":
        "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", "mail-archive": true}'}
    headers:
      content-length: ['121']
      content-type: [application/json; charset=utf-8]
      date: ['Thu, 16 Apr 2015 01:51:36 GMT']
      server: [WSGIServer/0.2 CPython/3.4.3]
    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 01:51:36 GMT']
      server: [WSGIServer/0.2 CPython/3.4.3]
    status: {code: 204, message: No Content}
- 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 01:51:37 GMT']
      server: [WSGIServer/0.2 CPython/3.4.3]
    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 01:51:37 GMT']
      server: [WSGIServer/0.2 CPython/3.4.3]
    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, "prototype": false, "http_etag":
        "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", "mail-archive": false}'}
    headers:
      content-length: ['121']
      content-type: [application/json; charset=utf-8]
      date: ['Thu, 16 Apr 2015 01:51:37 GMT']
      server: [WSGIServer/0.2 CPython/3.4.3]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      accept-encoding: ['gzip, deflate']
      !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz']
      !!python/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, "prototype": false, "http_etag":
        "\"95f97f6e3c57d856b8048a96844ddc64a972f96d\"", "mail-archive": false}'}
    headers:
      content-length: ['121']
      content-type: [application/json; charset=utf-8]
      date: ['Thu, 16 Apr 2015 01:51:37 GMT']
      server: [WSGIServer/0.2 CPython/3.4.3]
    status: {code: 200, message: OK}
version: 1