<div dir="ltr">Hi,<br>I've upgraded my opensips from 2.2.x to 2.4 version for testing and rest_client module has different results from older version. <div><br></div><div>If I make a rest_post() query to the URL then the $var(body) contains the whole HTTP message along with the body eg:<br><font face="monospace, monospace"><br></font><div><font face="monospace, monospace">xlog("L_INFO","[XLOG-API] HTTP SERVER Body:$var(body) \n");</font></div><div><br></div><div>Prints: </div><div><br></div><div><font face="monospace, monospace">[XLOG-API] HTTP SERVER Body:HTTP/1.1 200 OK#015#012Date: Wed, 03 Jan 2018 18:56:44 GMT#015#012Content-Type: text/plain;charset=UTF-8#015#012Server: Apache#015#012Content-Length: 4#015#012#015#012PASS</font></div></div><div><br></div><div>While the same line on older version Prints:</div><div><br></div><div><span style="font-family:monospace,monospace">[XLOG-API] HTTP SERVER Body:PASS</span><br></div><div><span style="font-family:monospace,monospace"><br></span></div><div>VERSION:</div><div><div>version: opensips 2.4.0-dev (x86_64/linux)</div><div>flags: STATS: On, SHM_EXTRA_STATS, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, QM_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT</div><div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</div><div>poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.</div><div>git revision: d1a4419</div><div>main.c compiled on 18:03:59 Dec  2 2017 with gcc 4.8</div></div><div><br></div>Kindly advise is there is any discrepancy in my script usage or bug in the backend code.<div><br></div>Regards,<br>Sammy</div>