[sr-dev] [kamailio/kamailio] Append_to_reply does not work for XHTTP responses without body (#1548)

Olle E. Johansson notifications at github.com
Tue Jun 12 14:43:13 CEST 2018


Yes, that worked - Happily added the "Reason" header here. So this is a work-around that we may have to document until we have a solution.

```
> GET http://localhost:5060/api/1.0/ping HTTP/1.1
> Host: localhost:5060
> User-Agent: curl/7.52.1
> Accept: */*
> 
< HTTP/1.1 200 Ping pong
< Sia: SIP/2.0/TCP 127.0.0.1:57458
< Reason: Answering ping API request /api/1.0/ping
< Content-Type: text/html
< Content-Length: 0
< Date: Tue, 12 Jun 2018 12:38:41 GMT
< Age: 0

```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1548#issuecomment-396575597
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180612/b6481e3e/attachment.html>


More information about the sr-dev mailing list