Subject: [core] [CoAP] About Location-Query

From: Likepeng <[email-masked]>
Date: Fri, 19 Aug 2011 03:06:16 +0000

Hi Klaus, Zach, and all

I have a question about Location-Query in CoAP-07.

What is the use case for the Location-Query? From the description, it is mainly used in Post response to indicate the location of the new created resource. In this case, there should be a determined location, why should we use query conditions? Location-Path is enough. Another question is ,why can't we reuse URI-Path and URI-Query in this case, instead of using new options?

When I check the change history, Location-Query was added in CoAP-05 based on ticket #113. Ticket #113 was from Klaus and it says: coap-04 inadvertently removed the ability of a server to specify a query string in the Location Option. This can be remedied by defining a new Location-Query Option. But I checked CoAP-03 and the previous versions, there are no Location-Query before.

So I am curious about the motivation to have this option. Can anybody tell me the reason?

Thanks,
Kind Regards
Kepeng