check the method type of request info.
if method type of request info is invalid,
CA has to return error code to RI Layer.
Change-Id: Ic34da1c13e63172885a44a114a86f52cbbb34f6f
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4565
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: MyeongGi Jeong <myeong.jeong@samsung.com>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
(cherry picked from commit
f6bc7833c6a07e2c945288a6cccfb64f76b2757c)
Reviewed-on: https://gerrit.iotivity.org/gerrit/4577