diff options
Diffstat (limited to 'src/local/pager.nim')
-rw-r--r-- | src/local/pager.nim | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim index de990767..c77d724b 100644 --- a/src/local/pager.nim +++ b/src/local/pager.nim @@ -1970,13 +1970,8 @@ proc handleConnectingContainer*(pager: Pager; i: int) = inc item.state # continue of ccsBeforeHeaders: - let response = Response( - res: item.res, - outputId: item.outputId, - status: item.status, - url: container.request.url, - body: stream - ) + let response = newResponse(item.res, container.request, stream, + item.outputId, item.status) var r = stream.initPacketReader() r.sread(response.headers) # done |