def __init__(self, dispatcher=None, check_content_type=True):
self.dispatcher = dispatcher if dispatcher is not Noneelse Dispatcher()<EOL>self.check_content_type = check_content_type<EOL>
:param dispatcher: methods dispatcher
:param check_content_type: if True - content-type must be
    "application/json"
:return: