[IOT-1608] Support PUT,POST,DELETE method type for /oic/ping
authorhyuna0213.jo <hyuna0213.jo@samsung.com>
Mon, 28 Nov 2016 08:11:34 +0000 (17:11 +0900)
committerZiran Sun <ziran.sun@samsung.com>
Mon, 28 Nov 2016 10:16:21 +0000 (10:16 +0000)
commit8fcad22a7475a72085e742bbcfd24fa4e99f2abb
treef583a5ce87fe767b0a2db9f43539930fb22a4592
parentbf3a3f25f8bfcdb2508cf0e44d165c8ef6e5d6fe
[IOT-1608] Support PUT,POST,DELETE method type for /oic/ping

If PUT,DELETE methoed type is received for /oic/ping,
HandleKeepAliveRequest() function will respond to remote device
with error code.
bug: https://jira.iotivity.org/browse/IOT-1608

Change-Id: I47d81222cebced3505cafec8eabfe0604c94d8a3
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14835
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
resource/csdk/stack/src/ocresource.c
resource/csdk/stack/src/ocstack.c
resource/csdk/stack/src/oickeepalive.c