201
201
def create_domain(self, mail_host, base_url=None,
202
202
description=None, contact_address=None):
203
204
data = dict(mail_host=mail_host)
205
206
data['base_url'] = base_url
206
207
if description is not None:
207
208
data['description'] = description
210
209
response, content = self._connection.call('domains', data)
211
210
return _Domain(self._connection, response['location'])