diff --git a/dev-requirements.txt b/dev-requirements.txt index 56cf461..e3d882a 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,5 +1,4 @@ tox mock -django-nose coverage==3.7.1 vcrpy diff --git a/setup.py b/setup.py index 0ae9bdf..8dcca73 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ packages=find_packages('src'), package_dir={'': 'src'}, include_package_data=True, - install_requires=['django>=1.5', + install_requires=['django>=1.5, <1.8', 'django-browserid', 'mailmanclient'] ) diff --git a/src/postorius/auth/decorators.py b/src/postorius/auth/decorators.py index fed0033..80f39dc 100644 --- a/src/postorius/auth/decorators.py +++ b/src/postorius/auth/decorators.py @@ -88,7 +88,12 @@ user.email not in mlist.owners: raise PermissionDenied else: - user.is_list_moderator = True + if user.email in mlist.moderators and \ + user.email not in mlist.owners: + user.is_list_moderator = True + else: + user.is_list_moderator = True + user.is_list_owner = True return fn(*args, **kwargs) return wrapper diff --git a/src/postorius/doc/news.rst b/src/postorius/doc/news.rst index ce4c260..824807a 100644 --- a/src/postorius/doc/news.rst +++ b/src/postorius/doc/news.rst @@ -20,9 +20,9 @@ along with Postorius. If not, see . -1.0 beta 2 -========== -(2015-xx-xx) +1.0.0 +===== +(2015-04-xx) * French translation. Provided by Guillaume Libersat * Addedd an improved test harness using WebTest. Contributed by AurĂ©lien Bompard. @@ -37,6 +37,8 @@ * Rework of internal testing * Mozilla Persona integration: switch from django-social-auto to django-browserid: Contributed by Abhilash Raj. * Fix manage.py mmclient command for non-IPython shells. Contributed by Ankush Sharma (LP: 1428169). +* Added archiver options: Site-wide enabled archivers can not be enabled +on a per-list basis through the web UI. 1.0 beta 1 -- "Year of the Parrot" diff --git a/src/postorius/forms.py b/src/postorius/forms.py index 13bad30..536194a 100644 --- a/src/postorius/forms.py +++ b/src/postorius/forms.py @@ -20,7 +20,6 @@ from django.core.validators import validate_email, URLValidator from django.utils.translation import gettext_lazy as _ from fieldset_forms import FieldsetForm -from django.forms.models import modelformset_factory class DomainNew(FieldsetForm): @@ -672,6 +671,20 @@ ] +class ListArchiverForm(forms.Form): + """ + Select archivers for a list. + """ + archivers = forms.MultipleChoiceField( + widget=forms.CheckboxSelectMultiple, + label=_('Activate archivers for this list')) + + def __init__(self, archivers, *args, **kwargs): + super(ListArchiverForm, self).__init__(*args, **kwargs) + self.fields['archivers'].choices = sorted( + [(key, key) for key in archivers.keys()]) + + class Login(FieldsetForm): """Form fields to let the user log in. @@ -913,5 +926,6 @@ email = cleaned_data.get('email') user_email = cleaned_data.get('user_email') if email == user_email: - raise forms.ValidationError(_('Please provide a different email address than your own.')) + raise forms.ValidationError(_('Please provide a different email ' + 'address than your own.')) return cleaned_data diff --git a/src/postorius/models.py b/src/postorius/models.py index c21147b..295cd24 100644 --- a/src/postorius/models.py +++ b/src/postorius/models.py @@ -26,6 +26,7 @@ from datetime import datetime, timedelta from django.conf import settings from django.contrib.auth.models import User +from django.core.exceptions import ImproperlyConfigured from django.core.urlresolvers import reverse from django.core.mail import send_mail from django.db import models @@ -227,7 +228,7 @@ def __unicode__(self): return u'Address Confirmation Profile for {0}'.format(self.email) - + @property def is_expired(self): """ @@ -261,13 +262,13 @@ The following settings are recognized: >>> EMAIL_CONFIRMATION_TEMPLATE = 'postorius/address_confirmation_message.txt' - >>> EMAIL_CONFIRMATION_FROM = 'Confirmation needed' - >>> EMAIL_CONFIRMATION_SUBJECT = 'postmaster@list.org' + >>> EMAIL_CONFIRMATION_FROM = 'postmaster@list.org' + >>> EMAIL_CONFIRMATION_SUBJECT = 'Confirmation needed' :param request: The HTTP request object. - :type request: HTTPRequest + :type request: HTTPRequest :param template_context: The context used when rendering the template. - Falls back to host url and activation link. + Falls back to host url and activation link. :type template_context: django.template.Context """ # create the host url and the activation link need for the template @@ -276,7 +277,7 @@ url = reverse('address_activation_link', kwargs={'activation_key': self.activation_key}) activation_link = '{0}{1}'.format(host_url, url) - # Detect the right template path, either from the param, + # Detect the right template path, either from the param, # the setting or the default if not template_path: template_path = getattr(settings, @@ -289,7 +290,18 @@ {'activation_link': activation_link, 'host_url': host_url}) email_subject = getattr( settings, 'EMAIL_CONFIRMATION_SUBJECT', u'Confirmation needed') + try: + sender_address = getattr(settings, 'EMAIL_CONFIRMATION_FROM') + except AttributeError: + # settings.EMAIL_CONFIRMATION_FROM is not defined, fallback + # settings.DEFAULT_EMAIL_FROM as mentioned in the django + # docs. If that also fails, raise a `ImproperlyConfigured` Error. + try: + sender_address = getattr(settings, 'DEFAULT_FROM_EMAIL') + except AttributeError: + raise ImproperlyConfigured + send_mail(email_subject, get_template(template_path).render(template_context), - getattr(settings, 'EMAIL_CONFIRMATION_FROM'), + sender_address, [self.email]) diff --git a/src/postorius/static/postorius/css/style.css b/src/postorius/static/postorius/css/style.css index c3bbf3a..6ad2f13 100755 --- a/src/postorius/static/postorius/css/style.css +++ b/src/postorius/static/postorius/css/style.css @@ -290,3 +290,12 @@ /* Internet Explorer */ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); } + +/* archival options */ +.well .archival-options-form ul { + margin-top: 15px; + margin-bottom: 15px; +} +.well .archival-options-form li { + display: block; +} diff --git a/src/postorius/templates/postorius/base.html b/src/postorius/templates/postorius/base.html index 308231b..3218a44 100644 --- a/src/postorius/templates/postorius/base.html +++ b/src/postorius/templates/postorius/base.html @@ -3,7 +3,7 @@ - + Mailman/Postorius @@ -13,7 +13,6 @@ - @@ -46,7 +45,7 @@ {% if messages %} {% endif %} diff --git a/src/postorius/templates/postorius/domain_index.html b/src/postorius/templates/postorius/domain_index.html index 4feb1d3..771d238 100644 --- a/src/postorius/templates/postorius/domain_index.html +++ b/src/postorius/templates/postorius/domain_index.html @@ -13,7 +13,6 @@ {% trans "Mail Host" %} {% trans "URL Host" %} - {% trans "Contact Address" %} {% trans "Description" %}   @@ -23,7 +22,6 @@ {{ domain.mail_host }} {{ domain.base_url }} - {{ domain.contact_address }} {{ domain.description }} {% trans 'Delete' %} diff --git a/src/postorius/templates/postorius/lists/archival_options.html b/src/postorius/templates/postorius/lists/archival_options.html new file mode 100644 index 0000000..99f0594 --- /dev/null +++ b/src/postorius/templates/postorius/lists/archival_options.html @@ -0,0 +1,23 @@ +{% extends postorius_base_template %} +{% load url from future %} +{% load i18n %} +{% load nav_helpers %} + +{% block main %} + {% if message %}

{{ message }}

{% endif %} + {% list_nav 'list_archival_options' 'Archivers' %} + +

{% trans 'Archivers' %}

+ +
+ +
{% csrf_token %} +
+ {{ form }} +
+ +
+ +
+ +{% endblock %} diff --git a/src/postorius/templates/postorius/lists/memberoptions.html b/src/postorius/templates/postorius/lists/memberoptions.html index 766fc89..ffaa700 100644 --- a/src/postorius/templates/postorius/lists/memberoptions.html +++ b/src/postorius/templates/postorius/lists/memberoptions.html @@ -4,7 +4,7 @@ {% load nav_helpers %} {% block main %} - {% list_nav '' '' %} + {% list_nav '' 'Member Options' %} {% if not user.is_superuser or not user.is_list_owner %}
diff --git a/src/postorius/templates/postorius/lists/summary.html b/src/postorius/templates/postorius/lists/summary.html index f6b0fec..99fc33a 100644 --- a/src/postorius/templates/postorius/lists/summary.html +++ b/src/postorius/templates/postorius/lists/summary.html @@ -6,7 +6,7 @@ {% block body_class %}list_summary{% endblock %} {% block main %} - {% if user.is_superuser %} + {% if user.is_superuser or user.is_list_owner or user.is_list_moderator %} {% include 'postorius/menu/list_nav.html' %} {% endif %}

{{list.display_name}}

diff --git a/src/postorius/templates/postorius/login.html b/src/postorius/templates/postorius/login.html index a139223..d469816 100644 --- a/src/postorius/templates/postorius/login.html +++ b/src/postorius/templates/postorius/login.html @@ -20,7 +20,8 @@
- + + @@ -38,22 +39,5 @@ {% endblock %} {% block additionaljs %} - - - - - - - + {% browserid_js %} {% endblock additionaljs %} diff --git a/src/postorius/templates/postorius/menu/list_nav.html b/src/postorius/templates/postorius/menu/list_nav.html index 1af4c90..4311652 100644 --- a/src/postorius/templates/postorius/menu/list_nav.html +++ b/src/postorius/templates/postorius/menu/list_nav.html @@ -9,16 +9,19 @@ {% if user.is_superuser or user.is_list_owner %}
  • {% trans "Members" %}
  • {% endif %} - {% if user.is_superuser or user.is_list_moderator %} + {% if user.is_superuser or user.is_list_owner or user.is_list_moderator %}
  • {% trans "Held Messages" %}
  • {% endif %} {% if user.is_superuser or user.is_list_owner %}
  • {% trans "Settings" %}
  • {% endif %} - {% if user.is_superuser or user.is_list_moderator %} + {% if user.is_superuser or user.is_list_owner %}
  • {% trans "Mass Subscribe" %}
  • {% endif %} {% if user.is_superuser or user.is_list_owner %} +
  • {% trans "Archivers" %}
  • + {% endif %} + {% if user.is_superuser or user.is_list_owner %}
  • {% trans "Delete List" %}
  • {% endif %} diff --git a/src/postorius/templates/postorius/user_address_activation_sent.html b/src/postorius/templates/postorius/user_address_activation_sent.html index 72cb84f..a369f77 100644 --- a/src/postorius/templates/postorius/user_address_activation_sent.html +++ b/src/postorius/templates/postorius/user_address_activation_sent.html @@ -7,4 +7,3 @@

    {% trans 'Email address activation sent' %}

    {% trans "A confirmation link has been sent to the email address you submitted. Please check your email account and click on the confirmation link to add this address for your account." %}

    {% endblock main %} - diff --git a/src/postorius/tests/fixtures/vcr_cassettes/archival_options.yaml b/src/postorius/tests/fixtures/vcr_cassettes/archival_options.yaml new file mode 100644 index 0000000..25cd67b --- /dev/null +++ b/src/postorius/tests/fixtures/vcr_cassettes/archival_options.yaml @@ -0,0 +1,144 @@ +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.0b1'] + 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: ['Tue, 14 Apr 2015 14:06:43 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.0b1'] + 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", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06: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.0b1'] + 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", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06:43 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.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 14 Apr 2015 14:06:43 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.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name": + "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com", + "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "mail_host": "example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"prototype": false, "http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", + "mail-archive": true, "mhonarc": false}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name": + "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com", + "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "mail_host": "example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- request: + body: null + headers: + accept-encoding: ['gzip, deflate'] + !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] + !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] + 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: ['Tue, 14 Apr 2015 14:06:44 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 fe48e57..d89a143 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/list_members_access.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/list_members_access.yaml @@ -9,11 +9,11 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:42 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,14 +25,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:42 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -44,14 +43,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:42 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -67,7 +65,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:43 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -80,14 +78,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:43 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -103,8 +102,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:43 GMT'] - location: ['http://localhost:9001/3.0/members/51131740294581548284355020148792105068'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] + location: ['http://localhost:9001/3.0/members/124890213139466760105429918036490469479'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -120,8 +119,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:43 GMT'] - location: ['http://localhost:9001/3.0/members/315404612538100455510291362215943819827'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] + location: ['http://localhost:9001/3.0/members/206325990385381910032739802248649985909'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -136,7 +135,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:43 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -149,11 +148,11 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:43 GMT'] + date: ['Tue, 14 Apr 2015 14:06:46 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -165,14 +164,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:43 GMT'] + date: ['Tue, 14 Apr 2015 14:06:46 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -184,14 +182,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:43 GMT'] + date: ['Tue, 14 Apr 2015 14:06:46 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -207,7 +204,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:43 GMT'] + date: ['Tue, 14 Apr 2015 14:06: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} @@ -220,14 +217,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:44 GMT'] + date: ['Tue, 14 Apr 2015 14:06:46 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -243,8 +241,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:44 GMT'] - location: ['http://localhost:9001/3.0/members/211877927659145775206600140988891673117'] + date: ['Tue, 14 Apr 2015 14:06:46 GMT'] + location: ['http://localhost:9001/3.0/members/271197788401890622416968078499546357068'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -260,8 +258,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:44 GMT'] - location: ['http://localhost:9001/3.0/members/74561224102330491648556315669152982006'] + date: ['Tue, 14 Apr 2015 14:06:46 GMT'] + location: ['http://localhost:9001/3.0/members/254395777215768869811410387635804292179'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -276,7 +274,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:44 GMT'] + date: ['Tue, 14 Apr 2015 14:06:46 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -289,11 +287,11 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:44 GMT'] + date: ['Tue, 14 Apr 2015 14:06:46 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -305,14 +303,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:44 GMT'] + date: ['Tue, 14 Apr 2015 14:06:46 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -324,14 +321,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:44 GMT'] + date: ['Tue, 14 Apr 2015 14:06:46 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -347,7 +343,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:45 GMT'] + date: ['Tue, 14 Apr 2015 14:06: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} @@ -360,14 +356,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:45 GMT'] + date: ['Tue, 14 Apr 2015 14:06:47 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -383,8 +380,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:45 GMT'] - location: ['http://localhost:9001/3.0/members/189690441823108454574062063218711796982'] + date: ['Tue, 14 Apr 2015 14:06:47 GMT'] + location: ['http://localhost:9001/3.0/members/236410511523409246334469919959663501944'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -400,8 +397,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:45 GMT'] - location: ['http://localhost:9001/3.0/members/81343349406634969036125684320138449398'] + date: ['Tue, 14 Apr 2015 14:06:47 GMT'] + location: ['http://localhost:9001/3.0/members/67261536029514454111362639682498065147'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -416,7 +413,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:46 GMT'] + date: ['Tue, 14 Apr 2015 14:06:47 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -429,11 +426,11 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:46 GMT'] + date: ['Tue, 14 Apr 2015 14:06:47 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -445,14 +442,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:46 GMT'] + date: ['Tue, 14 Apr 2015 14:06:47 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -464,14 +460,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:46 GMT'] + date: ['Tue, 14 Apr 2015 14:06:47 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -487,7 +482,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:46 GMT'] + date: ['Tue, 14 Apr 2015 14:06:47 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -500,14 +495,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:46 GMT'] + date: ['Tue, 14 Apr 2015 14:06:47 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -523,8 +519,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:46 GMT'] - location: ['http://localhost:9001/3.0/members/302114124225989209497433745109755591667'] + date: ['Tue, 14 Apr 2015 14:06:48 GMT'] + location: ['http://localhost:9001/3.0/members/130260778846721150623463622726543637576'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -540,8 +536,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:46 GMT'] - location: ['http://localhost:9001/3.0/members/27026617856252199823778113907118398408'] + date: ['Tue, 14 Apr 2015 14:06:48 GMT'] + location: ['http://localhost:9001/3.0/members/167516476475439974321363216976782173374'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -553,14 +549,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:47 GMT'] + date: ['Tue, 14 Apr 2015 14:06:48 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -577,7 +574,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:47 GMT'] + date: ['Tue, 14 Apr 2015 14:06:48 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -589,3442 +586,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"bc31014e4efa51162da6e4705913d4ade2e03e5e\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/302114124225989209497433745109755591667"}], - "start": 0, "http_etag": "\"3bd61206a3bff34f471e9d142aa6598b1a515228\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"d2b4fd919c7938c9f6839b202b1ec8b958149c1b\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/27026617856252199823778113907118398408"}], - "start": 0, "http_etag": "\"999cb0f88e95a2f60eaf9f2a52bdf621bcbabadc\"", "total_size": - 1}'} - headers: - content-length: ['522'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"bc31014e4efa51162da6e4705913d4ade2e03e5e\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/302114124225989209497433745109755591667"}], - "start": 0, "http_etag": "\"3bd61206a3bff34f471e9d142aa6598b1a515228\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:48 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:48 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:48 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:48 GMT'] - location: ['http://localhost:9001/3.0/members/197378444629261385623957419949363207651'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:48 GMT'] - location: ['http://localhost:9001/3.0/members/166464712322506303863131637790195933040'] - 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - 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: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:49 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:25 GMT'] - location: ['http://localhost:9001/3.0/members/244797913804051143835853929351524636009'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:25 GMT'] - location: ['http://localhost:9001/3.0/members/102525541390459730982869997486308770893'] - 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:27 GMT'] - location: ['http://localhost:9001/3.0/members/27819546667938930850026898577773480422'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:27 GMT'] - location: ['http://localhost:9001/3.0/members/165168466525213416762016985258042414357'] - 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:29 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:29 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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=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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:29 GMT'] - location: ['http://localhost:9001/3.0/members/195182540630664540260015601260885860892'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:29 GMT'] - location: ['http://localhost:9001/3.0/members/295278962255027832508590993989762615939'] - 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:31 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:32 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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:32 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30: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} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:32 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:32 GMT'] - location: ['http://localhost:9001/3.0/members/89724284534339699931919493678172076275'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:32 GMT'] - location: ['http://localhost:9001/3.0/members/114045713333209570982757892390609762874'] - 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"f500e323cc32c247e1caf3da1105f06f25bebc33\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/89724284534339699931919493678172076275"}], - "start": 0, "http_etag": "\"5210604650ed6b6d80bc320138972466e6a24f0f\"", "total_size": - 1}'} - headers: - content-length: ['510'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"a74c8a36b1973862251faef3cefc172f30548b8b\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/114045713333209570982757892390609762874"}], - "start": 0, "http_etag": "\"d2f73f2f395511479175a898f6ebab3cb5b9359e\"", "total_size": - 1}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"f500e323cc32c247e1caf3da1105f06f25bebc33\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/89724284534339699931919493678172076275"}], - "start": 0, "http_etag": "\"5210604650ed6b6d80bc320138972466e6a24f0f\"", "total_size": - 1}'} - headers: - content-length: ['510'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:34 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:35 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30: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} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:35 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:35 GMT'] - location: ['http://localhost:9001/3.0/members/244413967208186444252288534150131323831'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:35 GMT'] - location: ['http://localhost:9001/3.0/members/38631203404560858310875460169855847632'] - 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38:07 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:07 GMT'] - location: ['http://localhost:9001/3.0/members/249229789220407054429880693145639655329'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:07 GMT'] - location: ['http://localhost:9001/3.0/members/292200679909721091351580809523244719912'] - 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38:10 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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38:10 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:10 GMT'] - location: ['http://localhost:9001/3.0/members/15582850446470029602244009936412998421'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:10 GMT'] - location: ['http://localhost:9001/3.0/members/220048416367363342535278120276827856999'] - 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:12 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:13 GMT'] - location: ['http://localhost:9001/3.0/members/191425294508940701779318113606479327398'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:14 GMT'] - location: ['http://localhost:9001/3.0/members/95836312751622089455510849030624637337'] - 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38:17 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:17 GMT'] - location: ['http://localhost:9001/3.0/members/102009749043356491854921912856081835597'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:17 GMT'] - location: ['http://localhost:9001/3.0/members/134354901257501071305432677849830051406'] - 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"263386f97d35f9e345163776b0411a131bf6e0af\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/102009749043356491854921912856081835597"}], - "start": 0, "http_etag": "\"8e8684906523558f6f4f6ba96da5d447133b4ade\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"987166ac831a2cee8440b07e03fe2fd76fdf298b\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/134354901257501071305432677849830051406"}], - "start": 0, "http_etag": "\"bfadd914341a9c8abd64d62d6d0b4a7f416e6b02\"", "total_size": - 1}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"263386f97d35f9e345163776b0411a131bf6e0af\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/102009749043356491854921912856081835597"}], - "start": 0, "http_etag": "\"8e8684906523558f6f4f6ba96da5d447133b4ade\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38:22 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:22 GMT'] - location: ['http://localhost:9001/3.0/members/207648210994466675946664407844247143509'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:22 GMT'] - location: ['http://localhost:9001/3.0/members/272777322018096199510096183218019398520'] - 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01:26 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01:26 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:26 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01:26 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:26 GMT'] - location: ['http://localhost:9001/3.0/members/231555231194996662016433524627672962508'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:26 GMT'] - location: ['http://localhost:9001/3.0/members/244667584952145039218331003064067356173'] - 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:30 GMT'] - location: ['http://localhost:9001/3.0/members/163419572633799486019119205366120239761'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:31 GMT'] - location: ['http://localhost:9001/3.0/members/249841082002958347311533808819541101179'] - 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:33 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01:35 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01: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} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01:35 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:35 GMT'] - location: ['http://localhost:9001/3.0/members/257940852299557859703633790663363223688'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:35 GMT'] - location: ['http://localhost:9001/3.0/members/282637221825622393919297264741386273314'] - 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:38 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01:40 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01:40 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:40 GMT'] - location: ['http://localhost:9001/3.0/members/320866441307701057875338118781803712673'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:40 GMT'] - location: ['http://localhost:9001/3.0/members/171355940095428255626415376787868576901'] - 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"7d08267b37545892f2c7bcf27299a833bac2dcaf\"", - "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"54259432b1b368eebaab4cf39d86a6bdd50a529a\"", - "self_link": "http://localhost:9001/3.0/members/320866441307701057875338118781803712673"}], - "start": 0}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"a686b04eba0bacc861229a8da3a09845f27a5ea5\"", - "entries": [{"email": "moderator@example.com", "role": "moderator", "user": - "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"8cad6799066e151bc0b61302d00728ab965f8f0b\"", - "self_link": "http://localhost:9001/3.0/members/171355940095428255626415376787868576901"}], - "start": 0}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"7d08267b37545892f2c7bcf27299a833bac2dcaf\"", - "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"54259432b1b368eebaab4cf39d86a6bdd50a529a\"", - "self_link": "http://localhost:9001/3.0/members/320866441307701057875338118781803712673"}], - "start": 0}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01:47 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01:47 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:47 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01:47 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:47 GMT'] - location: ['http://localhost:9001/3.0/members/339111217010615044307181304523052035249'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:47 GMT'] - location: ['http://localhost:9001/3.0/members/164285594740706742120769891777879290825'] - 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:37 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52: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} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:37 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:37 GMT'] - location: ['http://localhost:9001/3.0/members/153753469666990137450009191023558924870'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:37 GMT'] - location: ['http://localhost:9001/3.0/members/266477769629444206274271434709941298070'] - 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:41 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:43 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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:43 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:43 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:43 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:43 GMT'] - location: ['http://localhost:9001/3.0/members/325162698063039570216805293792898075902'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:43 GMT'] - location: ['http://localhost:9001/3.0/members/278409836023291514297759589394789086471'] - 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:49 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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:49 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:49 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:49 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:49 GMT'] - location: ['http://localhost:9001/3.0/members/225247941354608205613280344496484998484'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:50 GMT'] - location: ['http://localhost:9001/3.0/members/141356931159328251666297277418334502027'] - 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:56 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:56 GMT'] - location: ['http://localhost:9001/3.0/members/161628376476956512619170172732426008945'] - 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:56 GMT'] - location: ['http://localhost:9001/3.0/members/273038746122386539431681212301236659714'] - 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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: ['Tue, 10 Feb 2015 13:52: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"http_etag": "\"922cabf0baca116aa2e0fde5742c0cb135e8dc49\"", - "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + body: {string: !!python/unicode '{"entries": [{"role": "owner", "list_id": "foo.example.com", + "user": "http://localhost:9001/3.0/users/178875461469610954400218294698080347713", "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": - "owner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": - "\"5dbe35c3f60e48d211bc317845bb72917b6af019\"", "self_link": "http://localhost:9001/3.0/members/161628376476956512619170172732426008945", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "owner@example.com", "self_link": "http://localhost:9001/3.0/members/130260778846721150623463622726543637576", + "delivery_mode": "regular", "member_id": 130260778846721150623463622726543637576, + "http_etag": "\"45a9d7656d7b9e218bf397f148c09852873f2917\""}], "start": 0, + "http_etag": "\"16826c471273c8d0352bf341034293891b6a4dff\"", "total_size": + 1}'} headers: - content-length: ['511'] + content-length: ['566'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:58 GMT'] + date: ['Tue, 14 Apr 2015 14:06:48 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -4036,17 +609,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: - body: {string: !!python/unicode '{"http_etag": "\"8c009ec282405ccf133e6e385933bac9233dee69\"", - "entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + body: {string: !!python/unicode '{"entries": [{"role": "moderator", "list_id": + "foo.example.com", "user": "http://localhost:9001/3.0/users/102340090153076935366690295492304488536", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "email": - "moderator@example.com", "list_id": "foo.example.com", "role": "moderator", - "http_etag": "\"d6e611209ed36169f1d80299b5747b733ec47ddf\"", "self_link": - "http://localhost:9001/3.0/members/273038746122386539431681212301236659714", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "moderator@example.com", "self_link": "http://localhost:9001/3.0/members/167516476475439974321363216976782173374", + "delivery_mode": "regular", "member_id": 167516476475439974321363216976782173374, + "http_etag": "\"5f455be3cae66e0ec4a1c44dc61e2a1966e7189d\""}], "start": 0, + "http_etag": "\"060035fbf9b0c0f4f4b7a5332b3cfbd088342779\"", "total_size": + 1}'} headers: - content-length: ['523'] + content-length: ['578'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:58 GMT'] + date: ['Tue, 14 Apr 2015 14:06:48 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -4058,14 +632,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:58 GMT'] + date: ['Tue, 14 Apr 2015 14:06:48 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -4077,16 +652,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"http_etag": "\"922cabf0baca116aa2e0fde5742c0cb135e8dc49\"", - "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + body: {string: !!python/unicode '{"entries": [{"role": "owner", "list_id": "foo.example.com", + "user": "http://localhost:9001/3.0/users/178875461469610954400218294698080347713", "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": - "owner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": - "\"5dbe35c3f60e48d211bc317845bb72917b6af019\"", "self_link": "http://localhost:9001/3.0/members/161628376476956512619170172732426008945", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "owner@example.com", "self_link": "http://localhost:9001/3.0/members/130260778846721150623463622726543637576", + "delivery_mode": "regular", "member_id": 130260778846721150623463622726543637576, + "http_etag": "\"45a9d7656d7b9e218bf397f148c09852873f2917\""}], "start": 0, + "http_etag": "\"16826c471273c8d0352bf341034293891b6a4dff\"", "total_size": + 1}'} headers: - content-length: ['511'] + content-length: ['566'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:58 GMT'] + date: ['Tue, 14 Apr 2015 14:06:48 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -4101,7 +678,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:01 GMT'] + date: ['Tue, 14 Apr 2015 14:06:48 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -4114,11 +691,11 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:03 GMT'] + date: ['Tue, 14 Apr 2015 14:06:48 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -4130,14 +707,13 @@ 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:03 GMT'] + date: ['Tue, 14 Apr 2015 14:06:49 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -4149,14 +725,13 @@ 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:03 GMT'] + date: ['Tue, 14 Apr 2015 14:06:49 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -4172,7 +747,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:03 GMT'] + date: ['Tue, 14 Apr 2015 14:06:49 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -4185,18 +760,19 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:04 GMT'] + date: ['Tue, 14 Apr 2015 14:06:49 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&subscriber=owner%40example.com&list_id=foo.example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -4208,12 +784,12 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:04 GMT'] - location: ['http://localhost:9001/3.0/members/19582364654748066808027698572436268639'] + date: ['Tue, 14 Apr 2015 14:06:49 GMT'] + location: ['http://localhost:9001/3.0/members/270677309294478765077948079756456265929'] 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&subscriber=moderator%40example.com&list_id=foo.example.com headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -4225,8 +801,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:04 GMT'] - location: ['http://localhost:9001/3.0/members/107602510817730715319824743504099634906'] + date: ['Tue, 14 Apr 2015 14:06:49 GMT'] + location: ['http://localhost:9001/3.0/members/319388260762297343692064708570163626520'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -4238,14 +814,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:06 GMT'] + date: ['Tue, 14 Apr 2015 14:06:49 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -4257,12 +834,12 @@ 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}'} + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:06 GMT'] + date: ['Tue, 14 Apr 2015 14:06:49 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -4277,7 +854,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:09 GMT'] + date: ['Tue, 14 Apr 2015 14:06:49 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 a31dc24..a9e8808 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/list_members_page.yaml @@ -8,14 +8,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:43 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -32,7 +33,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:43 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -44,1486 +45,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"df3f058a5062b09bd34fdd1309c4770fc23bf6af\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/51131740294581548284355020148792105068"}], - "start": 0, "http_etag": "\"6f3c9d743da982877ec96a4091cda67548ae7841\"", "total_size": - 1}'} - headers: - content-length: ['510'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"ca001134c429845c04545a511e1e36724c9466b1\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/315404612538100455510291362215943819827"}], - "start": 0, "http_etag": "\"b1eaa605086c82b40cad6f9cec32e6905bdaae5a\"", "total_size": - 1}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"df3f058a5062b09bd34fdd1309c4770fc23bf6af\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/51131740294581548284355020148792105068"}], - "start": 0, "http_etag": "\"6f3c9d743da982877ec96a4091cda67548ae7841\"", "total_size": - 1}'} - headers: - content-length: ['510'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:44 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - 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: ['Mon, 09 Feb 2015 22:14:44 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"a01bc1e1ad719a7fd0246fe5d8b168e4a4e83318\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/211877927659145775206600140988891673117"}], - "start": 0, "http_etag": "\"3a6c60a7c5f07210b22bc50bf788a7448b2757cd\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:44 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"8d5e623a09a9cb6795b8af58b9156add349aa98c\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/74561224102330491648556315669152982006"}], - "start": 0, "http_etag": "\"d5fd56d9e0cc891cc55f9651a75dcc98a65d3808\"", "total_size": - 1}'} - headers: - content-length: ['522'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:44 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"a01bc1e1ad719a7fd0246fe5d8b168e4a4e83318\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/211877927659145775206600140988891673117"}], - "start": 0, "http_etag": "\"3a6c60a7c5f07210b22bc50bf788a7448b2757cd\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:44 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"8d5e623a09a9cb6795b8af58b9156add349aa98c\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/74561224102330491648556315669152982006"}], - "start": 0, "http_etag": "\"d5fd56d9e0cc891cc55f9651a75dcc98a65d3808\"", "total_size": - 1}'} - headers: - content-length: ['522'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:44 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:45 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - 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: ['Mon, 09 Feb 2015 22:14:45 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"e94829a7f9e6a8f7bc75dc68bfb484b527a63204\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/189690441823108454574062063218711796982"}], - "start": 0, "http_etag": "\"6e899141f26da6e91823e84652e2c58c1740db3d\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:45 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"dee160dd996a7982519e9db4a6d7c2b59664bc8b\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/81343349406634969036125684320138449398"}], - "start": 0, "http_etag": "\"3c9c9917602e64986458d3db099199efb36585bf\"", "total_size": - 1}'} - headers: - content-length: ['522'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:45 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"e94829a7f9e6a8f7bc75dc68bfb484b527a63204\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/189690441823108454574062063218711796982"}], - "start": 0, "http_etag": "\"6e899141f26da6e91823e84652e2c58c1740db3d\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:45 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"dee160dd996a7982519e9db4a6d7c2b59664bc8b\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/81343349406634969036125684320138449398"}], - "start": 0, "http_etag": "\"3c9c9917602e64986458d3db099199efb36585bf\"", "total_size": - 1}'} - headers: - content-length: ['522'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:45 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"e2ae538f66a7d1c1f6081718b1b38105f56e0a39\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/244797913804051143835853929351524636009"}], - "start": 0, "http_etag": "\"90ba3a7c6db3474b481b559cd846d21d175a02b7\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"a5d902db6ea01bbe2534501ebfe4950c389573e1\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/102525541390459730982869997486308770893"}], - "start": 0, "http_etag": "\"7d75ee5b463f87125c93eef8e376288c622dcaf1\"", "total_size": - 1}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"e2ae538f66a7d1c1f6081718b1b38105f56e0a39\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/244797913804051143835853929351524636009"}], - "start": 0, "http_etag": "\"90ba3a7c6db3474b481b559cd846d21d175a02b7\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"accdd1affeeb0cf6d9b74378b46082101748fd37\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/27819546667938930850026898577773480422"}], - "start": 0, "http_etag": "\"ef5c352f063d2dc9081e782472f13289ee99e3c5\"", "total_size": - 1}'} - headers: - content-length: ['510'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"b2b07ff9e09133dc692d4c38ad11f8dabbf1c338\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/165168466525213416762016985258042414357"}], - "start": 0, "http_etag": "\"294bc13628155a319901d68902432f39af63b190\"", "total_size": - 1}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"accdd1affeeb0cf6d9b74378b46082101748fd37\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/27819546667938930850026898577773480422"}], - "start": 0, "http_etag": "\"ef5c352f063d2dc9081e782472f13289ee99e3c5\"", "total_size": - 1}'} - headers: - content-length: ['510'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"b2b07ff9e09133dc692d4c38ad11f8dabbf1c338\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/165168466525213416762016985258042414357"}], - "start": 0, "http_etag": "\"294bc13628155a319901d68902432f39af63b190\"", "total_size": - 1}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"9688bf57910af2a5c002ecc92a0c5323af5898ad\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/195182540630664540260015601260885860892"}], - "start": 0, "http_etag": "\"1af597543f38db8c03d50d8de6f964a94390eb98\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"f3ebb0b07393f3d2bf0157f13c726269eef35c26\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/295278962255027832508590993989762615939"}], - "start": 0, "http_etag": "\"0e422785bd209140186861a27f30bf28924bc7ad\"", "total_size": - 1}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"9688bf57910af2a5c002ecc92a0c5323af5898ad\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/195182540630664540260015601260885860892"}], - "start": 0, "http_etag": "\"1af597543f38db8c03d50d8de6f964a94390eb98\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"f3ebb0b07393f3d2bf0157f13c726269eef35c26\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/295278962255027832508590993989762615939"}], - "start": 0, "http_etag": "\"0e422785bd209140186861a27f30bf28924bc7ad\"", "total_size": - 1}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"f71eee0aeee18bbaa144d80501577364fb7774f0\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/249229789220407054429880693145639655329"}], - "start": 0, "http_etag": "\"b7c03a4e05208fa379f356f9a478f287d9bcb0f4\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"364d507f761454d1160ca79552ec31be879ff7ee\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/292200679909721091351580809523244719912"}], - "start": 0, "http_etag": "\"e7a5f40dae210bdc934e72c794a716580022448b\"", "total_size": - 1}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"f71eee0aeee18bbaa144d80501577364fb7774f0\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/249229789220407054429880693145639655329"}], - "start": 0, "http_etag": "\"b7c03a4e05208fa379f356f9a478f287d9bcb0f4\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"c4bfe12738e60f1164e4e44ed066a00200454a3b\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/15582850446470029602244009936412998421"}], - "start": 0, "http_etag": "\"8ad93600ae09b1d67b76b4a7d89e7dc680af95f0\"", "total_size": - 1}'} - headers: - content-length: ['510'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"dd666c392c2a0c9f1a24bb8fe266c8ad7042cd5f\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/220048416367363342535278120276827856999"}], - "start": 0, "http_etag": "\"dc6176f51c40dd6a0529668ceb90a5d411fad38c\"", "total_size": - 1}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"c4bfe12738e60f1164e4e44ed066a00200454a3b\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/15582850446470029602244009936412998421"}], - "start": 0, "http_etag": "\"8ad93600ae09b1d67b76b4a7d89e7dc680af95f0\"", "total_size": - 1}'} - headers: - content-length: ['510'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"dd666c392c2a0c9f1a24bb8fe266c8ad7042cd5f\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/220048416367363342535278120276827856999"}], - "start": 0, "http_etag": "\"dc6176f51c40dd6a0529668ceb90a5d411fad38c\"", "total_size": - 1}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"583bcb0afd748e9f99595d530366fc175b6e605b\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/191425294508940701779318113606479327398"}], - "start": 0, "http_etag": "\"8341da7e96f60abae7dbb83c2e3dd2d7821e8c2f\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"17b219d2ade17a6e3c800de1620a67bcd765fe92\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/95836312751622089455510849030624637337"}], - "start": 0, "http_etag": "\"6803f13440e1f13528ca4c70930da8748aa0a6fb\"", "total_size": - 1}'} - headers: - content-length: ['522'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"583bcb0afd748e9f99595d530366fc175b6e605b\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/191425294508940701779318113606479327398"}], - "start": 0, "http_etag": "\"8341da7e96f60abae7dbb83c2e3dd2d7821e8c2f\"", "total_size": - 1}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "http_etag": "\"17b219d2ade17a6e3c800de1620a67bcd765fe92\"", "role": "moderator", - "email": "moderator@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "self_link": - "http://localhost:9001/3.0/members/95836312751622089455510849030624637337"}], - "start": 0, "http_etag": "\"6803f13440e1f13528ca4c70930da8748aa0a6fb\"", "total_size": - 1}'} - headers: - content-length: ['522'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"f6765a6b20eb1bb9f1e913f534800b3b34e71ebb\"", - "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"3ed5fa1a2a507cd88875031531bf0091fcd99602\"", - "self_link": "http://localhost:9001/3.0/members/231555231194996662016433524627672962508"}], - "start": 0}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"0ad5b97bfceb54dc7c6d92e63ddbf927022d62ca\"", - "entries": [{"email": "moderator@example.com", "role": "moderator", "user": - "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"26fca0a34bbb13a09a4b82078bc72448ca221fb6\"", - "self_link": "http://localhost:9001/3.0/members/244667584952145039218331003064067356173"}], - "start": 0}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"f6765a6b20eb1bb9f1e913f534800b3b34e71ebb\"", - "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"3ed5fa1a2a507cd88875031531bf0091fcd99602\"", - "self_link": "http://localhost:9001/3.0/members/231555231194996662016433524627672962508"}], - "start": 0}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"eb84628d33e609df87af637a7a9fe8b08d2be7cb\"", - "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"037e53a921efce43c091fd7417becd244edff57b\"", - "self_link": "http://localhost:9001/3.0/members/163419572633799486019119205366120239761"}], - "start": 0}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"f0a60274c39954af98f4cb949082ad9611414727\"", - "entries": [{"email": "moderator@example.com", "role": "moderator", "user": - "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"1751b674cfac2c057dfa87eb8293fa59fc7d828b\"", - "self_link": "http://localhost:9001/3.0/members/249841082002958347311533808819541101179"}], - "start": 0}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"eb84628d33e609df87af637a7a9fe8b08d2be7cb\"", - "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"037e53a921efce43c091fd7417becd244edff57b\"", - "self_link": "http://localhost:9001/3.0/members/163419572633799486019119205366120239761"}], - "start": 0}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"f0a60274c39954af98f4cb949082ad9611414727\"", - "entries": [{"email": "moderator@example.com", "role": "moderator", "user": - "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"1751b674cfac2c057dfa87eb8293fa59fc7d828b\"", - "self_link": "http://localhost:9001/3.0/members/249841082002958347311533808819541101179"}], - "start": 0}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"bab6a2d13cc8bfe0dfb0fb592cd776632fda4081\"", - "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"85e6025ed2a424daafea1c27dcc23a8b02a85397\"", - "self_link": "http://localhost:9001/3.0/members/257940852299557859703633790663363223688"}], - "start": 0}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"bcd667710f5061bea414453eef4db60b24a8b897\"", - "entries": [{"email": "moderator@example.com", "role": "moderator", "user": - "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"8c5489aaaec24aaf1c6bff4196cb8e5571849546\"", - "self_link": "http://localhost:9001/3.0/members/282637221825622393919297264741386273314"}], - "start": 0}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"bab6a2d13cc8bfe0dfb0fb592cd776632fda4081\"", - "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"85e6025ed2a424daafea1c27dcc23a8b02a85397\"", - "self_link": "http://localhost:9001/3.0/members/257940852299557859703633790663363223688"}], - "start": 0}'} - headers: - content-length: ['511'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"bcd667710f5061bea414453eef4db60b24a8b897\"", - "entries": [{"email": "moderator@example.com", "role": "moderator", "user": - "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", - "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"8c5489aaaec24aaf1c6bff4196cb8e5571849546\"", - "self_link": "http://localhost:9001/3.0/members/282637221825622393919297264741386273314"}], - "start": 0}'} - headers: - content-length: ['523'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13: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.0b1'] - 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: ['Tue, 10 Feb 2015 13: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"http_etag": "\"def246fb2b7a723199613e4fc33fcec59c7b762c\"", - "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + body: {string: !!python/unicode '{"entries": [{"role": "owner", "list_id": "foo.example.com", + "user": "http://localhost:9001/3.0/users/178875461469610954400218294698080347713", "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": - "owner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": - "\"ccff473b286c30f6fbbb4f05499b6a27a10a46d1\"", "self_link": "http://localhost:9001/3.0/members/153753469666990137450009191023558924870", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "owner@example.com", "self_link": "http://localhost:9001/3.0/members/124890213139466760105429918036490469479", + "delivery_mode": "regular", "member_id": 124890213139466760105429918036490469479, + "http_etag": "\"e13d2797ccd764f6358de77aa595c5588fe983e8\""}], "start": 0, + "http_etag": "\"c6edbb8cef5e19cd507a740a0b5689cc58940f92\"", "total_size": + 1}'} headers: - content-length: ['511'] + content-length: ['566'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:39 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1535,17 +68,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: - body: {string: !!python/unicode '{"http_etag": "\"df2f852105b877a24753dda949bbb70a57fbe085\"", - "entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + body: {string: !!python/unicode '{"entries": [{"role": "moderator", "list_id": + "foo.example.com", "user": "http://localhost:9001/3.0/users/102340090153076935366690295492304488536", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "email": - "moderator@example.com", "list_id": "foo.example.com", "role": "moderator", - "http_etag": "\"2a3d0490107da0a857d6593f91d5a6c8aee982b9\"", "self_link": - "http://localhost:9001/3.0/members/266477769629444206274271434709941298070", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "moderator@example.com", "self_link": "http://localhost:9001/3.0/members/206325990385381910032739802248649985909", + "delivery_mode": "regular", "member_id": 206325990385381910032739802248649985909, + "http_etag": "\"8c33ae1a30f7930c8c3b79b3ad2897a54f253a78\""}], "start": 0, + "http_etag": "\"5fd39b39b21deba396ed5f1e3435f5c66ef1003d\"", "total_size": + 1}'} headers: - content-length: ['523'] + content-length: ['578'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:39 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1557,14 +91,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:39 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1576,16 +111,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"http_etag": "\"def246fb2b7a723199613e4fc33fcec59c7b762c\"", - "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + body: {string: !!python/unicode '{"entries": [{"role": "owner", "list_id": "foo.example.com", + "user": "http://localhost:9001/3.0/users/178875461469610954400218294698080347713", "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": - "owner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": - "\"ccff473b286c30f6fbbb4f05499b6a27a10a46d1\"", "self_link": "http://localhost:9001/3.0/members/153753469666990137450009191023558924870", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "owner@example.com", "self_link": "http://localhost:9001/3.0/members/124890213139466760105429918036490469479", + "delivery_mode": "regular", "member_id": 124890213139466760105429918036490469479, + "http_etag": "\"e13d2797ccd764f6358de77aa595c5588fe983e8\""}], "start": 0, + "http_etag": "\"c6edbb8cef5e19cd507a740a0b5689cc58940f92\"", "total_size": + 1}'} headers: - content-length: ['511'] + content-length: ['566'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:39 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1597,14 +134,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:45 GMT'] + date: ['Tue, 14 Apr 2015 14:06:46 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1616,12 +154,12 @@ 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}'} + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:45 GMT'] + date: ['Tue, 14 Apr 2015 14:06:46 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1633,16 +171,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"http_etag": "\"e6b2f71943867b40793a577ad17dad097f9bd213\"", - "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + body: {string: !!python/unicode '{"entries": [{"role": "owner", "list_id": "foo.example.com", + "user": "http://localhost:9001/3.0/users/178875461469610954400218294698080347713", "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": - "owner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": - "\"dbe71a0c01969e5eb64c740fe53bd1c78773139f\"", "self_link": "http://localhost:9001/3.0/members/325162698063039570216805293792898075902", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "owner@example.com", "self_link": "http://localhost:9001/3.0/members/271197788401890622416968078499546357068", + "delivery_mode": "regular", "member_id": 271197788401890622416968078499546357068, + "http_etag": "\"ef4bb96c1859a5119e3a4c62ec8f580ab4d16a59\""}], "start": 0, + "http_etag": "\"b65c48a9257e8ed842762ac1562254b5efe52d08\"", "total_size": + 1}'} headers: - content-length: ['511'] + content-length: ['566'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:45 GMT'] + date: ['Tue, 14 Apr 2015 14:06:46 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1654,17 +194,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: - body: {string: !!python/unicode '{"http_etag": "\"a23034407b764dee5ce69e838e6f2a0534291189\"", - "entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + body: {string: !!python/unicode '{"entries": [{"role": "moderator", "list_id": + "foo.example.com", "user": "http://localhost:9001/3.0/users/102340090153076935366690295492304488536", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "email": - "moderator@example.com", "list_id": "foo.example.com", "role": "moderator", - "http_etag": "\"618d41b10043c31c120aac787c5cc3090eb7e07f\"", "self_link": - "http://localhost:9001/3.0/members/278409836023291514297759589394789086471", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "moderator@example.com", "self_link": "http://localhost:9001/3.0/members/254395777215768869811410387635804292179", + "delivery_mode": "regular", "member_id": 254395777215768869811410387635804292179, + "http_etag": "\"502c3e6e42270203da08f51d0c8364ec3a5aca7c\""}], "start": 0, + "http_etag": "\"614fa18ea1a5283d4bf0b0a9ec4b33f7650c106c\"", "total_size": + 1}'} headers: - content-length: ['523'] + content-length: ['578'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:45 GMT'] + date: ['Tue, 14 Apr 2015 14:06:46 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1676,16 +217,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"http_etag": "\"e6b2f71943867b40793a577ad17dad097f9bd213\"", - "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + body: {string: !!python/unicode '{"entries": [{"role": "owner", "list_id": "foo.example.com", + "user": "http://localhost:9001/3.0/users/178875461469610954400218294698080347713", "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": - "owner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": - "\"dbe71a0c01969e5eb64c740fe53bd1c78773139f\"", "self_link": "http://localhost:9001/3.0/members/325162698063039570216805293792898075902", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "owner@example.com", "self_link": "http://localhost:9001/3.0/members/271197788401890622416968078499546357068", + "delivery_mode": "regular", "member_id": 271197788401890622416968078499546357068, + "http_etag": "\"ef4bb96c1859a5119e3a4c62ec8f580ab4d16a59\""}], "start": 0, + "http_etag": "\"b65c48a9257e8ed842762ac1562254b5efe52d08\"", "total_size": + 1}'} headers: - content-length: ['511'] + content-length: ['566'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:45 GMT'] + date: ['Tue, 14 Apr 2015 14:06:46 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1697,17 +240,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: - body: {string: !!python/unicode '{"http_etag": "\"a23034407b764dee5ce69e838e6f2a0534291189\"", - "entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + body: {string: !!python/unicode '{"entries": [{"role": "moderator", "list_id": + "foo.example.com", "user": "http://localhost:9001/3.0/users/102340090153076935366690295492304488536", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "email": - "moderator@example.com", "list_id": "foo.example.com", "role": "moderator", - "http_etag": "\"618d41b10043c31c120aac787c5cc3090eb7e07f\"", "self_link": - "http://localhost:9001/3.0/members/278409836023291514297759589394789086471", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "moderator@example.com", "self_link": "http://localhost:9001/3.0/members/254395777215768869811410387635804292179", + "delivery_mode": "regular", "member_id": 254395777215768869811410387635804292179, + "http_etag": "\"502c3e6e42270203da08f51d0c8364ec3a5aca7c\""}], "start": 0, + "http_etag": "\"614fa18ea1a5283d4bf0b0a9ec4b33f7650c106c\"", "total_size": + 1}'} headers: - content-length: ['523'] + content-length: ['578'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:45 GMT'] + date: ['Tue, 14 Apr 2015 14:06:46 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1719,14 +263,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:47 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1738,12 +283,12 @@ 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}'} + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:47 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1755,16 +300,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"http_etag": "\"99f8aea7ac8b7af76abd209892367637a5a48dd3\"", - "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + body: {string: !!python/unicode '{"entries": [{"role": "owner", "list_id": "foo.example.com", + "user": "http://localhost:9001/3.0/users/178875461469610954400218294698080347713", "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": - "owner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": - "\"9c2abf2de0207e7e906662847f6c7ba7db4adc1e\"", "self_link": "http://localhost:9001/3.0/members/225247941354608205613280344496484998484", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "owner@example.com", "self_link": "http://localhost:9001/3.0/members/236410511523409246334469919959663501944", + "delivery_mode": "regular", "member_id": 236410511523409246334469919959663501944, + "http_etag": "\"d189491966a2b9591ae4e229af1e166acc526edb\""}], "start": 0, + "http_etag": "\"75a40a60bdee39db6ed8f958d721f227872e509e\"", "total_size": + 1}'} headers: - content-length: ['511'] + content-length: ['566'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:47 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1776,17 +323,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: - body: {string: !!python/unicode '{"http_etag": "\"f96f2fb113eb22e93c2eff4efe1f0f5ca0b847a6\"", - "entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + body: {string: !!python/unicode '{"entries": [{"role": "moderator", "list_id": + "foo.example.com", "user": "http://localhost:9001/3.0/users/102340090153076935366690295492304488536", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "email": - "moderator@example.com", "list_id": "foo.example.com", "role": "moderator", - "http_etag": "\"f0b4d23de59d745f5cca1446e0403ee06223d881\"", "self_link": - "http://localhost:9001/3.0/members/141356931159328251666297277418334502027", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "moderator@example.com", "self_link": "http://localhost:9001/3.0/members/67261536029514454111362639682498065147", + "delivery_mode": "regular", "member_id": 67261536029514454111362639682498065147, + "http_etag": "\"5e65cf14e04602aa1a9d661a3a0b14ee77a20e5f\""}], "start": 0, + "http_etag": "\"f9f164bb85960aa5f62d444495df223e3cf70245\"", "total_size": + 1}'} headers: - content-length: ['523'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:47 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1798,16 +346,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"http_etag": "\"99f8aea7ac8b7af76abd209892367637a5a48dd3\"", - "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + body: {string: !!python/unicode '{"entries": [{"role": "owner", "list_id": "foo.example.com", + "user": "http://localhost:9001/3.0/users/178875461469610954400218294698080347713", "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": - "owner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": - "\"9c2abf2de0207e7e906662847f6c7ba7db4adc1e\"", "self_link": "http://localhost:9001/3.0/members/225247941354608205613280344496484998484", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "owner@example.com", "self_link": "http://localhost:9001/3.0/members/236410511523409246334469919959663501944", + "delivery_mode": "regular", "member_id": 236410511523409246334469919959663501944, + "http_etag": "\"d189491966a2b9591ae4e229af1e166acc526edb\""}], "start": 0, + "http_etag": "\"75a40a60bdee39db6ed8f958d721f227872e509e\"", "total_size": + 1}'} headers: - content-length: ['511'] + content-length: ['566'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:47 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1819,17 +369,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: - body: {string: !!python/unicode '{"http_etag": "\"f96f2fb113eb22e93c2eff4efe1f0f5ca0b847a6\"", - "entries": [{"user": "http://localhost:9001/3.0/users/72657208221403324359163601797012164031", + body: {string: !!python/unicode '{"entries": [{"role": "moderator", "list_id": + "foo.example.com", "user": "http://localhost:9001/3.0/users/102340090153076935366690295492304488536", "address": "http://localhost:9001/3.0/addresses/moderator@example.com", "email": - "moderator@example.com", "list_id": "foo.example.com", "role": "moderator", - "http_etag": "\"f0b4d23de59d745f5cca1446e0403ee06223d881\"", "self_link": - "http://localhost:9001/3.0/members/141356931159328251666297277418334502027", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "moderator@example.com", "self_link": "http://localhost:9001/3.0/members/67261536029514454111362639682498065147", + "delivery_mode": "regular", "member_id": 67261536029514454111362639682498065147, + "http_etag": "\"5e65cf14e04602aa1a9d661a3a0b14ee77a20e5f\""}], "start": 0, + "http_etag": "\"f9f164bb85960aa5f62d444495df223e3cf70245\"", "total_size": + 1}'} headers: - content-length: ['523'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:47 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.yaml b/src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options.yaml new file mode 100644 index 0000000..b5916ad --- /dev/null +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options.yaml @@ -0,0 +1,390 @@ +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.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/domains + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 14 Apr 2015 14:06:41 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.0b1'] + 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", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06:41 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.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 14 Apr 2015 14:06:41 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.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name": + "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com", + "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "mail_host": "example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06: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.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"prototype": true, "http_etag": "\"3dbbbaad592a043938314db0e5249a1ca71d0dc6\"", + "mail-archive": true, "mhonarc": true}'} + headers: + content-length: ['119'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06: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.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name": + "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com", + "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "mail_host": "example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06: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.0b1'] + 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: ['Tue, 14 Apr 2015 14:06:42 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.0b1'] + 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: ['Tue, 14 Apr 2015 14:06:42 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.0b1'] + 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", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06: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.0b1'] + 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", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06:42 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.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 14 Apr 2015 14:06:42 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.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name": + "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com", + "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "mail_host": "example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06: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.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"prototype": true, "http_etag": "\"3dbbbaad592a043938314db0e5249a1ca71d0dc6\"", + "mail-archive": true, "mhonarc": true}'} + headers: + content-length: ['119'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06: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.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name": + "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com", + "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "mail_host": "example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06: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.0b1'] + 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: ['Tue, 14 Apr 2015 14:06:42 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.0b1'] + 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: ['Tue, 14 Apr 2015 14:06:42 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.0b1'] + 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", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06: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.0b1'] + 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", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} + headers: + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06:42 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.0b1'] + method: !!python/unicode 'POST' + uri: http://localhost:9001/3.0/lists + response: + body: {string: !!python/unicode ''} + headers: + content-length: ['0'] + date: ['Tue, 14 Apr 2015 14:06:42 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.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name": + "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com", + "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "mail_host": "example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06: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.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"prototype": true, "http_etag": "\"3dbbbaad592a043938314db0e5249a1ca71d0dc6\"", + "mail-archive": true, "mhonarc": true}'} + headers: + content-length: ['119'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06: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.0b1'] + 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: ['Tue, 14 Apr 2015 14:06:43 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 new file mode 100644 index 0000000..e455df6 --- /dev/null +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_disable_archiver.yaml @@ -0,0 +1,89 @@ +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.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name": + "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com", + "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "mail_host": "example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06: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.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"prototype": true, "http_etag": "\"3dbbbaad592a043938314db0e5249a1ca71d0dc6\"", + "mail-archive": true, "mhonarc": true}'} + headers: + content-length: ['119'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06:43 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 200, message: OK} +- 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.0b1'] + 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: ['Tue, 14 Apr 2015 14:06: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.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"prototype": true, "http_etag": "\"9f3e82fa9d7dc70277565c9703a90ad3fbeb9a03\"", + "mail-archive": false, "mhonarc": true}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06: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.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"prototype": true, "http_etag": "\"9f3e82fa9d7dc70277565c9703a90ad3fbeb9a03\"", + "mail-archive": false, "mhonarc": true}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06:43 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 new file mode 100644 index 0000000..c02e539 --- /dev/null +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_archival_options_enable_archiver.yaml @@ -0,0 +1,121 @@ +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.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com + response: + body: {string: !!python/unicode '{"member_count": 0, "list_name": "test_list", + "self_link": "http://localhost:9001/3.0/lists/test_list.example.com", "display_name": + "Test_list", "list_id": "test_list.example.com", "fqdn_listname": "test_list@example.com", + "volume": 1, "http_etag": "\"3f02dac6cf71a3be179af5064b09ce668186e785\"", + "mail_host": "example.com"}'} + headers: + content-length: ['324'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06: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.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"prototype": true, "http_etag": "\"9f3e82fa9d7dc70277565c9703a90ad3fbeb9a03\"", + "mail-archive": false, "mhonarc": true}'} + headers: + content-length: ['120'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06:43 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.0b1'] + 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: ['Tue, 14 Apr 2015 14:06:43 GMT'] + server: [WSGIServer/0.2 CPython/3.4.2] + status: {code: 204, message: No Content} +- 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.0b1'] + 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: ['Tue, 14 Apr 2015 14:06:43 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.0b1'] + 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: ['Tue, 14 Apr 2015 14:06: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.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"prototype": false, "http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", + "mail-archive": true, "mhonarc": false}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06: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.0b1'] + method: !!python/unicode 'GET' + uri: http://localhost:9001/3.0/lists/test_list.example.com/archivers + response: + body: {string: !!python/unicode '{"prototype": false, "http_etag": "\"de68e13c430d856461d2b39a5b5d5286d91528bc\"", + "mail-archive": true, "mhonarc": false}'} + headers: + content-length: ['121'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 14 Apr 2015 14:06:43 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 3713584..226166b 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_creation.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_creation.yaml @@ -9,11 +9,11 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,14 +25,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -44,16 +43,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode '{"entries": [{"base_url": "http://example.com", - "mail_host": "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}], - "start": 0, "http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", "total_size": + body: {string: !!python/unicode '{"entries": [{"description": null, "base_url": + "http://example.com", "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}], + "start": 0, "http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", "total_size": 1}'} headers: - content-length: ['383'] + content-length: ['338'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -65,14 +63,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -84,14 +81,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -103,14 +99,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -126,7 +121,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 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} @@ -139,14 +134,15 @@ 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", "display_name": - "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "a_new_list", + "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", "display_name": + "A_new_list", "list_id": "a_new_list.example.com", "fqdn_listname": "a_new_list@example.com", + "volume": 1, "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", + "mail_host": "example.com"}'} headers: content-length: ['329'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -162,8 +158,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:51 GMT'] - location: ['http://localhost:9001/3.0/members/201301032712111293964645665073540073466'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] + location: ['http://localhost:9001/3.0/members/62510532662650498796290941282904599479'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -175,34 +171,34 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "a_new_list-join@example.com", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "a_new_list-owner@example.com", "archive_policy": "public", "mail_host": "example.com", - "no_reply_address": "noreply@example.com", "created_at": "2015-02-09T22:14:51.714036", - "posting_pipeline": "default-posting-pipeline", "display_name": "A_new_list", - "leave_address": "a_new_list-leave@example.com", "fqdn_listname": "a_new_list@example.com", - "autoresponse_request_text": "", "volume": 1, "web_host": "example.com", "bounces_address": - "a_new_list-bounces@example.com", "send_welcome_message": true, "http_etag": - "\"5c317ba46d03974ed3dab2656d0bb5fea8562959\"", "description": "", "welcome_message_uri": - "mailman:///welcome.txt", "posting_address": "a_new_list@example.com", "acceptable_aliases": - [], "next_digest_number": 1, "autoresponse_postings_text": "", "default_member_action": - "defer", "default_nonmember_action": "hold", "reply_to_address": "", "convert_html_to_plaintext": - false, "list_name": "a_new_list", "autorespond_requests": "none", "advertised": - true, "post_id": 1, "anonymous_list": false, "reply_goes_to_list": "no_munging", - "digest_last_sent_at": null, "digest_size_threshold": 30.0, "request_address": - "a_new_list-request@example.com", "filter_content": false, "subject_prefix": - "[A_new_list] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} + body: {string: !!python/unicode '{"autoresponse_grace_period": "90d", "posting_pipeline": + "default-posting-pipeline", "default_member_action": "defer", "list_name": + "a_new_list", "send_welcome_message": true, "digest_last_sent_at": null, "mail_host": + "example.com", "volume": 1, "no_reply_address": "noreply@example.com", "autoresponse_owner_text": + "", "anonymous_list": false, "admin_immed_notify": true, "reply_to_address": + "", "join_address": "a_new_list-join@example.com", "request_address": "a_new_list-request@example.com", + "digest_size_threshold": 30.0, "autorespond_requests": "none", "welcome_message_uri": + "mailman:///welcome.txt", "acceptable_aliases": [], "leave_address": "a_new_list-leave@example.com", + "archive_policy": "public", "admin_notify_mchanges": false, "administrivia": + true, "scheme": "http", "subject_prefix": "[A_new_list] ", "filter_content": + false, "last_post_at": null, "owner_address": "a_new_list-owner@example.com", + "http_etag": "\"d56583816b2b023d4db11ba39c82fc4be4e6f9c7\"", "autoresponse_postings_text": + "", "description": "", "autorespond_owner": "none", "bounces_address": "a_new_list-bounces@example.com", + "allow_list_posts": true, "include_rfc2369_headers": true, "collapse_alternatives": + true, "autoresponse_request_text": "", "advertised": true, "web_host": "example.com", + "display_name": "A_new_list", "fqdn_listname": "a_new_list@example.com", "next_digest_number": + 1, "created_at": "2015-04-14T14:06:52.775442", "autorespond_postings": "none", + "convert_html_to_plaintext": false, "post_id": 1, "first_strip_reply_to": + false, "default_nonmember_action": "hold", "reply_goes_to_list": "no_munging", + "posting_address": "a_new_list@example.com"}'} headers: content-length: ['1653'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: - body: welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&allow_list_posts=True&autoresponse_owner_text=&default_member_action=defer&archive_policy=public&filter_content=False&default_nonmember_action=hold&anonymous_list=False&subject_prefix=%5BA_new_list%5D+&display_name=A_new_list&include_rfc2369_headers=True&reply_to_address=&digest_size_threshold=30.0&advertised=True&autoresponse_grace_period=90d&collapse_alternatives=True&autorespond_postings=none&convert_html_to_plaintext=False&administrivia=True&autorespond_requests=none&send_welcome_message=True&reply_goes_to_list=no_munging&posting_pipeline=default-posting-pipeline&admin_notify_mchanges=False&autorespond_owner=none&description=A+new+list.&admin_immed_notify=True&autoresponse_postings_text=&first_strip_reply_to=False&autoresponse_request_text= + body: autorespond_owner=none&default_member_action=defer&first_strip_reply_to=False&allow_list_posts=True&reply_to_address=&default_nonmember_action=hold&convert_html_to_plaintext=False&posting_pipeline=default-posting-pipeline&autoresponse_postings_text=&description=A+new+list.&admin_notify_mchanges=False&administrivia=True&admin_immed_notify=True&archive_policy=public&autoresponse_owner_text=&display_name=A_new_list&autorespond_postings=none&autorespond_requests=none&digest_size_threshold=30.0&advertised=True&autoresponse_grace_period=90d&collapse_alternatives=True&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&reply_goes_to_list=no_munging&subject_prefix=%5BA_new_list%5D+&anonymous_list=False&send_welcome_message=True&autoresponse_request_text=&include_rfc2369_headers=True&filter_content=False headers: accept-encoding: ['gzip, deflate'] !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] @@ -214,7 +210,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -226,14 +222,15 @@ 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", "display_name": - "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "a_new_list", + "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", "display_name": + "A_new_list", "list_id": "a_new_list.example.com", "fqdn_listname": "a_new_list@example.com", + "volume": 1, "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", + "mail_host": "example.com"}'} headers: content-length: ['329'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -245,1482 +242,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/a_new_list.example.com/roster/owner response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"e2263065a3d09fdd5e65d7eb5d16decb359151b0\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "a_new_list.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/201301032712111293964645665073540073466"}], - "start": 0, "http_etag": "\"91bc9108fa92332e76a08e415db23af9c5fd1bfd\"", "total_size": - 1}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "a_new_list@example.com", - "display_name": "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", - "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}], - "start": 0, "http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\"", "total_size": - 1}'} - headers: - content-length: ['434'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - 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", "display_name": - "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} - headers: - content-length: ['329'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - 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: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:52 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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - 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: ['Mon, 09 Feb 2015 22:14:52 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:43 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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode '{"entries": [{"base_url": "http://example.com", - "mail_host": "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}], - "start": 0, "http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", "total_size": - 1}'} - headers: - content-length: ['383'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:43 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:43 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.0b1'] - 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", "display_name": - "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} - headers: - content-length: ['329'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:43 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:43 GMT'] - location: ['http://localhost:9001/3.0/members/214709187697188409361277673158423388512'] - 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "a_new_list-join@example.com", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "a_new_list-owner@example.com", "archive_policy": "public", "mail_host": "example.com", - "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:30:43.422806", - "posting_pipeline": "default-posting-pipeline", "display_name": "A_new_list", - "leave_address": "a_new_list-leave@example.com", "fqdn_listname": "a_new_list@example.com", - "autoresponse_request_text": "", "volume": 1, "web_host": "example.com", "bounces_address": - "a_new_list-bounces@example.com", "send_welcome_message": true, "http_etag": - "\"4f17f88ecdef08de980eb4f653514024d603f222\"", "description": "", "welcome_message_uri": - "mailman:///welcome.txt", "posting_address": "a_new_list@example.com", "acceptable_aliases": - [], "next_digest_number": 1, "autoresponse_postings_text": "", "default_member_action": - "defer", "default_nonmember_action": "hold", "reply_to_address": "", "convert_html_to_plaintext": - false, "list_name": "a_new_list", "autorespond_requests": "none", "advertised": - true, "post_id": 1, "anonymous_list": false, "reply_goes_to_list": "no_munging", - "digest_last_sent_at": null, "digest_size_threshold": 30.0, "request_address": - "a_new_list-request@example.com", "filter_content": false, "subject_prefix": - "[A_new_list] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1653'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:43 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: autoresponse_grace_period=90d&autoresponse_owner_text=&digest_size_threshold=30.0&advertised=True&autoresponse_postings_text=&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&autoresponse_request_text=&autorespond_owner=none&admin_notify_mchanges=False&autorespond_requests=none&send_welcome_message=True&display_name=A_new_list&autorespond_postings=none&administrivia=True&admin_immed_notify=True&archive_policy=public&include_rfc2369_headers=True&allow_list_posts=True&default_member_action=defer&collapse_alternatives=True&filter_content=False&reply_to_address=&convert_html_to_plaintext=False&anonymous_list=False&subject_prefix=%5BA_new_list%5D+&default_nonmember_action=hold&posting_pipeline=default-posting-pipeline&description=A+new+list.&reply_goes_to_list=no_munging&first_strip_reply_to=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.0b1'] - 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: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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", "display_name": - "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} - headers: - content-length: ['329'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/a_new_list.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"965f3e93ecccd96a6a6841d7b855119beb0a1841\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "a_new_list.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/214709187697188409361277673158423388512"}], - "start": 0, "http_etag": "\"7a5f301ca27c3070b13aae278805e55ce5f61dde\"", "total_size": - 1}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "a_new_list@example.com", - "display_name": "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", - "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}], - "start": 0, "http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\"", "total_size": - 1}'} - headers: - content-length: ['434'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:44 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - 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", "display_name": - "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} - headers: - content-length: ['329'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:44 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - 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: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:44 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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:44 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - 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: ['Tue, 10 Feb 2015 11:30:45 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38:33 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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode '{"entries": [{"base_url": "http://example.com", - "mail_host": "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}], - "start": 0, "http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", "total_size": - 1}'} - headers: - content-length: ['383'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38:33 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:33 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.0b1'] - 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", "display_name": - "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} - headers: - content-length: ['329'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38:33 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: subscriber=owner%40example.com&list_id=a_new_list.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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:33 GMT'] - location: ['http://localhost:9001/3.0/members/51246171761300604641392785553137416355'] - 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "a_new_list-join@example.com", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "a_new_list-owner@example.com", "archive_policy": "public", "mail_host": "example.com", - "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:38:33.726075", - "posting_pipeline": "default-posting-pipeline", "display_name": "A_new_list", - "leave_address": "a_new_list-leave@example.com", "fqdn_listname": "a_new_list@example.com", - "autoresponse_request_text": "", "volume": 1, "web_host": "example.com", "bounces_address": - "a_new_list-bounces@example.com", "send_welcome_message": true, "http_etag": - "\"d38e2ed7b2f96f1cbacc4c2e539eacfae17cb4bc\"", "description": "", "welcome_message_uri": - "mailman:///welcome.txt", "posting_address": "a_new_list@example.com", "acceptable_aliases": - [], "next_digest_number": 1, "autoresponse_postings_text": "", "default_member_action": - "defer", "default_nonmember_action": "hold", "reply_to_address": "", "convert_html_to_plaintext": - false, "list_name": "a_new_list", "autorespond_requests": "none", "advertised": - true, "post_id": 1, "anonymous_list": false, "reply_goes_to_list": "no_munging", - "digest_last_sent_at": null, "digest_size_threshold": 30.0, "request_address": - "a_new_list-request@example.com", "filter_content": false, "subject_prefix": - "[A_new_list] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1653'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38:33 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: send_welcome_message=True&autorespond_requests=none&admin_notify_mchanges=False&autorespond_owner=none&autoresponse_owner_text=&admin_immed_notify=True&administrivia=True&display_name=A_new_list&autorespond_postings=none&allow_list_posts=True&digest_size_threshold=30.0&advertised=True&autoresponse_grace_period=90d&reply_goes_to_list=no_munging&autoresponse_postings_text=&posting_pipeline=default-posting-pipeline&subject_prefix=%5BA_new_list%5D+&default_nonmember_action=hold&anonymous_list=False&first_strip_reply_to=False&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&reply_to_address=&description=A+new+list.&default_member_action=defer&include_rfc2369_headers=True&autoresponse_request_text=&archive_policy=public&convert_html_to_plaintext=False&collapse_alternatives=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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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", "display_name": - "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} - headers: - content-length: ['329'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/a_new_list.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "http_etag": "\"d2f337976e399e7d63b82e465ea5088e8b6498d1\"", "role": "owner", - "email": "owner@example.com", "delivery_mode": "regular", "list_id": "a_new_list.example.com", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "self_link": - "http://localhost:9001/3.0/members/51246171761300604641392785553137416355"}], - "start": 0, "http_etag": "\"aa8cc2059dc0f5a010e6cb17a1413aa3e33924ae\"", "total_size": - 1}'} - headers: - content-length: ['517'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "a_new_list@example.com", - "display_name": "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", - "mail_host": "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}], - "start": 0, "http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\"", "total_size": - 1}'} - headers: - content-length: ['434'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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", "display_name": - "A_new_list", "member_count": 0, "list_id": "a_new_list.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "volume": 1, "list_name": "a_new_list", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} - headers: - content-length: ['329'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38:34 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38:36 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", - "entries": [{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}], "start": 0}'} - headers: - content-length: ['383'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02:02 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:02:02 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/a_new_list.example.com - response: - body: {string: !!python/unicode '{"list_name": "a_new_list", "volume": 1, "list_id": - "a_new_list.example.com", "fqdn_listname": "a_new_list@example.com", "self_link": - "http://localhost:9001/3.0/lists/a_new_list.example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", - "member_count": 0, "mail_host": "example.com", "display_name": "A_new_list"}'} - headers: - content-length: ['329'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02:02 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:02:02 GMT'] - location: ['http://localhost:9001/3.0/members/195615537482228214834061294717975450928'] - 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config - response: - body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": - "hold", "bounces_address": "a_new_list-bounces@example.com", "send_welcome_message": - true, "description": "", "reply_to_address": "", "autoresponse_request_text": - "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": - true, "request_address": "a_new_list-request@example.com", "administrivia": - true, "include_rfc2369_headers": true, "no_reply_address": "noreply@example.com", - "display_name": "A_new_list", "filter_content": false, "acceptable_aliases": - [], "leave_address": "a_new_list-leave@example.com", "autoresponse_owner_text": - "", "post_id": 1, "reply_goes_to_list": "no_munging", "mail_host": "example.com", - "digest_last_sent_at": null, "subject_prefix": "[A_new_list] ", "next_digest_number": - 1, "scheme": "http", "posting_address": "a_new_list@example.com", "autoresponse_postings_text": - "", "created_at": "2015-02-10T12:02:02.757380", "posting_pipeline": "default-posting-pipeline", - "fqdn_listname": "a_new_list@example.com", "http_etag": "\"462113e66cd5975046cb319b69c55596be5935d7\"", - "join_address": "a_new_list-join@example.com", "admin_immed_notify": true, - "autorespond_requests": "none", "list_name": "a_new_list", "web_host": "example.com", - "volume": 1, "advertised": true, "anonymous_list": false, "default_member_action": - "defer", "autorespond_owner": "none", "convert_html_to_plaintext": false, - "digest_size_threshold": 30.0, "welcome_message_uri": "mailman:///welcome.txt", - "first_strip_reply_to": false, "autoresponse_grace_period": "90d", "owner_address": - "a_new_list-owner@example.com", "autorespond_postings": "none", "archive_policy": - "public"}'} - headers: - content-length: ['1653'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02:02 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: posting_pipeline=default-posting-pipeline&collapse_alternatives=True&archive_policy=public&autoresponse_grace_period=90d&description=A+new+list.&admin_notify_mchanges=False&admin_immed_notify=True&anonymous_list=False&reply_goes_to_list=no_munging&allow_list_posts=True&include_rfc2369_headers=True&first_strip_reply_to=False&autoresponse_owner_text=&default_member_action=defer&administrivia=True&display_name=A_new_list&autorespond_postings=none&autoresponse_request_text=&digest_size_threshold=30.0&reply_to_address=&subject_prefix=%5BA_new_list%5D+&autorespond_owner=none&send_welcome_message=True&default_nonmember_action=hold&advertised=True&autoresponse_postings_text=&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&autorespond_requests=none&convert_html_to_plaintext=False&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.0b1'] - 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: ['Tue, 10 Feb 2015 12:02:02 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/a_new_list@example.com - response: - body: {string: !!python/unicode '{"list_name": "a_new_list", "volume": 1, "list_id": - "a_new_list.example.com", "fqdn_listname": "a_new_list@example.com", "self_link": - "http://localhost:9001/3.0/lists/a_new_list.example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", - "member_count": 0, "mail_host": "example.com", "display_name": "A_new_list"}'} - headers: - content-length: ['329'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/a_new_list.example.com/roster/owner - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"252e851e8dd440f1cf4f5a6860e47187be4f8d6b\"", - "entries": [{"email": "owner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", - "address": "http://localhost:9001/3.0/addresses/owner@example.com", "list_id": - "a_new_list.example.com", "delivery_mode": "regular", "http_etag": "\"6ebfc451cf2e4492348b5055ebd732fff1b1f898\"", - "self_link": "http://localhost:9001/3.0/members/195615537482228214834061294717975450928"}], - "start": 0}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\"", - "entries": [{"list_name": "a_new_list", "volume": 1, "list_id": "a_new_list.example.com", - "fqdn_listname": "a_new_list@example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", "member_count": - 0, "mail_host": "example.com", "display_name": "A_new_list"}], "start": 0}'} - headers: - content-length: ['434'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/a_new_list.example.com - response: - body: {string: !!python/unicode '{"list_name": "a_new_list", "volume": 1, "list_id": - "a_new_list.example.com", "fqdn_listname": "a_new_list@example.com", "self_link": - "http://localhost:9001/3.0/lists/a_new_list.example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", - "member_count": 0, "mail_host": "example.com", "display_name": "A_new_list"}'} - headers: - content-length: ['329'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:02:04 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02:05 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:02:05 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode '{"http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", - "entries": [{"self_link": "http://localhost:9001/3.0/domains/example.com", - "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}], "start": 0, "total_size": 1}'} - headers: - content-length: ['383'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:21 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:21 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/a_new_list.example.com - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "a_new_list.example.com", - "display_name": "A_new_list", "list_name": "a_new_list", "fqdn_listname": - "a_new_list@example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "member_count": 0, "mail_host": "example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} - headers: - content-length: ['329'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:21 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:21 GMT'] - location: ['http://localhost:9001/3.0/members/218038233943607081881679570114371030315'] - 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/a_new_list@example.com/config - response: - body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": - true, "autoresponse_owner_text": "", "web_host": "example.com", "http_etag": - "\"d468f03cea8fbe84d824b96d66198de7ea18a152\"", "no_reply_address": "noreply@example.com", - "posting_address": "a_new_list@example.com", "description": "", "allow_list_posts": - true, "administrivia": true, "reply_to_address": "", "last_post_at": null, - "autorespond_requests": "none", "bounces_address": "a_new_list-bounces@example.com", - "fqdn_listname": "a_new_list@example.com", "welcome_message_uri": "mailman:///welcome.txt", - "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": - false, "default_member_action": "defer", "leave_address": "a_new_list-leave@example.com", - "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", - "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": - false, "list_name": "a_new_list", "send_welcome_message": true, "autorespond_postings": - "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": - true, "collapse_alternatives": true, "subject_prefix": "[A_new_list] ", "autoresponse_request_text": - "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": - "a_new_list-join@example.com", "filter_content": false, "digest_last_sent_at": - null, "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": - "", "created_at": "2015-02-10T13:53:21.177124", "convert_html_to_plaintext": - false, "display_name": "A_new_list", "owner_address": "a_new_list-owner@example.com", - "mail_host": "example.com", "request_address": "a_new_list-request@example.com"}'} - headers: - content-length: ['1653'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:21 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: autoresponse_owner_text=&display_name=A_new_list&posting_pipeline=default-posting-pipeline&filter_content=False&digest_size_threshold=30.0&admin_notify_mchanges=False&reply_to_address=&reply_goes_to_list=no_munging&autorespond_owner=none&include_rfc2369_headers=True&send_welcome_message=True&autorespond_postings=none&default_nonmember_action=hold&subject_prefix=%5BA_new_list%5D+&autoresponse_request_text=&archive_policy=public&first_strip_reply_to=False&default_member_action=defer&autoresponse_grace_period=90d&autorespond_requests=none&allow_list_posts=True&administrivia=True&anonymous_list=False&advertised=True&convert_html_to_plaintext=False&description=A+new+list.&welcome_message_uri=mailman%3A%2F%2F%2Fwelcome.txt&autoresponse_postings_text=&admin_immed_notify=True&collapse_alternatives=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.0b1'] - 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: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/a_new_list@example.com - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "a_new_list.example.com", - "display_name": "A_new_list", "list_name": "a_new_list", "fqdn_listname": - "a_new_list@example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "member_count": 0, "mail_host": "example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} - headers: - content-length: ['329'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - 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": "\"945d866118db3816c0fcd68434855c46934301f3\"", - "entries": [{"user": "http://localhost:9001/3.0/users/96573909988922970304746006243506406498", + body: {string: !!python/unicode '{"entries": [{"role": "owner", "list_id": "a_new_list.example.com", + "user": "http://localhost:9001/3.0/users/178875461469610954400218294698080347713", "address": "http://localhost:9001/3.0/addresses/owner@example.com", "email": - "owner@example.com", "list_id": "a_new_list.example.com", "role": "owner", - "http_etag": "\"482099813dd9b782a66ed4d61015e457836d5d68\"", "self_link": - "http://localhost:9001/3.0/members/218038233943607081881679570114371030315", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "owner@example.com", "self_link": "http://localhost:9001/3.0/members/62510532662650498796290941282904599479", + "delivery_mode": "regular", "member_id": 62510532662650498796290941282904599479, + "http_etag": "\"15b28e87a2d11e7d8d923d9a50a349d815730fa0\""}], "start": 0, + "http_etag": "\"7ad82abf9abd09e5998829f78a4be299096ba8a5\"", "total_size": + 1}'} headers: - content-length: ['518'] + content-length: ['571'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:21 GMT'] + date: ['Tue, 14 Apr 2015 14:06:53 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1732,16 +265,16 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists response: - body: {string: !!python/unicode '{"http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\"", - "entries": [{"volume": 1, "list_id": "a_new_list.example.com", "display_name": - "A_new_list", "list_name": "a_new_list", "fqdn_listname": "a_new_list@example.com", - "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", "member_count": - 0, "mail_host": "example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}], - "start": 0, "total_size": 1}'} + body: {string: !!python/unicode '{"entries": [{"member_count": 0, "list_name": + "a_new_list", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", + "display_name": "A_new_list", "list_id": "a_new_list.example.com", "fqdn_listname": + "a_new_list@example.com", "volume": 1, "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", + "mail_host": "example.com"}], "start": 0, "http_etag": "\"dee96dcb9d3f736cc6fa170baeea8f879d7db6f0\"", + "total_size": 1}'} headers: content-length: ['434'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:22 GMT'] + date: ['Tue, 14 Apr 2015 14:06:53 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1753,14 +286,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/a_new_list.example.com response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "a_new_list.example.com", - "display_name": "A_new_list", "list_name": "a_new_list", "fqdn_listname": - "a_new_list@example.com", "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", - "member_count": 0, "mail_host": "example.com", "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "a_new_list", + "self_link": "http://localhost:9001/3.0/lists/a_new_list.example.com", "display_name": + "A_new_list", "list_id": "a_new_list.example.com", "fqdn_listname": "a_new_list@example.com", + "volume": 1, "http_etag": "\"447e005af2b208bfea01f6425b786356f0a374de\"", + "mail_host": "example.com"}'} headers: content-length: ['329'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:22 GMT'] + date: ['Tue, 14 Apr 2015 14:06:53 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1775,7 +309,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:22 GMT'] + date: ['Tue, 14 Apr 2015 14:06:53 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -1788,11 +322,11 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:23 GMT'] + date: ['Tue, 14 Apr 2015 14:06:53 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -1804,14 +338,13 @@ 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:23 GMT'] + date: ['Tue, 14 Apr 2015 14:06:53 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1823,12 +356,12 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists response: - body: {string: !!python/unicode '{"http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", - "start": 0, "total_size": 0}'} + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:24 GMT'] + date: ['Tue, 14 Apr 2015 14:06:53 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 a33fc6e..cb45519 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_index.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_index.yaml @@ -9,11 +9,11 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:40 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,14 +25,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:40 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -44,14 +43,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:40 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -67,7 +65,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:40 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -80,16 +78,16 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists response: - body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", - "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], - "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": - 1}'} + body: {string: !!python/unicode '{"entries": [{"member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo", "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}], "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "total_size": 1}'} headers: content-length: ['399'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -101,14 +99,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -120,29 +119,30 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com/config response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", - "no_reply_address": "noreply@example.com", "created_at": "2015-02-09T22:14:40.942414", - "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": - "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", - "send_welcome_message": true, "http_etag": "\"263d909736126c6ee838554c111f8399e6cad8c6\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "foo-request@example.com", "filter_content": false, - "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} + body: {string: !!python/unicode '{"autoresponse_grace_period": "90d", "posting_pipeline": + "default-posting-pipeline", "default_member_action": "defer", "list_name": + "foo", "send_welcome_message": true, "digest_last_sent_at": null, "mail_host": + "example.com", "volume": 1, "no_reply_address": "noreply@example.com", "autoresponse_owner_text": + "", "anonymous_list": false, "admin_immed_notify": true, "reply_to_address": + "", "join_address": "foo-join@example.com", "request_address": "foo-request@example.com", + "digest_size_threshold": 30.0, "autorespond_requests": "none", "welcome_message_uri": + "mailman:///welcome.txt", "acceptable_aliases": [], "leave_address": "foo-leave@example.com", + "archive_policy": "public", "admin_notify_mchanges": false, "administrivia": + true, "scheme": "http", "subject_prefix": "[Foo] ", "filter_content": false, + "last_post_at": null, "owner_address": "foo-owner@example.com", "http_etag": + "\"ae6c84dec722989ae0bf97b03c6651ada1095af9\"", "autoresponse_postings_text": + "", "description": "", "autorespond_owner": "none", "bounces_address": "foo-bounces@example.com", + "allow_list_posts": true, "include_rfc2369_headers": true, "collapse_alternatives": + true, "autoresponse_request_text": "", "advertised": true, "web_host": "example.com", + "display_name": "Foo", "fqdn_listname": "foo@example.com", "next_digest_number": + 1, "created_at": "2015-04-14T14:06:52.236679", "autorespond_postings": "none", + "convert_html_to_plaintext": false, "post_id": 1, "first_strip_reply_to": + false, "default_nonmember_action": "hold", "reply_goes_to_list": "no_munging", + "posting_address": "foo@example.com"}'} headers: content-length: ['1583'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -154,16 +154,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode '{"entries": [{"base_url": "http://example.com", - "mail_host": "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}], - "start": 0, "http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", "total_size": + body: {string: !!python/unicode '{"entries": [{"description": null, "base_url": + "http://example.com", "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}], + "start": 0, "http_etag": "\"c385b155f8da284bf78dbe075e20f58a30c893ab\"", "total_size": 1}'} headers: - content-length: ['383'] + content-length: ['338'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -175,14 +174,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -194,29 +192,30 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com/config response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", - "no_reply_address": "noreply@example.com", "created_at": "2015-02-09T22:14:40.942414", - "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": - "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", - "send_welcome_message": true, "http_etag": "\"263d909736126c6ee838554c111f8399e6cad8c6\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "foo-request@example.com", "filter_content": false, - "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} + body: {string: !!python/unicode '{"autoresponse_grace_period": "90d", "posting_pipeline": + "default-posting-pipeline", "default_member_action": "defer", "list_name": + "foo", "send_welcome_message": true, "digest_last_sent_at": null, "mail_host": + "example.com", "volume": 1, "no_reply_address": "noreply@example.com", "autoresponse_owner_text": + "", "anonymous_list": false, "admin_immed_notify": true, "reply_to_address": + "", "join_address": "foo-join@example.com", "request_address": "foo-request@example.com", + "digest_size_threshold": 30.0, "autorespond_requests": "none", "welcome_message_uri": + "mailman:///welcome.txt", "acceptable_aliases": [], "leave_address": "foo-leave@example.com", + "archive_policy": "public", "admin_notify_mchanges": false, "administrivia": + true, "scheme": "http", "subject_prefix": "[Foo] ", "filter_content": false, + "last_post_at": null, "owner_address": "foo-owner@example.com", "http_etag": + "\"ae6c84dec722989ae0bf97b03c6651ada1095af9\"", "autoresponse_postings_text": + "", "description": "", "autorespond_owner": "none", "bounces_address": "foo-bounces@example.com", + "allow_list_posts": true, "include_rfc2369_headers": true, "collapse_alternatives": + true, "autoresponse_request_text": "", "advertised": true, "web_host": "example.com", + "display_name": "Foo", "fqdn_listname": "foo@example.com", "next_digest_number": + 1, "created_at": "2015-04-14T14:06:52.236679", "autorespond_postings": "none", + "convert_html_to_plaintext": false, "post_id": 1, "first_strip_reply_to": + false, "default_nonmember_action": "hold", "reply_goes_to_list": "no_munging", + "posting_address": "foo@example.com"}'} headers: content-length: ['1583'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -228,16 +227,16 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists response: - body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", - "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], - "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": - 1}'} + body: {string: !!python/unicode '{"entries": [{"member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo", "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}], "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "total_size": 1}'} headers: content-length: ['399'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -249,14 +248,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -271,1105 +271,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:41 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", - "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], - "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": - 1}'} - headers: - content-length: ['399'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", - "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:30:21.882522", - "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": - "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", - "send_welcome_message": true, "http_etag": "\"c9caa52babcd32a95eecc33bc59a73d786cc766d\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "foo-request@example.com", "filter_content": false, - "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1583'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode '{"entries": [{"base_url": "http://example.com", - "mail_host": "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}], - "start": 0, "http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", "total_size": - 1}'} - headers: - content-length: ['383'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", - "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:30:21.882522", - "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": - "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", - "send_welcome_message": true, "http_etag": "\"c9caa52babcd32a95eecc33bc59a73d786cc766d\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "foo-request@example.com", "filter_content": false, - "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1583'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", - "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], - "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": - 1}'} - headers: - content-length: ['399'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", - "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], - "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": - 1}'} - headers: - content-length: ['399'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", - "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:38:02.444889", - "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": - "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", - "send_welcome_message": true, "http_etag": "\"b4ec731e97682344b105946891f658933781df93\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "foo-request@example.com", "filter_content": false, - "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1583'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode '{"entries": [{"base_url": "http://example.com", - "mail_host": "example.com", "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}], - "start": 0, "http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", "total_size": - 1}'} - headers: - content-length: ['383'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", - "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:38:02.444889", - "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": - "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", - "send_welcome_message": true, "http_etag": "\"b4ec731e97682344b105946891f658933781df93\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "foo-request@example.com", "filter_content": false, - "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1583'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", - "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], - "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": - 1}'} - headers: - content-length: ['399'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01:20 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:20 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", - "entries": [{"list_name": "foo", "volume": 1, "list_id": "foo.example.com", - "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}], "start": 0}'} - headers: - content-length: ['399'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com/config - response: - body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": - "hold", "bounces_address": "foo-bounces@example.com", "send_welcome_message": - true, "description": "", "reply_to_address": "", "autoresponse_request_text": - "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": - true, "request_address": "foo-request@example.com", "administrivia": true, - "include_rfc2369_headers": true, "no_reply_address": "noreply@example.com", - "display_name": "Foo", "filter_content": false, "acceptable_aliases": [], - "leave_address": "foo-leave@example.com", "autoresponse_owner_text": "", "post_id": - 1, "reply_goes_to_list": "no_munging", "mail_host": "example.com", "digest_last_sent_at": - null, "subject_prefix": "[Foo] ", "next_digest_number": 1, "scheme": "http", - "posting_address": "foo@example.com", "autoresponse_postings_text": "", "created_at": - "2015-02-10T12:01:20.199949", "posting_pipeline": "default-posting-pipeline", - "fqdn_listname": "foo@example.com", "http_etag": "\"4c3f690fca98bc2fd53f87cb1467567812957e38\"", - "join_address": "foo-join@example.com", "admin_immed_notify": true, "autorespond_requests": - "none", "list_name": "foo", "web_host": "example.com", "volume": 1, "advertised": - true, "anonymous_list": false, "default_member_action": "defer", "autorespond_owner": - "none", "convert_html_to_plaintext": false, "digest_size_threshold": 30.0, - "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to": false, - "autoresponse_grace_period": "90d", "owner_address": "foo-owner@example.com", - "autorespond_postings": "none", "archive_policy": "public"}'} - headers: - content-length: ['1583'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", - "entries": [{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}], "start": 0}'} - headers: - content-length: ['383'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com/config - response: - body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": - "hold", "bounces_address": "foo-bounces@example.com", "send_welcome_message": - true, "description": "", "reply_to_address": "", "autoresponse_request_text": - "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": - true, "request_address": "foo-request@example.com", "administrivia": true, - "include_rfc2369_headers": true, "no_reply_address": "noreply@example.com", - "display_name": "Foo", "filter_content": false, "acceptable_aliases": [], - "leave_address": "foo-leave@example.com", "autoresponse_owner_text": "", "post_id": - 1, "reply_goes_to_list": "no_munging", "mail_host": "example.com", "digest_last_sent_at": - null, "subject_prefix": "[Foo] ", "next_digest_number": 1, "scheme": "http", - "posting_address": "foo@example.com", "autoresponse_postings_text": "", "created_at": - "2015-02-10T12:01:20.199949", "posting_pipeline": "default-posting-pipeline", - "fqdn_listname": "foo@example.com", "http_etag": "\"4c3f690fca98bc2fd53f87cb1467567812957e38\"", - "join_address": "foo-join@example.com", "admin_immed_notify": true, "autorespond_requests": - "none", "list_name": "foo", "web_host": "example.com", "volume": 1, "advertised": - true, "anonymous_list": false, "default_member_action": "defer", "autorespond_owner": - "none", "convert_html_to_plaintext": false, "digest_size_threshold": 30.0, - "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to": false, - "autoresponse_grace_period": "90d", "owner_address": "foo-owner@example.com", - "autorespond_postings": "none", "archive_policy": "public"}'} - headers: - content-length: ['1583'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", - "entries": [{"list_name": "foo", "volume": 1, "list_id": "foo.example.com", - "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}], "start": 0}'} - headers: - content-length: ['399'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", - "entries": [{"volume": 1, "list_id": "foo.example.com", "display_name": "Foo", - "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "member_count": 0, "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], - "start": 0, "total_size": 1}'} - headers: - content-length: ['399'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com/config - response: - body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": - true, "autoresponse_owner_text": "", "web_host": "example.com", "http_etag": - "\"2b85f3588acdc3570e224e3d2aa9fc9dc63663b2\"", "no_reply_address": "noreply@example.com", - "posting_address": "foo@example.com", "description": "", "allow_list_posts": - true, "administrivia": true, "reply_to_address": "", "last_post_at": null, - "autorespond_requests": "none", "bounces_address": "foo-bounces@example.com", - "fqdn_listname": "foo@example.com", "welcome_message_uri": "mailman:///welcome.txt", - "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": - false, "default_member_action": "defer", "leave_address": "foo-leave@example.com", - "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", - "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": - false, "list_name": "foo", "send_welcome_message": true, "autorespond_postings": - "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": - true, "collapse_alternatives": true, "subject_prefix": "[Foo] ", "autoresponse_request_text": - "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": - "foo-join@example.com", "filter_content": false, "digest_last_sent_at": null, - "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": - "", "created_at": "2015-02-10T13:52:30.141766", "convert_html_to_plaintext": - false, "display_name": "Foo", "owner_address": "foo-owner@example.com", "mail_host": - "example.com", "request_address": "foo-request@example.com"}'} - headers: - content-length: ['1583'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode '{"http_etag": "\"b4ea7109190ac24defea706a8fc8807090dabba4\"", - "entries": [{"self_link": "http://localhost:9001/3.0/domains/example.com", - "description": null, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}], "start": 0, "total_size": 1}'} - headers: - content-length: ['383'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com/config - response: - body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": - true, "autoresponse_owner_text": "", "web_host": "example.com", "http_etag": - "\"2b85f3588acdc3570e224e3d2aa9fc9dc63663b2\"", "no_reply_address": "noreply@example.com", - "posting_address": "foo@example.com", "description": "", "allow_list_posts": - true, "administrivia": true, "reply_to_address": "", "last_post_at": null, - "autorespond_requests": "none", "bounces_address": "foo-bounces@example.com", - "fqdn_listname": "foo@example.com", "welcome_message_uri": "mailman:///welcome.txt", - "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": - false, "default_member_action": "defer", "leave_address": "foo-leave@example.com", - "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", - "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": - false, "list_name": "foo", "send_welcome_message": true, "autorespond_postings": - "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": - true, "collapse_alternatives": true, "subject_prefix": "[Foo] ", "autoresponse_request_text": - "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": - "foo-join@example.com", "filter_content": false, "digest_last_sent_at": null, - "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": - "", "created_at": "2015-02-10T13:52:30.141766", "convert_html_to_plaintext": - false, "display_name": "Foo", "owner_address": "foo-owner@example.com", "mail_host": - "example.com", "request_address": "foo-request@example.com"}'} - headers: - content-length: ['1583'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", - "entries": [{"volume": 1, "list_id": "foo.example.com", "display_name": "Foo", - "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "member_count": 0, "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], - "start": 0, "total_size": 1}'} - headers: - content-length: ['399'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:31 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 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 6bb3aa5..b85e861 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 @@ -9,11 +9,11 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,14 +25,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -44,14 +43,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -67,7 +65,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -80,14 +78,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -104,7 +103,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -121,7 +120,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -138,7 +137,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -154,8 +153,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] - location: ['http://localhost:9001/3.0/members/751438638793541747994579529807846416'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] + location: ['http://localhost:9001/3.0/members/274541781880759373564792719108067801770'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -172,7 +171,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:41 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -184,1030 +183,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", - "http_etag": "\"e36337be00e19d69928cd36a0c157f15ec088681\"", "role": "moderator", - "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": - "http://localhost:9001/3.0/members/751438638793541747994579529807846416"}], - "start": 0, "http_etag": "\"7832c6b042b036fcddb53de933b99aae44a37946\"", "total_size": - 1}'} - headers: - content-length: ['515'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", - "http_etag": "\"e36337be00e19d69928cd36a0c157f15ec088681\"", "role": "moderator", - "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": - "http://localhost:9001/3.0/members/751438638793541747994579529807846416"}], - "start": 0, "http_etag": "\"7832c6b042b036fcddb53de933b99aae44a37946\"", "total_size": - 1}'} - headers: - content-length: ['515'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:42 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:30:23 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:23 GMT'] - location: ['http://localhost:9001/3.0/members/315821910195407277855074445471339816656'] - 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.0b1'] - 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: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", - "http_etag": "\"9d107d30c9e18203f66f088b9e6474eaf56f007d\"", "role": "moderator", - "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": - "http://localhost:9001/3.0/members/315821910195407277855074445471339816656"}], - "start": 0, "http_etag": "\"2e64daed5190014fb384d8d01f01f63c320242e7\"", "total_size": - 1}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", - "http_etag": "\"9d107d30c9e18203f66f088b9e6474eaf56f007d\"", "role": "moderator", - "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": - "http://localhost:9001/3.0/members/315821910195407277855074445471339816656"}], - "start": 0, "http_etag": "\"2e64daed5190014fb384d8d01f01f63c320242e7\"", "total_size": - 1}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38:03 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:03 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38:04 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:04 GMT'] - location: ['http://localhost:9001/3.0/members/69319484268379730690780361376893950407'] - 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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", - "http_etag": "\"b14473142dc5ea009bd4d8b596bf688d7593bd5a\"", "role": "moderator", - "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": - "http://localhost:9001/3.0/members/69319484268379730690780361376893950407"}], - "start": 0, "http_etag": "\"9965f78a77863dd38c5a3124b3b1d3beba8c7039\"", "total_size": - 1}'} - headers: - content-length: ['517'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", - "http_etag": "\"b14473142dc5ea009bd4d8b596bf688d7593bd5a\"", "role": "moderator", - "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": - "http://localhost:9001/3.0/members/69319484268379730690780361376893950407"}], - "start": 0, "http_etag": "\"9965f78a77863dd38c5a3124b3b1d3beba8c7039\"", "total_size": - 1}'} - headers: - content-length: ['517'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:04 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:01: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:01: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:22 GMT'] - location: ['http://localhost:9001/3.0/members/307158093949026640980545686340787594457'] - 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.0b1'] - 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: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"492e085f525a2c9e0a20d8bedae98df0e5dacb65\"", - "entries": [{"email": "newmod@example.com", "role": "moderator", "user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", - "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"0eb62f5cd4f2bc74bed63e5cdaf79b911227484f\"", - "self_link": "http://localhost:9001/3.0/members/307158093949026640980545686340787594457"}], - "start": 0}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"492e085f525a2c9e0a20d8bedae98df0e5dacb65\"", - "entries": [{"email": "newmod@example.com", "role": "moderator", "user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", - "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"0eb62f5cd4f2bc74bed63e5cdaf79b911227484f\"", - "self_link": "http://localhost:9001/3.0/members/307158093949026640980545686340787594457"}], - "start": 0}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:32 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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:32 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52: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} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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: ['Tue, 10 Feb 2015 13:52:32 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:32 GMT'] - location: ['http://localhost:9001/3.0/members/127740608985148952781018159814583588959'] - 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.0b1'] - 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: ['Tue, 10 Feb 2015 13:52: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"http_etag": "\"6935e38ad4ac9f5e6589949364e66011492ff159\"", - "entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", + body: {string: !!python/unicode '{"entries": [{"role": "moderator", "list_id": + "foo.example.com", "user": "http://localhost:9001/3.0/users/231165929708843504225352718616360464134", "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "email": - "newmod@example.com", "list_id": "foo.example.com", "role": "moderator", "http_etag": - "\"e35c7ef1335d36c4db92b7d55de6156b453c5183\"", "self_link": "http://localhost:9001/3.0/members/127740608985148952781018159814583588959", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "newmod@example.com", "self_link": "http://localhost:9001/3.0/members/274541781880759373564792719108067801770", + "delivery_mode": "regular", "member_id": 274541781880759373564792719108067801770, + "http_etag": "\"89c2c4ed31180b18d947ae021b6fabd6ea700e9b\""}], "start": 0, + "http_etag": "\"bd900e3980bfd813509473d69dba9ca8b428bd3a\"", "total_size": + 1}'} headers: - content-length: ['518'] + content-length: ['572'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:32 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1219,16 +206,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: - body: {string: !!python/unicode '{"http_etag": "\"6935e38ad4ac9f5e6589949364e66011492ff159\"", - "entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", + body: {string: !!python/unicode '{"entries": [{"role": "moderator", "list_id": + "foo.example.com", "user": "http://localhost:9001/3.0/users/231165929708843504225352718616360464134", "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "email": - "newmod@example.com", "list_id": "foo.example.com", "role": "moderator", "http_etag": - "\"e35c7ef1335d36c4db92b7d55de6156b453c5183\"", "self_link": "http://localhost:9001/3.0/members/127740608985148952781018159814583588959", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "newmod@example.com", "self_link": "http://localhost:9001/3.0/members/274541781880759373564792719108067801770", + "delivery_mode": "regular", "member_id": 274541781880759373564792719108067801770, + "http_etag": "\"89c2c4ed31180b18d947ae021b6fabd6ea700e9b\""}], "start": 0, + "http_etag": "\"bd900e3980bfd813509473d69dba9ca8b428bd3a\"", "total_size": + 1}'} headers: - content-length: ['518'] + content-length: ['572'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:32 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1240,14 +229,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:33 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1262,7 +252,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:33 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 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 cbefaeb..fec1a5b 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 @@ -9,11 +9,11 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:42 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,14 +25,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:42 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -44,14 +43,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:42 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -67,7 +65,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:42 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -80,14 +78,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:42 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -104,7 +103,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:42 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -121,7 +120,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:42 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -138,7 +137,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:42 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -154,8 +153,8 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:42 GMT'] - location: ['http://localhost:9001/3.0/members/267920195804341479595887151335923694476'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] + location: ['http://localhost:9001/3.0/members/301200134723622213332953324062582371198'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} - request: @@ -167,1030 +166,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", - "http_etag": "\"66a1d315af633b2da10b8bc3991534ca60c1d697\"", "role": "owner", - "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": - "http://localhost:9001/3.0/members/267920195804341479595887151335923694476"}], - "start": 0, "http_etag": "\"d8d824807c3758b3628cb90b39281980cb7f6c50\"", "total_size": - 1}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - 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: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", - "http_etag": "\"66a1d315af633b2da10b8bc3991534ca60c1d697\"", "role": "owner", - "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": - "http://localhost:9001/3.0/members/267920195804341479595887151335923694476"}], - "start": 0, "http_etag": "\"d8d824807c3758b3628cb90b39281980cb7f6c50\"", "total_size": - 1}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:42 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:30:24 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:24 GMT'] - location: ['http://localhost:9001/3.0/members/92911355898032999856885566287370306169'] - 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", - "http_etag": "\"41cb15952083109bc171dc256e8f39bcffd43c1b\"", "role": "owner", - "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": - "http://localhost:9001/3.0/members/92911355898032999856885566287370306169"}], - "start": 0, "http_etag": "\"37f2371458529d962f1c092b65dff9a439570967\"", "total_size": - 1}'} - headers: - content-length: ['517'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", - "http_etag": "\"41cb15952083109bc171dc256e8f39bcffd43c1b\"", "role": "owner", - "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": - "http://localhost:9001/3.0/members/92911355898032999856885566287370306169"}], - "start": 0, "http_etag": "\"37f2371458529d962f1c092b65dff9a439570967\"", "total_size": - 1}'} - headers: - content-length: ['517'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38:05 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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38:05 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:05 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38:05 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:05 GMT'] - location: ['http://localhost:9001/3.0/members/250616991526833765249686627336423033546'] - 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", - "http_etag": "\"5ac0f12c486d690adbe9ca9bb1651e3b932aae70\"", "role": "owner", - "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": - "http://localhost:9001/3.0/members/250616991526833765249686627336423033546"}], - "start": 0, "http_etag": "\"fba40f23e8ddf6bfd632beba4b9d4111e9847576\"", "total_size": - 1}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", - "http_etag": "\"5ac0f12c486d690adbe9ca9bb1651e3b932aae70\"", "role": "owner", - "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": - "http://localhost:9001/3.0/members/250616991526833765249686627336423033546"}], - "start": 0, "http_etag": "\"fba40f23e8ddf6bfd632beba4b9d4111e9847576\"", "total_size": - 1}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:01: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:01: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:01:24 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:24 GMT'] - location: ['http://localhost:9001/3.0/members/119264579398215735612324460632862333333'] - 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"e33cc26a74aa491cf91453ebcecfda36dd561151\"", - "entries": [{"email": "newowner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", - "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"7ed5138f1daaeb40aa5f66c7a9602a814cbfc18e\"", - "self_link": "http://localhost:9001/3.0/members/119264579398215735612324460632862333333"}], - "start": 0}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"e33cc26a74aa491cf91453ebcecfda36dd561151\"", - "entries": [{"email": "newowner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", - "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"7ed5138f1daaeb40aa5f66c7a9602a814cbfc18e\"", - "self_link": "http://localhost:9001/3.0/members/119264579398215735612324460632862333333"}], - "start": 0}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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: ['Tue, 10 Feb 2015 13:52: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.0b1'] - 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: ['Tue, 10 Feb 2015 13:52:34 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/members - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:34 GMT'] - location: ['http://localhost:9001/3.0/members/132928917580241697098401741307030741000'] - 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"http_etag": "\"9ccdb33fa09076a00f87a519497e5b00f1ec6f84\"", - "entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", + body: {string: !!python/unicode '{"entries": [{"role": "owner", "list_id": "foo.example.com", + "user": "http://localhost:9001/3.0/users/43128411197829253290894670252349751310", "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "email": - "newowner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": - "\"8a39bd1a0715bd5fd87eb0712beca04c90fcef01\"", "self_link": "http://localhost:9001/3.0/members/132928917580241697098401741307030741000", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "newowner@example.com", "self_link": "http://localhost:9001/3.0/members/301200134723622213332953324062582371198", + "delivery_mode": "regular", "member_id": 301200134723622213332953324062582371198, + "http_etag": "\"28b18726c05af574df6ce44bef6e21fed7d5c470\""}], "start": 0, + "http_etag": "\"a41be3d8b413e41956e4947b5c03eff8049bcad5\"", "total_size": + 1}'} headers: - content-length: ['518'] + content-length: ['571'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:34 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1202,12 +189,12 @@ 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}'} + body: {string: !!python/unicode '{"start": 0, "http_etag": "\"32223434a0f3af4cdc4673d1fbc5bac1f6d98fd3\"", + "total_size": 0}'} headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:34 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1219,16 +206,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"http_etag": "\"9ccdb33fa09076a00f87a519497e5b00f1ec6f84\"", - "entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", + body: {string: !!python/unicode '{"entries": [{"role": "owner", "list_id": "foo.example.com", + "user": "http://localhost:9001/3.0/users/43128411197829253290894670252349751310", "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "email": - "newowner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": - "\"8a39bd1a0715bd5fd87eb0712beca04c90fcef01\"", "self_link": "http://localhost:9001/3.0/members/132928917580241697098401741307030741000", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "newowner@example.com", "self_link": "http://localhost:9001/3.0/members/301200134723622213332953324062582371198", + "delivery_mode": "regular", "member_id": 301200134723622213332953324062582371198, + "http_etag": "\"28b18726c05af574df6ce44bef6e21fed7d5c470\""}], "start": 0, + "http_etag": "\"a41be3d8b413e41956e4947b5c03eff8049bcad5\"", "total_size": + 1}'} headers: - content-length: ['518'] + content-length: ['571'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:34 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1240,14 +229,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:35 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -1262,7 +252,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:52:35 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 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 b921ce7..30e0481 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,103 +8,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", - "http_etag": "\"66a1d315af633b2da10b8bc3991534ca60c1d697\"", "role": "owner", - "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": - "http://localhost:9001/3.0/members/267920195804341479595887151335923694476"}], - "start": 0, "http_etag": "\"d8d824807c3758b3628cb90b39281980cb7f6c50\"", "total_size": - 1}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", - "http_etag": "\"41cb15952083109bc171dc256e8f39bcffd43c1b\"", "role": "owner", - "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": - "http://localhost:9001/3.0/members/92911355898032999856885566287370306169"}], - "start": 0, "http_etag": "\"37f2371458529d962f1c092b65dff9a439570967\"", "total_size": - 1}'} - headers: - content-length: ['517'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", - "http_etag": "\"5ac0f12c486d690adbe9ca9bb1651e3b932aae70\"", "role": "owner", - "email": "newowner@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "self_link": - "http://localhost:9001/3.0/members/250616991526833765249686627336423033546"}], - "start": 0, "http_etag": "\"fba40f23e8ddf6bfd632beba4b9d4111e9847576\"", "total_size": - 1}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"e33cc26a74aa491cf91453ebcecfda36dd561151\"", - "entries": [{"email": "newowner@example.com", "role": "owner", "user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", - "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"7ed5138f1daaeb40aa5f66c7a9602a814cbfc18e\"", - "self_link": "http://localhost:9001/3.0/members/119264579398215735612324460632862333333"}], - "start": 0}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/owner - response: - body: {string: !!python/unicode '{"http_etag": "\"9ccdb33fa09076a00f87a519497e5b00f1ec6f84\"", - "entries": [{"user": "http://localhost:9001/3.0/users/133031822885082332796307253938036371304", + body: {string: !!python/unicode '{"entries": [{"role": "owner", "list_id": "foo.example.com", + "user": "http://localhost:9001/3.0/users/43128411197829253290894670252349751310", "address": "http://localhost:9001/3.0/addresses/newowner@example.com", "email": - "newowner@example.com", "list_id": "foo.example.com", "role": "owner", "http_etag": - "\"8a39bd1a0715bd5fd87eb0712beca04c90fcef01\"", "self_link": "http://localhost:9001/3.0/members/132928917580241697098401741307030741000", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "newowner@example.com", "self_link": "http://localhost:9001/3.0/members/301200134723622213332953324062582371198", + "delivery_mode": "regular", "member_id": 301200134723622213332953324062582371198, + "http_etag": "\"28b18726c05af574df6ce44bef6e21fed7d5c470\""}], "start": 0, + "http_etag": "\"a41be3d8b413e41956e4947b5c03eff8049bcad5\"", "total_size": + 1}'} headers: - content-length: ['518'] + content-length: ['571'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:35 GMT'] + date: ['Tue, 14 Apr 2015 14:06:45 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 c9ae11e..97b40ce 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,103 +8,18 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", - "http_etag": "\"e36337be00e19d69928cd36a0c157f15ec088681\"", "role": "moderator", - "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": - "http://localhost:9001/3.0/members/751438638793541747994579529807846416"}], - "start": 0, "http_etag": "\"7832c6b042b036fcddb53de933b99aae44a37946\"", "total_size": - 1}'} - headers: - content-length: ['515'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", - "http_etag": "\"9d107d30c9e18203f66f088b9e6474eaf56f007d\"", "role": "moderator", - "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": - "http://localhost:9001/3.0/members/315821910195407277855074445471339816656"}], - "start": 0, "http_etag": "\"2e64daed5190014fb384d8d01f01f63c320242e7\"", "total_size": - 1}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", - "http_etag": "\"b14473142dc5ea009bd4d8b596bf688d7593bd5a\"", "role": "moderator", - "email": "newmod@example.com", "delivery_mode": "regular", "list_id": "foo.example.com", - "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "self_link": - "http://localhost:9001/3.0/members/69319484268379730690780361376893950407"}], - "start": 0, "http_etag": "\"9965f78a77863dd38c5a3124b3b1d3beba8c7039\"", "total_size": - 1}'} - headers: - content-length: ['517'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"492e085f525a2c9e0a20d8bedae98df0e5dacb65\"", - "entries": [{"email": "newmod@example.com", "role": "moderator", "user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", - "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "list_id": - "foo.example.com", "delivery_mode": "regular", "http_etag": "\"0eb62f5cd4f2bc74bed63e5cdaf79b911227484f\"", - "self_link": "http://localhost:9001/3.0/members/307158093949026640980545686340787594457"}], - "start": 0}'} - headers: - content-length: ['518'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com/roster/moderator - response: - body: {string: !!python/unicode '{"http_etag": "\"6935e38ad4ac9f5e6589949364e66011492ff159\"", - "entries": [{"user": "http://localhost:9001/3.0/users/119841611237508711407725388596844209506", + body: {string: !!python/unicode '{"entries": [{"role": "moderator", "list_id": + "foo.example.com", "user": "http://localhost:9001/3.0/users/231165929708843504225352718616360464134", "address": "http://localhost:9001/3.0/addresses/newmod@example.com", "email": - "newmod@example.com", "list_id": "foo.example.com", "role": "moderator", "http_etag": - "\"e35c7ef1335d36c4db92b7d55de6156b453c5183\"", "self_link": "http://localhost:9001/3.0/members/127740608985148952781018159814583588959", - "delivery_mode": "regular"}], "start": 0, "total_size": 1}'} + "newmod@example.com", "self_link": "http://localhost:9001/3.0/members/274541781880759373564792719108067801770", + "delivery_mode": "regular", "member_id": 274541781880759373564792719108067801770, + "http_etag": "\"89c2c4ed31180b18d947ae021b6fabd6ea700e9b\""}], "start": 0, + "http_etag": "\"bd900e3980bfd813509473d69dba9ca8b428bd3a\"", "total_size": + 1}'} headers: - content-length: ['518'] + content-length: ['572'] content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:52:33 GMT'] + date: ['Tue, 14 Apr 2015 14:06:44 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 0980c4e..214353c 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_metrics.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_metrics.yaml @@ -12,7 +12,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:49 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] location: ['http://localhost:9001/3.0/domains/example.org'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -25,14 +25,13 @@ 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": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", - "contact_address": "postmaster@example.org", "description": null, "url_host": - "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.org", + "url_host": "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org", + "mail_host": "example.org", "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:49 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -48,7 +47,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:49 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] location: ['http://localhost:9001/3.0/lists/test.example.org'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -61,14 +60,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test@example.org response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": - "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": - 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "test", "self_link": + "http://localhost:9001/3.0/lists/test.example.org", "display_name": "Test", + "list_id": "test.example.org", "fqdn_listname": "test@example.org", "volume": + 1, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "mail_host": + "example.org"}'} headers: content-length: ['299'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:49 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -80,14 +80,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test@example.org response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": - "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": - 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "test", "self_link": + "http://localhost:9001/3.0/lists/test.example.org", "display_name": "Test", + "list_id": "test.example.org", "fqdn_listname": "test@example.org", "volume": + 1, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "mail_host": + "example.org"}'} headers: content-length: ['299'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:50 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -104,7 +105,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:50 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -121,7 +122,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:50 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -133,29 +134,30 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test@example.org/config response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", - "no_reply_address": "noreply@example.org", "created_at": "2015-02-09T22:14:49.876475", - "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": - "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", - "send_welcome_message": true, "http_etag": "\"9cf34b32814407604ed8f6bfa08d8e40777cddea\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "test-request@example.org", "filter_content": false, - "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} + body: {string: !!python/unicode '{"autoresponse_grace_period": "90d", "posting_pipeline": + "default-posting-pipeline", "default_member_action": "defer", "list_name": + "test", "send_welcome_message": true, "digest_last_sent_at": null, "mail_host": + "example.org", "volume": 1, "no_reply_address": "noreply@example.org", "autoresponse_owner_text": + "", "anonymous_list": false, "admin_immed_notify": true, "reply_to_address": + "", "join_address": "test-join@example.org", "request_address": "test-request@example.org", + "digest_size_threshold": 30.0, "autorespond_requests": "none", "welcome_message_uri": + "mailman:///welcome.txt", "acceptable_aliases": [], "leave_address": "test-leave@example.org", + "archive_policy": "public", "admin_notify_mchanges": false, "administrivia": + true, "scheme": "http", "subject_prefix": "[Test] ", "filter_content": false, + "last_post_at": null, "owner_address": "test-owner@example.org", "http_etag": + "\"1965ad84eb6b5226005c15ea2180bf5a4325ca72\"", "autoresponse_postings_text": + "", "description": "", "autorespond_owner": "none", "bounces_address": "test-bounces@example.org", + "allow_list_posts": true, "include_rfc2369_headers": true, "collapse_alternatives": + true, "autoresponse_request_text": "", "advertised": true, "web_host": "example.org", + "display_name": "Test", "fqdn_listname": "test@example.org", "next_digest_number": + 1, "created_at": "2015-04-14T14:06:50.117683", "autorespond_postings": "none", + "convert_html_to_plaintext": false, "post_id": 1, "first_strip_reply_to": + false, "default_nonmember_action": "hold", "reply_goes_to_list": "no_munging", + "posting_address": "test@example.org"}'} headers: content-length: ['1593'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:50 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -167,29 +169,30 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test@example.org/config response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", - "no_reply_address": "noreply@example.org", "created_at": "2015-02-09T22:14:49.876475", - "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": - "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", - "send_welcome_message": true, "http_etag": "\"9cf34b32814407604ed8f6bfa08d8e40777cddea\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "test-request@example.org", "filter_content": false, - "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} + body: {string: !!python/unicode '{"autoresponse_grace_period": "90d", "posting_pipeline": + "default-posting-pipeline", "default_member_action": "defer", "list_name": + "test", "send_welcome_message": true, "digest_last_sent_at": null, "mail_host": + "example.org", "volume": 1, "no_reply_address": "noreply@example.org", "autoresponse_owner_text": + "", "anonymous_list": false, "admin_immed_notify": true, "reply_to_address": + "", "join_address": "test-join@example.org", "request_address": "test-request@example.org", + "digest_size_threshold": 30.0, "autorespond_requests": "none", "welcome_message_uri": + "mailman:///welcome.txt", "acceptable_aliases": [], "leave_address": "test-leave@example.org", + "archive_policy": "public", "admin_notify_mchanges": false, "administrivia": + true, "scheme": "http", "subject_prefix": "[Test] ", "filter_content": false, + "last_post_at": null, "owner_address": "test-owner@example.org", "http_etag": + "\"1965ad84eb6b5226005c15ea2180bf5a4325ca72\"", "autoresponse_postings_text": + "", "description": "", "autorespond_owner": "none", "bounces_address": "test-bounces@example.org", + "allow_list_posts": true, "include_rfc2369_headers": true, "collapse_alternatives": + true, "autoresponse_request_text": "", "advertised": true, "web_host": "example.org", + "display_name": "Test", "fqdn_listname": "test@example.org", "next_digest_number": + 1, "created_at": "2015-04-14T14:06:50.117683", "autorespond_postings": "none", + "convert_html_to_plaintext": false, "post_id": 1, "first_strip_reply_to": + false, "default_nonmember_action": "hold", "reply_goes_to_list": "no_munging", + "posting_address": "test@example.org"}'} headers: content-length: ['1593'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:50 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -201,29 +204,30 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test@example.org/config response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", - "no_reply_address": "noreply@example.org", "created_at": "2015-02-09T22:14:49.876475", - "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": - "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", - "send_welcome_message": true, "http_etag": "\"9cf34b32814407604ed8f6bfa08d8e40777cddea\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "test-request@example.org", "filter_content": false, - "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} + body: {string: !!python/unicode '{"autoresponse_grace_period": "90d", "posting_pipeline": + "default-posting-pipeline", "default_member_action": "defer", "list_name": + "test", "send_welcome_message": true, "digest_last_sent_at": null, "mail_host": + "example.org", "volume": 1, "no_reply_address": "noreply@example.org", "autoresponse_owner_text": + "", "anonymous_list": false, "admin_immed_notify": true, "reply_to_address": + "", "join_address": "test-join@example.org", "request_address": "test-request@example.org", + "digest_size_threshold": 30.0, "autorespond_requests": "none", "welcome_message_uri": + "mailman:///welcome.txt", "acceptable_aliases": [], "leave_address": "test-leave@example.org", + "archive_policy": "public", "admin_notify_mchanges": false, "administrivia": + true, "scheme": "http", "subject_prefix": "[Test] ", "filter_content": false, + "last_post_at": null, "owner_address": "test-owner@example.org", "http_etag": + "\"1965ad84eb6b5226005c15ea2180bf5a4325ca72\"", "autoresponse_postings_text": + "", "description": "", "autorespond_owner": "none", "bounces_address": "test-bounces@example.org", + "allow_list_posts": true, "include_rfc2369_headers": true, "collapse_alternatives": + true, "autoresponse_request_text": "", "advertised": true, "web_host": "example.org", + "display_name": "Test", "fqdn_listname": "test@example.org", "next_digest_number": + 1, "created_at": "2015-04-14T14:06:50.117683", "autorespond_postings": "none", + "convert_html_to_plaintext": false, "post_id": 1, "first_strip_reply_to": + false, "default_nonmember_action": "hold", "reply_goes_to_list": "no_munging", + "posting_address": "test@example.org"}'} headers: content-length: ['1593'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:50 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -235,29 +239,30 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test@example.org/config response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", - "no_reply_address": "noreply@example.org", "created_at": "2015-02-09T22:14:49.876475", - "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": - "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", - "send_welcome_message": true, "http_etag": "\"9cf34b32814407604ed8f6bfa08d8e40777cddea\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "test-request@example.org", "filter_content": false, - "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} + body: {string: !!python/unicode '{"autoresponse_grace_period": "90d", "posting_pipeline": + "default-posting-pipeline", "default_member_action": "defer", "list_name": + "test", "send_welcome_message": true, "digest_last_sent_at": null, "mail_host": + "example.org", "volume": 1, "no_reply_address": "noreply@example.org", "autoresponse_owner_text": + "", "anonymous_list": false, "admin_immed_notify": true, "reply_to_address": + "", "join_address": "test-join@example.org", "request_address": "test-request@example.org", + "digest_size_threshold": 30.0, "autorespond_requests": "none", "welcome_message_uri": + "mailman:///welcome.txt", "acceptable_aliases": [], "leave_address": "test-leave@example.org", + "archive_policy": "public", "admin_notify_mchanges": false, "administrivia": + true, "scheme": "http", "subject_prefix": "[Test] ", "filter_content": false, + "last_post_at": null, "owner_address": "test-owner@example.org", "http_etag": + "\"1965ad84eb6b5226005c15ea2180bf5a4325ca72\"", "autoresponse_postings_text": + "", "description": "", "autorespond_owner": "none", "bounces_address": "test-bounces@example.org", + "allow_list_posts": true, "include_rfc2369_headers": true, "collapse_alternatives": + true, "autoresponse_request_text": "", "advertised": true, "web_host": "example.org", + "display_name": "Test", "fqdn_listname": "test@example.org", "next_digest_number": + 1, "created_at": "2015-04-14T14:06:50.117683", "autorespond_postings": "none", + "convert_html_to_plaintext": false, "post_id": 1, "first_strip_reply_to": + false, "default_nonmember_action": "hold", "reply_goes_to_list": "no_munging", + "posting_address": "test@example.org"}'} headers: content-length: ['1593'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:50 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -272,7 +277,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:50 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -287,7 +292,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:50 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -303,7 +308,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:50 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] location: ['http://localhost:9001/3.0/domains/example.org'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -316,14 +321,13 @@ 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": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", - "contact_address": "postmaster@example.org", "description": null, "url_host": - "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.org", + "url_host": "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org", + "mail_host": "example.org", "http_etag": "\"f8247f55d4a0a1d987c89cc238bb0dbc2c0e1089\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:50 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -339,7 +343,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:50 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] location: ['http://localhost:9001/3.0/lists/test.example.org'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -352,14 +356,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test@example.org response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": - "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": - 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "test", "self_link": + "http://localhost:9001/3.0/lists/test.example.org", "display_name": "Test", + "list_id": "test.example.org", "fqdn_listname": "test@example.org", "volume": + 1, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "mail_host": + "example.org"}'} headers: content-length: ['299'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:50 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -371,14 +376,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/test@example.org response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": - "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": - 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "test", "self_link": + "http://localhost:9001/3.0/lists/test.example.org", "display_name": "Test", + "list_id": "test.example.org", "fqdn_listname": "test@example.org", "volume": + 1, "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "mail_host": + "example.org"}'} headers: content-length: ['299'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:50 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -393,7 +399,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:51 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -408,2075 +414,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:51 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:29:22 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.0b1'] - 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": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", - "contact_address": "postmaster@example.org", "description": null, "url_host": - "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:29:22 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:29:22 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": - "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": - 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:29: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": - "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": - 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:29: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:29: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:29: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", - "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:29:22.819920", - "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": - "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", - "send_welcome_message": true, "http_etag": "\"e46c1e1386fa0e9e13fafa0e6d79203e78bc58d4\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "test-request@example.org", "filter_content": false, - "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:29: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", - "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:29:22.819920", - "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": - "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", - "send_welcome_message": true, "http_etag": "\"e46c1e1386fa0e9e13fafa0e6d79203e78bc58d4\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "test-request@example.org", "filter_content": false, - "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:29: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", - "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:29:22.819920", - "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": - "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", - "send_welcome_message": true, "http_etag": "\"e46c1e1386fa0e9e13fafa0e6d79203e78bc58d4\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "test-request@example.org", "filter_content": false, - "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:29: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", - "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:29:22.819920", - "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": - "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", - "send_welcome_message": true, "http_etag": "\"e46c1e1386fa0e9e13fafa0e6d79203e78bc58d4\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "test-request@example.org", "filter_content": false, - "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:29: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:29:23 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/domains/example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:29: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:29:24 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.0b1'] - 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": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", - "contact_address": "postmaster@example.org", "description": null, "url_host": - "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:29:24 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:29:24 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": - "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": - 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:29: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": - "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": - 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:29: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:29:25 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/domains/example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:29:25 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:38 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.0b1'] - 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": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", - "contact_address": "postmaster@example.org", "description": null, "url_host": - "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:38 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:38 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": - "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": - 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": - "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": - 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", - "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:30:38.609655", - "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": - "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", - "send_welcome_message": true, "http_etag": "\"318e5a433adbd11f37f5425b1f62be621c87967c\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "test-request@example.org", "filter_content": false, - "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", - "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:30:38.609655", - "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": - "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", - "send_welcome_message": true, "http_etag": "\"318e5a433adbd11f37f5425b1f62be621c87967c\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "test-request@example.org", "filter_content": false, - "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", - "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:30:38.609655", - "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": - "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", - "send_welcome_message": true, "http_etag": "\"318e5a433adbd11f37f5425b1f62be621c87967c\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "test-request@example.org", "filter_content": false, - "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", - "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:30:38.609655", - "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": - "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", - "send_welcome_message": true, "http_etag": "\"318e5a433adbd11f37f5425b1f62be621c87967c\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "test-request@example.org", "filter_content": false, - "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/domains/example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:40 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:40 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.0b1'] - 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": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", - "contact_address": "postmaster@example.org", "description": null, "url_host": - "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:40 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:40 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": - "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": - 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": - "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": - 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:42 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/domains/example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:42 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:27 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.0b1'] - 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": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", - "contact_address": "postmaster@example.org", "description": null, "url_host": - "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38:27 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:27 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": - "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": - 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": - "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": - 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", - "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:38:27.268533", - "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": - "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", - "send_welcome_message": true, "http_etag": "\"ed9509b92f1cadeda643134c667e6a5218884437\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "test-request@example.org", "filter_content": false, - "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", - "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:38:27.268533", - "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": - "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", - "send_welcome_message": true, "http_etag": "\"ed9509b92f1cadeda643134c667e6a5218884437\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "test-request@example.org", "filter_content": false, - "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", - "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:38:27.268533", - "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": - "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", - "send_welcome_message": true, "http_etag": "\"ed9509b92f1cadeda643134c667e6a5218884437\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "test-request@example.org", "filter_content": false, - "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "test-join@example.org", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "test-owner@example.org", "archive_policy": "public", "mail_host": "example.org", - "no_reply_address": "noreply@example.org", "created_at": "2015-02-10T11:38:27.268533", - "posting_pipeline": "default-posting-pipeline", "display_name": "Test", "leave_address": - "test-leave@example.org", "fqdn_listname": "test@example.org", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.org", "bounces_address": "test-bounces@example.org", - "send_welcome_message": true, "http_etag": "\"ed9509b92f1cadeda643134c667e6a5218884437\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "test@example.org", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "test", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "test-request@example.org", "filter_content": false, - "subject_prefix": "[Test] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/domains/example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:29 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:30 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.0b1'] - 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": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", - "contact_address": "postmaster@example.org", "description": null, "url_host": - "example.org", "self_link": "http://localhost:9001/3.0/domains/example.org"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38:30 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:30 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": - "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": - 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"fqdn_listname": "test@example.org", "display_name": - "Test", "member_count": 0, "list_id": "test.example.org", "mail_host": "example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "volume": - 1, "list_name": "test", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:32 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/domains/example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:32 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:53 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.org - response: - body: {string: !!python/unicode '{"http_etag": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", - "url_host": "example.org", "mail_host": "example.org", "description": null, - "base_url": "http://example.org", "contact_address": "postmaster@example.org", - "self_link": "http://localhost:9001/3.0/domains/example.org"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01:53 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:53 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"list_name": "test", "volume": 1, "list_id": - "test.example.org", "fqdn_listname": "test@example.org", "self_link": "http://localhost:9001/3.0/lists/test.example.org", - "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "member_count": - 0, "mail_host": "example.org", "display_name": "Test"}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"list_name": "test", "volume": 1, "list_id": - "test.example.org", "fqdn_listname": "test@example.org", "self_link": "http://localhost:9001/3.0/lists/test.example.org", - "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "member_count": - 0, "mail_host": "example.org", "display_name": "Test"}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:01: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": - "hold", "bounces_address": "test-bounces@example.org", "send_welcome_message": - true, "description": "", "reply_to_address": "", "autoresponse_request_text": - "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": - true, "request_address": "test-request@example.org", "administrivia": true, - "include_rfc2369_headers": true, "no_reply_address": "noreply@example.org", - "display_name": "Test", "filter_content": false, "acceptable_aliases": [], - "leave_address": "test-leave@example.org", "autoresponse_owner_text": "", - "post_id": 1, "reply_goes_to_list": "no_munging", "mail_host": "example.org", - "digest_last_sent_at": null, "subject_prefix": "[Test] ", "next_digest_number": - 1, "scheme": "http", "posting_address": "test@example.org", "autoresponse_postings_text": - "", "created_at": "2015-02-10T12:01:53.953709", "posting_pipeline": "default-posting-pipeline", - "fqdn_listname": "test@example.org", "http_etag": "\"e05ce718353748e36105700f970ffc099fbe0557\"", - "join_address": "test-join@example.org", "admin_immed_notify": true, "autorespond_requests": - "none", "list_name": "test", "web_host": "example.org", "volume": 1, "advertised": - true, "anonymous_list": false, "default_member_action": "defer", "autorespond_owner": - "none", "convert_html_to_plaintext": false, "digest_size_threshold": 30.0, - "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to": false, - "autoresponse_grace_period": "90d", "owner_address": "test-owner@example.org", - "autorespond_postings": "none", "archive_policy": "public"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": - "hold", "bounces_address": "test-bounces@example.org", "send_welcome_message": - true, "description": "", "reply_to_address": "", "autoresponse_request_text": - "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": - true, "request_address": "test-request@example.org", "administrivia": true, - "include_rfc2369_headers": true, "no_reply_address": "noreply@example.org", - "display_name": "Test", "filter_content": false, "acceptable_aliases": [], - "leave_address": "test-leave@example.org", "autoresponse_owner_text": "", - "post_id": 1, "reply_goes_to_list": "no_munging", "mail_host": "example.org", - "digest_last_sent_at": null, "subject_prefix": "[Test] ", "next_digest_number": - 1, "scheme": "http", "posting_address": "test@example.org", "autoresponse_postings_text": - "", "created_at": "2015-02-10T12:01:53.953709", "posting_pipeline": "default-posting-pipeline", - "fqdn_listname": "test@example.org", "http_etag": "\"e05ce718353748e36105700f970ffc099fbe0557\"", - "join_address": "test-join@example.org", "admin_immed_notify": true, "autorespond_requests": - "none", "list_name": "test", "web_host": "example.org", "volume": 1, "advertised": - true, "anonymous_list": false, "default_member_action": "defer", "autorespond_owner": - "none", "convert_html_to_plaintext": false, "digest_size_threshold": 30.0, - "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to": false, - "autoresponse_grace_period": "90d", "owner_address": "test-owner@example.org", - "autorespond_postings": "none", "archive_policy": "public"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": - "hold", "bounces_address": "test-bounces@example.org", "send_welcome_message": - true, "description": "", "reply_to_address": "", "autoresponse_request_text": - "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": - true, "request_address": "test-request@example.org", "administrivia": true, - "include_rfc2369_headers": true, "no_reply_address": "noreply@example.org", - "display_name": "Test", "filter_content": false, "acceptable_aliases": [], - "leave_address": "test-leave@example.org", "autoresponse_owner_text": "", - "post_id": 1, "reply_goes_to_list": "no_munging", "mail_host": "example.org", - "digest_last_sent_at": null, "subject_prefix": "[Test] ", "next_digest_number": - 1, "scheme": "http", "posting_address": "test@example.org", "autoresponse_postings_text": - "", "created_at": "2015-02-10T12:01:53.953709", "posting_pipeline": "default-posting-pipeline", - "fqdn_listname": "test@example.org", "http_etag": "\"e05ce718353748e36105700f970ffc099fbe0557\"", - "join_address": "test-join@example.org", "admin_immed_notify": true, "autorespond_requests": - "none", "list_name": "test", "web_host": "example.org", "volume": 1, "advertised": - true, "anonymous_list": false, "default_member_action": "defer", "autorespond_owner": - "none", "convert_html_to_plaintext": false, "digest_size_threshold": 30.0, - "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to": false, - "autoresponse_grace_period": "90d", "owner_address": "test-owner@example.org", - "autorespond_postings": "none", "archive_policy": "public"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": - "hold", "bounces_address": "test-bounces@example.org", "send_welcome_message": - true, "description": "", "reply_to_address": "", "autoresponse_request_text": - "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": - true, "request_address": "test-request@example.org", "administrivia": true, - "include_rfc2369_headers": true, "no_reply_address": "noreply@example.org", - "display_name": "Test", "filter_content": false, "acceptable_aliases": [], - "leave_address": "test-leave@example.org", "autoresponse_owner_text": "", - "post_id": 1, "reply_goes_to_list": "no_munging", "mail_host": "example.org", - "digest_last_sent_at": null, "subject_prefix": "[Test] ", "next_digest_number": - 1, "scheme": "http", "posting_address": "test@example.org", "autoresponse_postings_text": - "", "created_at": "2015-02-10T12:01:53.953709", "posting_pipeline": "default-posting-pipeline", - "fqdn_listname": "test@example.org", "http_etag": "\"e05ce718353748e36105700f970ffc099fbe0557\"", - "join_address": "test-join@example.org", "admin_immed_notify": true, "autorespond_requests": - "none", "list_name": "test", "web_host": "example.org", "volume": 1, "advertised": - true, "anonymous_list": false, "default_member_action": "defer", "autorespond_owner": - "none", "convert_html_to_plaintext": false, "digest_size_threshold": 30.0, - "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to": false, - "autoresponse_grace_period": "90d", "owner_address": "test-owner@example.org", - "autorespond_postings": "none", "archive_policy": "public"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:56 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/domains/example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:56 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:58 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.org - response: - body: {string: !!python/unicode '{"http_etag": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", - "url_host": "example.org", "mail_host": "example.org", "description": null, - "base_url": "http://example.org", "contact_address": "postmaster@example.org", - "self_link": "http://localhost:9001/3.0/domains/example.org"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01:58 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:01:58 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"list_name": "test", "volume": 1, "list_id": - "test.example.org", "fqdn_listname": "test@example.org", "self_link": "http://localhost:9001/3.0/lists/test.example.org", - "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "member_count": - 0, "mail_host": "example.org", "display_name": "Test"}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"list_name": "test", "volume": 1, "list_id": - "test.example.org", "fqdn_listname": "test@example.org", "self_link": "http://localhost:9001/3.0/lists/test.example.org", - "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\"", "member_count": - 0, "mail_host": "example.org", "display_name": "Test"}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:01: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:02:00 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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/domains/example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:02:00 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.org - response: - body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.org", - "description": null, "http_etag": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", - "mail_host": "example.org", "url_host": "example.org", "base_url": "http://example.org", - "contact_address": "postmaster@example.org"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:11 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "test.example.org", - "display_name": "Test", "list_name": "test", "fqdn_listname": "test@example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "member_count": - 0, "mail_host": "example.org", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "test.example.org", - "display_name": "Test", "list_name": "test", "fqdn_listname": "test@example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "member_count": - 0, "mail_host": "example.org", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - 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: ['Tue, 10 Feb 2015 13:53: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.0b1'] - 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: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": - true, "autoresponse_owner_text": "", "web_host": "example.org", "http_etag": - "\"1527e2dbfee0ebad5277e865baef8d08adb5be68\"", "no_reply_address": "noreply@example.org", - "posting_address": "test@example.org", "description": "", "allow_list_posts": - true, "administrivia": true, "reply_to_address": "", "last_post_at": null, - "autorespond_requests": "none", "bounces_address": "test-bounces@example.org", - "fqdn_listname": "test@example.org", "welcome_message_uri": "mailman:///welcome.txt", - "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": - false, "default_member_action": "defer", "leave_address": "test-leave@example.org", - "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", - "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": - false, "list_name": "test", "send_welcome_message": true, "autorespond_postings": - "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": - true, "collapse_alternatives": true, "subject_prefix": "[Test] ", "autoresponse_request_text": - "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": - "test-join@example.org", "filter_content": false, "digest_last_sent_at": null, - "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": - "", "created_at": "2015-02-10T13:53:11.297547", "convert_html_to_plaintext": - false, "display_name": "Test", "owner_address": "test-owner@example.org", - "mail_host": "example.org", "request_address": "test-request@example.org"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": - true, "autoresponse_owner_text": "", "web_host": "example.org", "http_etag": - "\"1527e2dbfee0ebad5277e865baef8d08adb5be68\"", "no_reply_address": "noreply@example.org", - "posting_address": "test@example.org", "description": "", "allow_list_posts": - true, "administrivia": true, "reply_to_address": "", "last_post_at": null, - "autorespond_requests": "none", "bounces_address": "test-bounces@example.org", - "fqdn_listname": "test@example.org", "welcome_message_uri": "mailman:///welcome.txt", - "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": - false, "default_member_action": "defer", "leave_address": "test-leave@example.org", - "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", - "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": - false, "list_name": "test", "send_welcome_message": true, "autorespond_postings": - "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": - true, "collapse_alternatives": true, "subject_prefix": "[Test] ", "autoresponse_request_text": - "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": - "test-join@example.org", "filter_content": false, "digest_last_sent_at": null, - "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": - "", "created_at": "2015-02-10T13:53:11.297547", "convert_html_to_plaintext": - false, "display_name": "Test", "owner_address": "test-owner@example.org", - "mail_host": "example.org", "request_address": "test-request@example.org"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": - true, "autoresponse_owner_text": "", "web_host": "example.org", "http_etag": - "\"1527e2dbfee0ebad5277e865baef8d08adb5be68\"", "no_reply_address": "noreply@example.org", - "posting_address": "test@example.org", "description": "", "allow_list_posts": - true, "administrivia": true, "reply_to_address": "", "last_post_at": null, - "autorespond_requests": "none", "bounces_address": "test-bounces@example.org", - "fqdn_listname": "test@example.org", "welcome_message_uri": "mailman:///welcome.txt", - "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": - false, "default_member_action": "defer", "leave_address": "test-leave@example.org", - "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", - "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": - false, "list_name": "test", "send_welcome_message": true, "autorespond_postings": - "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": - true, "collapse_alternatives": true, "subject_prefix": "[Test] ", "autoresponse_request_text": - "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": - "test-join@example.org", "filter_content": false, "digest_last_sent_at": null, - "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": - "", "created_at": "2015-02-10T13:53:11.297547", "convert_html_to_plaintext": - false, "display_name": "Test", "owner_address": "test-owner@example.org", - "mail_host": "example.org", "request_address": "test-request@example.org"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org/config - response: - body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": - true, "autoresponse_owner_text": "", "web_host": "example.org", "http_etag": - "\"1527e2dbfee0ebad5277e865baef8d08adb5be68\"", "no_reply_address": "noreply@example.org", - "posting_address": "test@example.org", "description": "", "allow_list_posts": - true, "administrivia": true, "reply_to_address": "", "last_post_at": null, - "autorespond_requests": "none", "bounces_address": "test-bounces@example.org", - "fqdn_listname": "test@example.org", "welcome_message_uri": "mailman:///welcome.txt", - "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": - false, "default_member_action": "defer", "leave_address": "test-leave@example.org", - "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", - "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": - false, "list_name": "test", "send_welcome_message": true, "autorespond_postings": - "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": - true, "collapse_alternatives": true, "subject_prefix": "[Test] ", "autoresponse_request_text": - "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": - "test-join@example.org", "filter_content": false, "digest_last_sent_at": null, - "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": - "", "created_at": "2015-02-10T13:53:11.297547", "convert_html_to_plaintext": - false, "display_name": "Test", "owner_address": "test-owner@example.org", - "mail_host": "example.org", "request_address": "test-request@example.org"}'} - headers: - content-length: ['1593'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/domains/example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:15 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.org - response: - body: {string: !!python/unicode '{"self_link": "http://localhost:9001/3.0/domains/example.org", - "description": null, "http_etag": "\"730f23a7a90aecfe1248f952d15bcfe97ce9e51f\"", - "mail_host": "example.org", "url_host": "example.org", "base_url": "http://example.org", - "contact_address": "postmaster@example.org"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:15 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:15 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "test.example.org", - "display_name": "Test", "list_name": "test", "fqdn_listname": "test@example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "member_count": - 0, "mail_host": "example.org", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "test.example.org", - "display_name": "Test", "list_name": "test", "fqdn_listname": "test@example.org", - "self_link": "http://localhost:9001/3.0/lists/test.example.org", "member_count": - 0, "mail_host": "example.org", "http_etag": "\"bdbe0068d985e63808436177de1063200d586b0d\""}'} - headers: - content-length: ['299'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/test@example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/domains/example.org - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:18 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 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 283f022..47b05a8 100644 --- a/src/postorius/tests/fixtures/vcr_cassettes/test_list_summary.yaml +++ b/src/postorius/tests/fixtures/vcr_cassettes/test_list_summary.yaml @@ -9,11 +9,11 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:52 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -25,14 +25,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:52 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -44,14 +43,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:52 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -67,7 +65,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:52 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -80,14 +78,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:53 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -104,7 +103,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:53 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -121,7 +120,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:53 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -138,7 +137,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:53 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -150,29 +149,30 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com/config response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", - "no_reply_address": "noreply@example.com", "created_at": "2015-02-09T22:14:52.876612", - "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": - "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", - "send_welcome_message": true, "http_etag": "\"7f235168db59bcec32893df87db49c7de748e804\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "foo-request@example.com", "filter_content": false, - "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} + body: {string: !!python/unicode '{"autoresponse_grace_period": "90d", "posting_pipeline": + "default-posting-pipeline", "default_member_action": "defer", "list_name": + "foo", "send_welcome_message": true, "digest_last_sent_at": null, "mail_host": + "example.com", "volume": 1, "no_reply_address": "noreply@example.com", "autoresponse_owner_text": + "", "anonymous_list": false, "admin_immed_notify": true, "reply_to_address": + "", "join_address": "foo-join@example.com", "request_address": "foo-request@example.com", + "digest_size_threshold": 30.0, "autorespond_requests": "none", "welcome_message_uri": + "mailman:///welcome.txt", "acceptable_aliases": [], "leave_address": "foo-leave@example.com", + "archive_policy": "public", "admin_notify_mchanges": false, "administrivia": + true, "scheme": "http", "subject_prefix": "[Foo] ", "filter_content": false, + "last_post_at": null, "owner_address": "foo-owner@example.com", "http_etag": + "\"ae148e8cbf45bf81f5d4ff5bc2fd4905dd1bd8f1\"", "autoresponse_postings_text": + "", "description": "", "autorespond_owner": "none", "bounces_address": "foo-bounces@example.com", + "allow_list_posts": true, "include_rfc2369_headers": true, "collapse_alternatives": + true, "autoresponse_request_text": "", "advertised": true, "web_host": "example.com", + "display_name": "Foo", "fqdn_listname": "foo@example.com", "next_digest_number": + 1, "created_at": "2015-04-14T14:06:51.274477", "autorespond_postings": "none", + "convert_html_to_plaintext": false, "post_id": 1, "first_strip_reply_to": + false, "default_nonmember_action": "hold", "reply_goes_to_list": "no_munging", + "posting_address": "foo@example.com"}'} headers: content-length: ['1583'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:53 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -184,16 +184,16 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists response: - body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", - "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], - "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": - 1}'} + body: {string: !!python/unicode '{"entries": [{"member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo", "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}], "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "total_size": 1}'} headers: content-length: ['399'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:53 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -205,14 +205,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:53 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -227,7 +228,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:53 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} - request: @@ -240,11 +241,11 @@ method: !!python/unicode 'POST' uri: http://localhost:9001/3.0/domains response: - body: {string: !!python/unicode 'Domain exists'} + body: {string: !!python/unicode 'Duplicate email host: example.com'} headers: - content-length: ['13'] + content-length: ['33'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:53 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 400, message: Bad Request} - request: @@ -256,14 +257,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:53 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -275,14 +275,13 @@ 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} + body: {string: !!python/unicode '{"description": null, "base_url": "http://example.com", + "url_host": "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com", + "mail_host": "example.com", "http_etag": "\"e736411818ff1815ca83575e0958c38c5188f0a4\""}'} headers: - content-length: ['278'] + content-length: ['233'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:53 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -298,7 +297,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14:53 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] location: ['http://localhost:9001/3.0/lists/foo.example.com'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 201, message: Created} @@ -311,14 +310,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:53 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -335,7 +335,7 @@ headers: content-length: ['90'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:53 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -347,29 +347,30 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo@example.com/config response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", - "no_reply_address": "noreply@example.com", "created_at": "2015-02-09T22:14:53.518869", - "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": - "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", - "send_welcome_message": true, "http_etag": "\"40b456d5c5176df983fa91eff5f7bad744d92963\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "foo-request@example.com", "filter_content": false, - "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} + body: {string: !!python/unicode '{"autoresponse_grace_period": "90d", "posting_pipeline": + "default-posting-pipeline", "default_member_action": "defer", "list_name": + "foo", "send_welcome_message": true, "digest_last_sent_at": null, "mail_host": + "example.com", "volume": 1, "no_reply_address": "noreply@example.com", "autoresponse_owner_text": + "", "anonymous_list": false, "admin_immed_notify": true, "reply_to_address": + "", "join_address": "foo-join@example.com", "request_address": "foo-request@example.com", + "digest_size_threshold": 30.0, "autorespond_requests": "none", "welcome_message_uri": + "mailman:///welcome.txt", "acceptable_aliases": [], "leave_address": "foo-leave@example.com", + "archive_policy": "public", "admin_notify_mchanges": false, "administrivia": + true, "scheme": "http", "subject_prefix": "[Foo] ", "filter_content": false, + "last_post_at": null, "owner_address": "foo-owner@example.com", "http_etag": + "\"c552f3b735ff3aae5ff36402dc4a74178b49167c\"", "autoresponse_postings_text": + "", "description": "", "autorespond_owner": "none", "bounces_address": "foo-bounces@example.com", + "allow_list_posts": true, "include_rfc2369_headers": true, "collapse_alternatives": + true, "autoresponse_request_text": "", "advertised": true, "web_host": "example.com", + "display_name": "Foo", "fqdn_listname": "foo@example.com", "next_digest_number": + 1, "created_at": "2015-04-14T14:06:51.727106", "autorespond_postings": "none", + "convert_html_to_plaintext": false, "post_id": 1, "first_strip_reply_to": + false, "default_nonmember_action": "hold", "reply_goes_to_list": "no_munging", + "posting_address": "foo@example.com"}'} headers: content-length: ['1583'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:53 GMT'] + date: ['Tue, 14 Apr 2015 14:06:51 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -381,16 +382,16 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists response: - body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", - "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], - "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": - 1}'} + body: {string: !!python/unicode '{"entries": [{"member_count": 0, "list_name": + "foo", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "display_name": + "Foo", "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}], "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", + "total_size": 1}'} headers: content-length: ['399'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:54 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -402,14 +403,15 @@ method: !!python/unicode 'GET' uri: http://localhost:9001/3.0/lists/foo.example.com response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} + body: {string: !!python/unicode '{"member_count": 0, "list_name": "foo", "self_link": + "http://localhost:9001/3.0/lists/foo.example.com", "display_name": "Foo", + "list_id": "foo.example.com", "fqdn_listname": "foo@example.com", "volume": + 1, "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "mail_host": + "example.com"}'} headers: content-length: ['294'] content-type: [application/json; charset=utf-8] - date: ['Mon, 09 Feb 2015 22:14:54 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 200, message: OK} - request: @@ -424,1719 +426,7 @@ body: {string: !!python/unicode ''} headers: content-length: ['0'] - date: ['Mon, 09 Feb 2015 22:14: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:45 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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:45 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:45 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:45 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:45 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - 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: ['Tue, 10 Feb 2015 11:30:45 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - 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: ['Tue, 10 Feb 2015 11:30:45 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - 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: ['Tue, 10 Feb 2015 11:30:45 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", - "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:30:45.497818", - "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": - "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", - "send_welcome_message": true, "http_etag": "\"5531cac6bf9d3f3c4bb7c181b01bf6f1532c20ed\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "foo-request@example.com", "filter_content": false, - "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1583'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:45 GMT'] - server: [WSGIServer/0.2 CPython/3.4.2] - status: {code: 200, message: OK} -- request: - body: null - headers: - accept-encoding: ['gzip, deflate'] - !!python/unicode 'authorization': [!!python/unicode 'Basic cmVzdGFkbWluOnJlc3RwYXNz'] - !!python/unicode 'user-agent': [!!python/unicode 'GNU Mailman REST client v1.0.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", - "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], - "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": - 1}'} - headers: - content-length: ['399'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30:46 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30:46 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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", - "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:30:46.851535", - "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": - "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", - "send_welcome_message": true, "http_etag": "\"f5b42823958e5c690ae7f79a20930d2016b904c4\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "foo-request@example.com", "filter_content": false, - "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1583'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", - "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], - "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": - 1}'} - headers: - content-length: ['399'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:30: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:36 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", - "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:38:36.749077", - "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": - "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", - "send_welcome_message": true, "http_etag": "\"1b71212bc907c6f7de2b691c04ff18a415dcb980\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "foo-request@example.com", "filter_content": false, - "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1583'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", - "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], - "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": - 1}'} - headers: - content-length: ['399'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:38 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38:38 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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "contact_address": "postmaster@example.com", "description": null, "url_host": - "example.com", "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - 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: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com/config - response: - body: {string: !!python/unicode '{"autoresponse_owner_text": "", "include_rfc2369_headers": - true, "join_address": "foo-join@example.com", "scheme": "http", "last_post_at": - null, "admin_notify_mchanges": false, "autorespond_postings": "none", "owner_address": - "foo-owner@example.com", "archive_policy": "public", "mail_host": "example.com", - "no_reply_address": "noreply@example.com", "created_at": "2015-02-10T11:38:38.836202", - "posting_pipeline": "default-posting-pipeline", "display_name": "Foo", "leave_address": - "foo-leave@example.com", "fqdn_listname": "foo@example.com", "autoresponse_request_text": - "", "volume": 1, "web_host": "example.com", "bounces_address": "foo-bounces@example.com", - "send_welcome_message": true, "http_etag": "\"a6c932b97af8db0710c315e3de3a0ed37b908af7\"", - "description": "", "welcome_message_uri": "mailman:///welcome.txt", "posting_address": - "foo@example.com", "acceptable_aliases": [], "next_digest_number": 1, "autoresponse_postings_text": - "", "default_member_action": "defer", "default_nonmember_action": "hold", - "reply_to_address": "", "convert_html_to_plaintext": false, "list_name": "foo", - "autorespond_requests": "none", "advertised": true, "post_id": 1, "anonymous_list": - false, "reply_goes_to_list": "no_munging", "digest_last_sent_at": null, "digest_size_threshold": - 30.0, "request_address": "foo-request@example.com", "filter_content": false, - "subject_prefix": "[Foo] ", "collapse_alternatives": true, "autoresponse_grace_period": - "90d", "admin_immed_notify": true, "first_strip_reply_to": false, "administrivia": - true, "allow_list_posts": true, "autorespond_owner": "none"}'} - headers: - content-length: ['1583'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"entries": [{"fqdn_listname": "foo@example.com", - "display_name": "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": - "example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "volume": 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], - "start": 0, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", "total_size": - 1}'} - headers: - content-length: ['399'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"fqdn_listname": "foo@example.com", "display_name": - "Foo", "member_count": 0, "list_id": "foo.example.com", "mail_host": "example.com", - "self_link": "http://localhost:9001/3.0/lists/foo.example.com", "volume": - 1, "list_name": "foo", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 11:38: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 11:38:40 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:02: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:02: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com/config - response: - body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": - "hold", "bounces_address": "foo-bounces@example.com", "send_welcome_message": - true, "description": "", "reply_to_address": "", "autoresponse_request_text": - "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": - true, "request_address": "foo-request@example.com", "administrivia": true, - "include_rfc2369_headers": true, "no_reply_address": "noreply@example.com", - "display_name": "Foo", "filter_content": false, "acceptable_aliases": [], - "leave_address": "foo-leave@example.com", "autoresponse_owner_text": "", "post_id": - 1, "reply_goes_to_list": "no_munging", "mail_host": "example.com", "digest_last_sent_at": - null, "subject_prefix": "[Foo] ", "next_digest_number": 1, "scheme": "http", - "posting_address": "foo@example.com", "autoresponse_postings_text": "", "created_at": - "2015-02-10T12:02:06.875156", "posting_pipeline": "default-posting-pipeline", - "fqdn_listname": "foo@example.com", "http_etag": "\"11450fd33021609257de9c1d1b87e33328f637b7\"", - "join_address": "foo-join@example.com", "admin_immed_notify": true, "autorespond_requests": - "none", "list_name": "foo", "web_host": "example.com", "volume": 1, "advertised": - true, "anonymous_list": false, "default_member_action": "defer", "autorespond_owner": - "none", "convert_html_to_plaintext": false, "digest_size_threshold": 30.0, - "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to": false, - "autoresponse_grace_period": "90d", "owner_address": "foo-owner@example.com", - "autorespond_postings": "none", "archive_policy": "public"}'} - headers: - content-length: ['1583'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", - "entries": [{"list_name": "foo", "volume": 1, "list_id": "foo.example.com", - "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}], "start": 0}'} - headers: - content-length: ['399'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/domains/example.com - response: - body: {string: !!python/unicode '{"http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "url_host": "example.com", "mail_host": "example.com", "description": null, - "base_url": "http://example.com", "contact_address": "postmaster@example.com", - "self_link": "http://localhost:9001/3.0/domains/example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - 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: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com/config - response: - body: {string: !!python/unicode '{"collapse_alternatives": true, "default_nonmember_action": - "hold", "bounces_address": "foo-bounces@example.com", "send_welcome_message": - true, "description": "", "reply_to_address": "", "autoresponse_request_text": - "", "last_post_at": null, "admin_notify_mchanges": false, "allow_list_posts": - true, "request_address": "foo-request@example.com", "administrivia": true, - "include_rfc2369_headers": true, "no_reply_address": "noreply@example.com", - "display_name": "Foo", "filter_content": false, "acceptable_aliases": [], - "leave_address": "foo-leave@example.com", "autoresponse_owner_text": "", "post_id": - 1, "reply_goes_to_list": "no_munging", "mail_host": "example.com", "digest_last_sent_at": - null, "subject_prefix": "[Foo] ", "next_digest_number": 1, "scheme": "http", - "posting_address": "foo@example.com", "autoresponse_postings_text": "", "created_at": - "2015-02-10T12:02:09.829929", "posting_pipeline": "default-posting-pipeline", - "fqdn_listname": "foo@example.com", "http_etag": "\"56f8757198495403f365724dde7b3f913677110c\"", - "join_address": "foo-join@example.com", "admin_immed_notify": true, "autorespond_requests": - "none", "list_name": "foo", "web_host": "example.com", "volume": 1, "advertised": - true, "anonymous_list": false, "default_member_action": "defer", "autorespond_owner": - "none", "convert_html_to_plaintext": false, "digest_size_threshold": 30.0, - "welcome_message_uri": "mailman:///welcome.txt", "first_strip_reply_to": false, - "autoresponse_grace_period": "90d", "owner_address": "foo-owner@example.com", - "autorespond_postings": "none", "archive_policy": "public"}'} - headers: - content-length: ['1583'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"total_size": 1, "http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", - "entries": [{"list_name": "foo", "volume": 1, "list_id": "foo.example.com", - "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}], "start": 0}'} - headers: - content-length: ['399'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"list_name": "foo", "volume": 1, "list_id": - "foo.example.com", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\"", "member_count": - 0, "mail_host": "example.com", "display_name": "Foo"}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 12:02: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:26 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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:26 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:26 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - 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: ['Tue, 10 Feb 2015 13:53: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.0b1'] - 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: ['Tue, 10 Feb 2015 13:53: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.0b1'] - 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: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com/config - response: - body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": - true, "autoresponse_owner_text": "", "web_host": "example.com", "http_etag": - "\"754ab9c4edf12f4eb38c8271307bfebc91a62bc7\"", "no_reply_address": "noreply@example.com", - "posting_address": "foo@example.com", "description": "", "allow_list_posts": - true, "administrivia": true, "reply_to_address": "", "last_post_at": null, - "autorespond_requests": "none", "bounces_address": "foo-bounces@example.com", - "fqdn_listname": "foo@example.com", "welcome_message_uri": "mailman:///welcome.txt", - "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": - false, "default_member_action": "defer", "leave_address": "foo-leave@example.com", - "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", - "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": - false, "list_name": "foo", "send_welcome_message": true, "autorespond_postings": - "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": - true, "collapse_alternatives": true, "subject_prefix": "[Foo] ", "autoresponse_request_text": - "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": - "foo-join@example.com", "filter_content": false, "digest_last_sent_at": null, - "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": - "", "created_at": "2015-02-10T13:53:26.053210", "convert_html_to_plaintext": - false, "display_name": "Foo", "owner_address": "foo-owner@example.com", "mail_host": - "example.com", "request_address": "foo-request@example.com"}'} - headers: - content-length: ['1583'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", - "entries": [{"volume": 1, "list_id": "foo.example.com", "display_name": "Foo", - "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "member_count": 0, "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], - "start": 0, "total_size": 1}'} - headers: - content-length: ['399'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/domains - response: - body: {string: !!python/unicode 'Domain exists'} - headers: - content-length: ['13'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - 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, "http_etag": "\"40f27b0d07b71e91cc08047b8171e2b0bb1d5967\"", - "mail_host": "example.com", "url_host": "example.com", "base_url": "http://example.com", - "contact_address": "postmaster@example.com"}'} - headers: - content-length: ['278'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53:29 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.0b1'] - method: !!python/unicode 'POST' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:29 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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - 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: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo@example.com/config - response: - body: {string: !!python/unicode '{"digest_size_threshold": 30.0, "advertised": - true, "autoresponse_owner_text": "", "web_host": "example.com", "http_etag": - "\"c839bcb0a0f5d621d57bd297f91e04647a370586\"", "no_reply_address": "noreply@example.com", - "posting_address": "foo@example.com", "description": "", "allow_list_posts": - true, "administrivia": true, "reply_to_address": "", "last_post_at": null, - "autorespond_requests": "none", "bounces_address": "foo-bounces@example.com", - "fqdn_listname": "foo@example.com", "welcome_message_uri": "mailman:///welcome.txt", - "autoresponse_grace_period": "90d", "autorespond_owner": "none", "admin_notify_mchanges": - false, "default_member_action": "defer", "leave_address": "foo-leave@example.com", - "acceptable_aliases": [], "posting_pipeline": "default-posting-pipeline", - "next_digest_number": 1, "archive_policy": "public", "first_strip_reply_to": - false, "list_name": "foo", "send_welcome_message": true, "autorespond_postings": - "none", "scheme": "http", "default_nonmember_action": "hold", "admin_immed_notify": - true, "collapse_alternatives": true, "subject_prefix": "[Foo] ", "autoresponse_request_text": - "", "post_id": 1, "reply_goes_to_list": "no_munging", "volume": 1, "join_address": - "foo-join@example.com", "filter_content": false, "digest_last_sent_at": null, - "include_rfc2369_headers": true, "anonymous_list": false, "autoresponse_postings_text": - "", "created_at": "2015-02-10T13:53:29.815355", "convert_html_to_plaintext": - false, "display_name": "Foo", "owner_address": "foo-owner@example.com", "mail_host": - "example.com", "request_address": "foo-request@example.com"}'} - headers: - content-length: ['1583'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists - response: - body: {string: !!python/unicode '{"http_etag": "\"0eb6d0b88c89b5c491b7966eab97a79e221096ad\"", - "entries": [{"volume": 1, "list_id": "foo.example.com", "display_name": "Foo", - "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": "http://localhost:9001/3.0/lists/foo.example.com", - "member_count": 0, "mail_host": "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}], - "start": 0, "total_size": 1}'} - headers: - content-length: ['399'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'GET' - uri: http://localhost:9001/3.0/lists/foo.example.com - response: - body: {string: !!python/unicode '{"volume": 1, "list_id": "foo.example.com", "display_name": - "Foo", "list_name": "foo", "fqdn_listname": "foo@example.com", "self_link": - "http://localhost:9001/3.0/lists/foo.example.com", "member_count": 0, "mail_host": - "example.com", "http_etag": "\"698a819bbb6b902096a8c5543cc7fac2328960d5\""}'} - headers: - content-length: ['294'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 10 Feb 2015 13:53: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.0b1'] - method: !!python/unicode 'DELETE' - uri: http://localhost:9001/3.0/lists/foo@example.com - response: - body: {string: !!python/unicode ''} - headers: - content-length: ['0'] - date: ['Tue, 10 Feb 2015 13:53:32 GMT'] + date: ['Tue, 14 Apr 2015 14:06:52 GMT'] server: [WSGIServer/0.2 CPython/3.4.2] status: {code: 204, message: No Content} version: 1 diff --git a/src/postorius/tests/mailman_api_tests/__init__.py b/src/postorius/tests/mailman_api_tests/__init__.py index 8bca601..da86cfa 100644 --- a/src/postorius/tests/mailman_api_tests/__init__.py +++ b/src/postorius/tests/mailman_api_tests/__init__.py @@ -14,3 +14,18 @@ # # You should have received a copy of the GNU General Public License along with # Postorius. If not, see . +from __future__ import ( + absolute_import, division, print_function, unicode_literals) + +__metaclass__ = type + + +from urllib2 import HTTPError + +from postorius.tests import MM_VCR +from postorius.utils import get_client + + +API_CREDENTIALS = {'MAILMAN_API_URL': 'http://localhost:9001', + 'MAILMAN_USER': 'restadmin', + 'MAILMAN_PASS': 'restpass'} diff --git a/src/postorius/tests/mailman_api_tests/test_archival_options.py b/src/postorius/tests/mailman_api_tests/test_archival_options.py new file mode 100644 index 0000000..5974087 --- /dev/null +++ b/src/postorius/tests/mailman_api_tests/test_archival_options.py @@ -0,0 +1,168 @@ +# -*- coding: utf-8 -*- +# Copyright (C) 2012-2015 by the Free Software Foundation, Inc. +# +# This file is part of Postorius. +# +# Postorius is free software: you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free +# Software Foundation, either version 3 of the License, or (at your option) +# any later version. +# Postorius is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License along with +# Postorius. If not, see . +"""Tests for Archival Options""" + + +from __future__ import ( + absolute_import, division, print_function, unicode_literals) + +__metaclass__ = type + + +import mock +import logging + +from django.contrib.auth.models import User +from django.core.urlresolvers import reverse +from django.test import Client, RequestFactory, TestCase +from django.test.utils import override_settings +from urllib2 import HTTPError + +from postorius.forms import ListArchiverForm +from postorius.tests import MM_VCR +from postorius.tests.mailman_api_tests import API_CREDENTIALS +from postorius.utils import get_client +from postorius.views.list import _add_archival_messages + + +logger = logging.getLogger(__name__) +vcr_log = logging.getLogger('vcr') +vcr_log.setLevel(logging.WARNING) + + +@override_settings(**API_CREDENTIALS) +class ArchivalOptionsAccessTest(TestCase): + + @MM_VCR.use_cassette('archival_options.yaml') + def setUp(self): + # Create domain `example.com` in Mailman + try: + example_com = get_client().create_domain('example.com') + except HTTPError: + example_com = get_client().get_domain('example.com') + self.m_list = example_com.create_list('test_list') + self.test_user = User.objects.create_user( + 'test_user', 'test_user@example.com', 'pwd') + self.test_superuser = User.objects.create_superuser( + 'test_superuser', 'test_superuser@example.com', 'pwd') + + @MM_VCR.use_cassette('archival_options.yaml') + def tearDown(self): + self.test_user.delete() + self.test_superuser.delete() + self.m_list.delete() + + @MM_VCR.use_cassette('archival_options.yaml') + def test_no_access_for_unauthenticated_user(self): + response = self.client.get(reverse('list_archival_options', + args=('test_list.example.com', ))) + self.assertEqual(response.status_code, 403) + + @MM_VCR.use_cassette('archival_options.yaml') + def test_no_access_for_unauthenticated_user(self): + self.client.login(username=self.test_superuser.username, + password='pwd') + response = self.client.get(reverse('list_archival_options', + args=('test_list.example.com', ))) + self.assertEqual(response.status_code, 200) + + +@override_settings(**API_CREDENTIALS) +class ArchivalOptions(TestCase): + + @MM_VCR.use_cassette('test_list_archival_options.yaml') + def setUp(self): + # Create domain `example.com` in Mailman. + try: + example_com = get_client().create_domain('example.com') + except HTTPError: + example_com = get_client().get_domain('example.com') + self.m_list = example_com.create_list('test_list') + self.test_user = User.objects.create_user( + 'test_user', 'test_user@example.com', 'pwd') + self.test_superuser = User.objects.create_superuser( + 'test_superuser', 'test_superuser@example.com', 'pwd') + self.client.login(username=self.test_superuser.username, + password='pwd') + + @MM_VCR.use_cassette('test_list_archival_options.yaml') + def tearDown(self): + self.test_user.delete() + self.test_superuser.delete() + self.m_list.delete() + + @MM_VCR.use_cassette('test_list_archival_options.yaml') + def test_context_contains_list_archivers(self): + response = self.client.get(reverse('list_archival_options', + args=('test_list.example.com', ))) + self.assertTrue('archivers' in response.context) + + @MM_VCR.use_cassette('test_list_archival_options.yaml') + def test_context_contains_the_right_form(self): + response = self.client.get(reverse('list_archival_options', + args=('test_list.example.com', ))) + self.assertEqual(type(response.context['form']), ListArchiverForm) + + def test_post_data_is_correctly_processed(self): + with MM_VCR.use_cassette('test_list_archival_options.yaml'): + archivers = self.m_list.archivers + # Archiver is enabled by default. + self.assertTrue(archivers['mail-archive']) + + with MM_VCR.use_cassette('test_list_archival_options_disable_archiver.yaml'): + # Archiver is disabled after it's deactivated in the form. + response = self.client.post( + reverse('list_archival_options', args=('test_list.example.com', )), + {'archivers': ['mhonarc', 'prototype']}) + self.assertFalse(self.m_list.archivers['mail-archive']) + + with MM_VCR.use_cassette('test_list_archival_options_enable_archiver.yaml'): + # Archiver is disabled after it's deactivated in the form. + response = self.client.post( + reverse('list_archival_options', args=('test_list.example.com', )), + {'archivers': ['mail-archive']}) + self.assertTrue(self.m_list.archivers['mail-archive']) + + +class ArchivalMessagesTest(TestCase): + """ + Tests the ``_add_archival_messages`` helper method. + """ + + def setUp(self): + factory = RequestFactory() + self.request = factory.get('/') + + @mock.patch('django.contrib.messages.success') + @mock.patch('django.contrib.messages.warning') + def test_warning_messages(self, mock_warning, mock_success): + # foo-archiver enabled, but not stored adds warning message. + _add_archival_messages(['foo-archiver'], [], {'foo-archiver': False}, self.request) + self.assertTrue('could not be enabled' in mock_warning.call_args[0][1]) + self.assertTrue('foo-archiver' in mock_warning.call_args[0][1]) + # messages.success should not have been called. + self.assertEqual(mock_success.call_count, 0) + + @mock.patch('django.contrib.messages.success') + @mock.patch('django.contrib.messages.warning') + def test_success_messages(self, mock_warning, mock_success): + # foo-archiver enabled and stored adds success message. + _add_archival_messages(['foo-archiver'], [], {'foo-archiver': True}, self.request) + self.assertTrue('activated new archivers' in mock_success.call_args[0][1]) + self.assertTrue('foo-archiver' in mock_success.call_args[0][1]) + # messages.warning should not have been called. + self.assertEqual(mock_warning.call_count, 0) diff --git a/src/postorius/tests/mailman_api_tests/test_list_members.py b/src/postorius/tests/mailman_api_tests/test_list_members.py index 9bb7984..21884d5 100644 --- a/src/postorius/tests/mailman_api_tests/test_list_members.py +++ b/src/postorius/tests/mailman_api_tests/test_list_members.py @@ -18,7 +18,7 @@ from django.contrib.auth.models import User from django.core.urlresolvers import reverse -from django.test import Client, SimpleTestCase +from django.test import Client, TestCase from django.test.utils import override_settings from urllib2 import HTTPError @@ -37,7 +37,7 @@ @override_settings(**API_CREDENTIALS) -class ListMembersAccessTest(SimpleTestCase): +class ListMembersAccessTest(TestCase): """Tests for the list members page. Tests permissions and creation of list owners and moderators. @@ -109,7 +109,7 @@ @override_settings(**API_CREDENTIALS) -class AddOwnerTest(SimpleTestCase): +class AddOwnerTest(TestCase): """Tests for the list members page. Tests creation of list owners. @@ -143,7 +143,7 @@ @override_settings(**API_CREDENTIALS) -class AddModeratorTest(SimpleTestCase): +class AddModeratorTest(TestCase): """Tests for the list members page. Tests creation of moderators. diff --git a/src/postorius/urls.py b/src/postorius/urls.py index c4da4ac..2dfde4d 100644 --- a/src/postorius/urls.py +++ b/src/postorius/urls.py @@ -42,7 +42,7 @@ ListSummaryView.as_view( ), name='list_summary'), url(r'^subscribe$', - ListSubsribeView.as_view( + ListSubscribeView.as_view( ), name='list_subscribe'), url(r'^unsubscribe/(?P[^/]+)$', ListUnsubscribeView.as_view( @@ -51,7 +51,7 @@ 'list_subscriptions', name='list_subscriptions'), url(r'^mass_subscribe/$', - ListMassSubsribeView.as_view( + ListMassSubscribeView.as_view( ), name='mass_subscribe'), url(r'^delete$', 'list_delete', name='list_delete'), @@ -77,13 +77,17 @@ '(?:/(?P.*))?$', 'list_settings', name='list_settings'), + url(r'^archival_options$', + 'list_archival_options', + name='list_archival_options'), ) urlpatterns = patterns( 'postorius.views', (r'^$', 'list_index'), # /account/ - url(r'^accounts/login/$', login_view, {"template_name": "postorius/login.html"}, name='user_login'), + url(r'^accounts/login/$', login_view, + {"template_name": "postorius/login.html"}, name='user_login'), url(r'^accounts/logout/$', 'user_logout', name='user_logout'), url(r'^accounts/profile/$', 'user_profile', name='user_profile'), url(r'^tasks/$', 'user_tasks', name='user_tasks'), diff --git a/src/postorius/views/list.py b/src/postorius/views/list.py index a60d634..a22de29 100644 --- a/src/postorius/views/list.py +++ b/src/postorius/views/list.py @@ -17,20 +17,20 @@ # Postorius. If not, see . import logging -from django.conf import settings from django.contrib import messages from django.contrib.auth.decorators import (login_required, user_passes_test) from django.core.urlresolvers import reverse from django.shortcuts import render_to_response, redirect from django.template import RequestContext +from django.core.validators import validate_email +from django.core.exceptions import ValidationError from django.utils.decorators import method_decorator from django.utils.translation import gettext as _ from urllib2 import HTTPError from postorius import utils -from postorius.models import (Domain, List, MailmanUser, - MailmanApiError) +from postorius.models import (Domain, List, MailmanApiError) from postorius.forms import * from postorius.auth.decorators import * from postorius.views.generic import MailingListView @@ -188,7 +188,7 @@ context_instance=RequestContext(request)) -class ListSubsribeView(MailingListView): +class ListSubscribeView(MailingListView): """Subscribe a mailing list.""" @@ -231,8 +231,7 @@ return redirect('list_summary', self.mailing_list.list_id) -class ListMassSubsribeView(MailingListView): - +class ListMassSubscribeView(MailingListView): """Mass subscription.""" @method_decorator(list_owner_required) @@ -249,22 +248,21 @@ else: emails = request.POST["emails"].splitlines() for email in emails: - parts = email.split('@') - if len(parts) != 2 or '.' not in parts[1]: + try: + validate_email(email) + self.mailing_list.subscribe(address=email) + messages.success( + request, + 'The address %s has been subscribed to %s.' % + (email, self.mailing_list.fqdn_listname)) + except MailmanApiError: + return utils.render_api_error(request) + except HTTPError, e: + messages.error(request, e) + except ValidationError: messages.error(request, 'The email address %s is not valid.' % email) - else: - try: - self.mailing_list.subscribe(address=email) - messages.success( - request, - 'The address %s has been subscribed to %s.' % - (email, self.mailing_list.fqdn_listname)) - except MailmanApiError: - return utils.render_api_error(request) - except HTTPError, e: - messages.error(request, e) return redirect('mass_subscribe', self.mailing_list.list_id) @@ -474,7 +472,7 @@ context_instance=RequestContext(request)) -@list_owner_required +@list_moderator_required def list_held_messages(request, list_id): """Shows a list of held messages. """ @@ -487,7 +485,7 @@ context_instance=RequestContext(request)) -@list_owner_required +@list_moderator_required def accept_held_message(request, list_id, msg_id): """Accepts a held message. """ @@ -503,7 +501,7 @@ return redirect('list_held_messages', the_list.list_id) -@list_owner_required +@list_moderator_required def discard_held_message(request, list_id, msg_id): """Accepts a held message. """ @@ -519,7 +517,7 @@ return redirect('list_held_messages', the_list.list_id) -@list_owner_required +@list_moderator_required def defer_held_message(request, list_id, msg_id): """Accepts a held message. """ @@ -535,7 +533,7 @@ return redirect('list_held_messages', the_list.list_id) -@list_owner_required +@list_moderator_required def reject_held_message(request, list_id, msg_id): """Accepts a held message. """ @@ -659,3 +657,81 @@ {'role': role, 'address': address, 'list_id': the_list.list_id}, context_instance=RequestContext(request)) + + +def _add_archival_messages(to_activate, to_disable, after_submission, + request): + """ + Add feedback messages to session, depending on previously set archivers. + """ + # There are archivers to enable. + if len(to_activate) > 0: + # If the archiver shows up in the data set *after* the update, + # we can show a success message. + activation_postponed = [] + activation_success = [] + for archiver in to_activate: + if after_submission[archiver] == True: + activation_success.append(archiver) + else: + activation_postponed.append(archiver) + # If archivers couldn't be updated, show a message: + if len(activation_postponed) > 0: + messages.warning(request, + _('Some archivers could not be enabled, probably ' + 'because they are not enabled in the Mailman ' + 'configuration. They will be enabled for ' + 'this list, if the archiver is enabled in the ' + 'Mailman configuration. {0}.' + ''.format(', '.join(activation_postponed)))) + if len(activation_success) > 0: + messages.success(request, + _('You activated new archivers for this list: ' + '{0}'.format(', '.join(activation_success)))) + # There are archivers to disable. + if len(to_disable) > 0: + messages.success(request, + _('You disabled the following archivers: ' + '{0}'.format(', '.join(to_disable)))) + + +@list_owner_required +def list_archival_options(request, list_id): + """ + Activate or deactivate list archivers. + """ + # Get the list and cache the archivers property. + m_list = utils.get_client().get_list(list_id) + archivers = m_list.archivers + + # Process form submission. + if request.method == 'POST': + current = [key for key in archivers.keys() if archivers[key]] + posted = request.POST.getlist('archivers') + + # These should be activated + to_activate = [arc for arc in posted if arc not in current] + for arc in to_activate: + archivers[arc] = True + # These should be disabled + to_disable = [arc for arc in current if arc not in posted and + arc in current] + for arc in to_disable: + archivers[arc] = False + + # Re-cache list of archivers after update. + archivers = m_list.archivers + + # Show success/error messages. + _add_archival_messages(to_activate, to_disable, archivers, request) + + # Instantiate form with current archiver data. + initial = {'archivers': [key for key in archivers.keys() + if archivers[key] is True]} + form = ListArchiverForm(initial=initial, archivers=archivers) + + return render_to_response('postorius/lists/archival_options.html', + {'list': m_list, + 'form': form, + 'archivers': archivers}, + context_instance=RequestContext(request)) diff --git a/src/postorius/views/views.py b/src/postorius/views/views.py deleted file mode 100644 index 1a9ca2d..0000000 --- a/src/postorius/views/views.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 1998-2015 by the Free Software Foundation, Inc. -# -# This file is part of Postorius. -# -# Postorius is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the Free -# Software Foundation, either version 3 of the License, or (at your option) -# any later version. -# -# Postorius is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -# more details. -# -# You should have received a copy of the GNU General Public License along with -# Postorius. If not, see . - - -import re -import sys -import json -import logging - - -from django.conf import settings -from django.contrib import messages -from django.contrib.auth import logout, authenticate, login -from django.contrib.auth.decorators import (login_required, - permission_required, - user_passes_test) -from django.contrib.auth.forms import (AuthenticationForm, PasswordResetForm, - SetPasswordForm, PasswordChangeForm) -from django.contrib.auth.models import User -from django.core.urlresolvers import reverse -from django.http import HttpResponse, HttpResponseRedirect -from django.shortcuts import render_to_response, redirect -from django.template import Context, loader, RequestContext -from django.utils.decorators import method_decorator -from django.utils.translation import gettext as _ -from urllib2 import HTTPError - -from postorius import utils -from postorius.models import (Domain, List, Member, MailmanUser, - MailmanApiError, Mailman404Error) -from postorius.forms import * -from postorius.auth.decorators import * -from postorius.views.generic import MailingListView, MailmanUserView - - -logger = logging.getLogger(__name__) diff --git a/testing/test_settings.py b/testing/test_settings.py index 5cc5f93..155f454 100755 --- a/testing/test_settings.py +++ b/testing/test_settings.py @@ -149,13 +149,6 @@ return email.rsplit('@', 1)[0] BROWSERID_USERNAME_ALGO = username -TEST_RUNNER = 'django_nose.NoseTestSuiteRunner' -NOSE_ARGS = [ - '--with-coverage', - '--cover-package=postorius', - '--cover-erase', - '--cover-html', -] # Set VCR_RECORD_MODE to 'all' to re-record all API responses. # (Remember to use an empty mailman database!) diff --git a/tox.ini b/tox.ini index cf34015..bb2acfd 100644 --- a/tox.ini +++ b/tox.ini @@ -1,37 +1,23 @@ [tox] -envlist = py27-django{1.5,1.6,1.7} +envlist = py27-django{16,17,18} [testenv] usedevelop = True +deps = + -rdev-requirements.txt + django16: Django>=1.6,<1.7 + django17: Django>=1.6,<1.8 + django18: Django==1.8 commands = django-admin.py test --settings=testing.test_settings {posargs:postorius} setenv = PYTHONPATH = {toxinidir} -[base] -deps = - -rdev-requirements.txt - -[testenv:py27-django1.5] -deps = - {[base]deps} - Django<1.6 - -[testenv:py27-django1.6] -deps = - {[base]deps} - Django<1.7 - -[testenv:py27-django1.7] -deps = - {[base]deps} - Django==1.7 - [testenv:record] basepython = python2.7 deps = - {[base]deps} - Django==1.7 + -rdev-requirements.txt + Django==1.8 setenv = PYTHONPATH = {toxinidir} POSTORIUS_VCR_RECORD_MODE = all