'Handle DELETE requests when in history mode.
Copy current version of object to versions_container and write a
delete marker before proceeding with original request.
:param req: original request.
:param versions_cont: container where previous versions of the object
are stored.
:param api_version: api version.
:param account_name: account name.
:param object_name: name of object of original request'

def handle_obj_versions_delete_push(self, req, versions_cont, api_version, account_name, container_name, object_name):

    self._copy_current(req, versions_cont, api_version, account_name, object_name)
    marker_path = ('/%s/%s/%s/%s' % (api_version, account_name, versions_cont, self._build_versions_object_name(object_name, time.time())))
    marker_headers = {'content-type': DELETE_MARKER_CONTENT_TYPE, 'content-length': '0', 'x-auth-token': req.headers.get('x-auth-token')}
    marker_req = make_pre_authed_request(req.environ, path=marker_path, headers=marker_headers, method='PUT', swift_source='VW')
    marker_req.environ['swift.content_type_overridden'] = True
    marker_resp = marker_req.get_response(self.app)
    self._check_response_error(req, marker_resp)
    close_if_possible(marker_resp.app_iter)
    return self.app
