def asResponse(request):
    return _MemoryResponse(
        b"HTTP/1.1", request.code, request.code_message,
        request.responseHeaders, None, None,
        request._responseBody)
`file_tokenize` is a helper function for :meth:`file_corpus`.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/restapi/testtools.py/asResponse--crossover with--dataset/ETHPy150Open inpho/vsm/vsm/extensions/corpusbuilders/corpusbuilders.py/file_tokenize