From b872259729b92899b84a9eb239b0311fccef2582 Mon Sep 17 00:00:00 2001 From: Mikhail Chechnev Date: Tue, 29 Oct 2019 18:26:02 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BE=D1=85=D1=80=D0=B0=D0=BD=D1=8F?= =?UTF-8?q?=D0=B5=D0=BC=20HTTP-=D1=81=D1=82=D0=B0=D1=82=D1=83=D1=81=20?= =?UTF-8?q?=D1=81=20=D0=B7=D0=B0=D0=B3=D0=BE=D0=BB=D0=BE=D0=B2=D0=BA=D0=B0?= =?UTF-8?q?=D0=BC=D0=B8=20=D0=BF=D1=80=D0=B8=20=D0=BF=D0=BE=D0=BB=D1=83?= =?UTF-8?q?=D1=87=D0=B5=D0=BD=D0=B8=D0=B8=20=D0=BE=D1=82=D0=B2=D0=B5=D1=82?= =?UTF-8?q?=D0=B0=20=D0=BD=D0=B0=20=D0=B8=D1=81=D1=85=D0=BE=D0=B4=D1=8F?= =?UTF-8?q?=D1=89=D0=B5=D0=B5=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/out_queue_processor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/out_queue_processor.js b/core/out_queue_processor.js index 3e8caf8..fdd6091 100644 --- a/core/out_queue_processor.js +++ b/core/out_queue_processor.js @@ -255,8 +255,9 @@ const appProcess = async prms => { blResp: prms.queue.blResp, nIsOriginal: NIS_ORIGINAL_YES }); - //Сохраняем заголовки ответа + //Сохраняем заголовки ответа и HTTP-статус optionsResp.headers = _.cloneDeep(serverResp.headers); + optionsResp.statusCode = serverResp.statusCode; try { let sOptionsResp = buildOptionsXML({ options: optionsResp }); await dbConn.setQueueOptionsResp({ nQueueId: prms.queue.nId, sOptionsResp });