This code prevents the occurrence of 501 error when accessing the server with a non-existent method. Change-Id: I1105ed1399f1bcde7f1f970abcad929585fd012e closes-bug: #1470192