IOT 1819: Return URI of new resource in option header. 45/19245/19
authorSoemin Tjong <stjong@microsoft.com>
Tue, 25 Apr 2017 06:33:57 +0000 (23:33 -0700)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Tue, 13 Jun 2017 18:44:18 +0000 (18:44 +0000)
commite313571e8086fbe5953af21cd2b60bc4546bcda5
tree7c27e7829443b386bbca7bb6e0dcc25bdb6adf72
parent7cec2d5b1dbc27adc34b90f2410f7a00310cdbce
IOT 1819: Return URI of new resource in option header.

https://tools.ietf.org/html/rfc7252#section-5.8.2 specifies that the URI
of a new resource created by a server is returned in Location-Path
option.

Change-Id: I358d8ee127a598c2f2fdb8f101413eebbf100a89
Signed-off-by: Soemin Tjong <stjong@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19245
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Todd Malsbary <todd.malsbary@intel.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
14 files changed:
resource/IPCA/src/callback.cpp
resource/IPCA/src/inc/callback.h
resource/IPCA/src/ocfframework.cpp
resource/IPCA/unittests/IPCAElevatorClient.cpp
resource/IPCA/unittests/IPCAElevatorClient.h
resource/IPCA/unittests/ipcatestdata.h
resource/IPCA/unittests/ipcaunittests.cpp
resource/IPCA/unittests/mockOC.cpp
resource/IPCA/unittests/testelevatorserver.cpp
resource/IPCA/unittests/testelevatorserver.h
resource/csdk/connectivity/api/cacommon.h
resource/csdk/include/octypes.h
resource/csdk/stack/src/ocserverrequest.c
resource/src/InProcServerWrapper.cpp