def convert_post_to_VERB(request, verb):
    if request.method == verb:
        if hasattr(request, '_post'):
            del(request._post)
            del(request._files)

        try:
            request.method = "POST"
            request._load_post_and_files()
            request.method = verb
        except AttributeError:
            request.META['REQUEST_METHOD'] = 'POST'
            request._load_post_and_files()
            request.META['REQUEST_METHOD'] = verb
        setattr(request, verb, request.POST)

    return request
create_server_volume will raise an exception when Cinder attempts to
dataset/ETHPy150Open mozilla/inventory/vendor-local/src/django-tastypie/tastypie/resources.py/convert_post_to_VERB--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/functional/test_cinder.py/VirtIOCinderAttachmentTests.test_disk_attachment_fails_with_conflicting_disk