356
364
def _fork_project(self, project_name, timeout=50, interval=5):
357
365
path = 'projects/%s/fork' % urlutils.quote(str(project_name), '')
358
366
response = self._api_request('POST', path)
359
369
if response.status not in (200, 201):
360
370
raise errors.InvalidHttpResponse(path, response.text)
361
371
# The response should be valid JSON, but let's ignore it