def getChildForRequest(resource, request):
    while request.postpath and not resource.isLeaf:
        pathElement = request.postpath.pop(0)
        request.prepath.append(pathElement)
        resource = resource.getChildWithDefault(pathElement, request)
    return resource
If the response headers indicate the response body is encoded with the
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/web/resource.py/getChildForRequest--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/test/test_newclient.py/HTTPClientParserTests.test_chunkedResponseBody