[sr-dev] [kamailio/kamailio] lost: resolve geolocation url using POST (#2641)

sergey-safarov notifications at github.com
Tue Feb 16 17:36:08 CET 2021


### Description

According [RFC5985](https://tools.ietf.org/html/rfc5985)
> The POST method is the only method REQUIRED for HELD.  If a LIS
   chooses to support GET or HEAD, it SHOULD consider the kind of
   application doing the GET.

So not all LIS servers support the GET method and only the POST method always present.

Also [rfc6753#section-3.2](https://tools.ietf.org/html/rfc6753#section-3.2)

> An HTTP GET request to a HELD URI produces a HELD response as if the
   following HELD request had been sent using HTTP POST:

     <locationRequest xmlns="urn:ietf:params:xml:ns:geopriv:held">
       <locationType exact="false">
         geodetic civic
       </locationType>
     </locationRequest>

### Expected behavior
Dereference Geolocation URLs using POST method with content according [rfc6753#section-3.2](https://tools.ietf.org/html/rfc6753#section-3.2)


-- 
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/2641
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210216/85917c7f/attachment.htm>


More information about the sr-dev mailing list